8.4.2.28. memstorage
(packages/opencv/memstorage.lsh)


dummy function that adds OpenCV C header files in C file

8.4.2.28.0. (cvCreateMemStorage bsize)
(packages/opencv/memstorage.lsh)


 /*F///////////////////////////////////////////////////////////////////////////////////////
 //    Name:    cvCreateMemStorage
 //    Purpose: creates memory storage
 //    Context:
 //    Parameters:
 //         block_size - size of memory storage blocks.
 //                      If 0, default size( Currently 64K) is set
 //    Returns:
 //      memory storage
 //F*/
 OPENCVAPI  CvMemStorage*  cvCreateMemStorage( int block_size CV_DEFAULT(0));


8.4.2.28.1. (cvCreateChildMemStorage parent)
(packages/opencv/memstorage.lsh)


 /*F///////////////////////////////////////////////////////////////////////////////////////
 //    Name:    cvCreateChildMemStorage
 //    Purpose: creates child memory storage
 //            (storage that borrows memory blocks from parent)
 //    Context:
 //    Parameters:
 //         parent - parent memory storage
 //    Returns:
 //      memory storage
 //F*/
 OPENCVAPI  CvMemStorage*  cvCreateChildMemStorage( CvMemStorage* parent );


8.4.2.28.2. (cvReleaseMemStorage stor)
(packages/opencv/memstorage.lsh)


 /*F///////////////////////////////////////////////////////////////////////////////////////
 //    Name:    cvReleaseMemStorage
 //    Purpose: releases memory storage.
 //    Context:
 //    Parameters:
 //         storage - double pointer to memory storage
 //    Returns:
 //    Notes:
 //      if memory storage is simple, all its blocks are released,
 //      else(memory storage is child) all its blocks are returned to parent
 //F*/
 OPENCVAPI  void  cvReleaseMemStorage( CvMemStorage** storage );


8.4.2.28.3. (cvClearMemStorage stor)
(packages/opencv/memstorage.lsh)


 /*F///////////////////////////////////////////////////////////////////////////////////////
 //    Name:    cvClearMemStorage
 //    Purpose: clears memory storage.
 //    Context:
 //    Parameters:
 //         storage - memory storage
 //    Returns:
 //    Notes:
 //      if memory storage is is child, all its blocks are returned to parent,
 //      else the top of the storage is reset
 //F*/
 OPENCVAPI  void  cvClearMemStorage( CvMemStorage* storage );


8.4.2.28.4. (cvSaveMemStoragePos stor pos)
(packages/opencv/memstorage.lsh)


 /*F///////////////////////////////////////////////////////////////////////////////////////
 //    Name:    cvSaveMemStoragePos
 //    Purpose: saves current top of the storage.
 //    Context:
 //    Parameters:
 //         storage - memory storage
 //         pos - position structure
 //    Returns:
 //    Notes:
 //F*/
 OPENCVAPI  void  cvSaveMemStoragePos( CvMemStorage* storage, CvMemStoragePos* pos );


8.4.2.28.5. (cvRestoreMemStoragePos stor pos)
(packages/opencv/memstorage.lsh)


 /*F///////////////////////////////////////////////////////////////////////////////////////
 //    Name:    cvRestoreMemStoragePos
 //    Purpose: restores top of the storage.
 //    Context:
 //    Parameters:
 //         storage - memory storage
 //         pos - position structure that was filled with cvSaveMemStoragePos
 //    Returns:
 //    Notes:
 //F*/
 OPENCVAPI  void  cvRestoreMemStoragePos( CvMemStorage* storage, CvMemStoragePos* pos );