struct CvMemStorage

Overview

#include <types_c.h>

struct CvMemStorage
{
    // fields

    int block_size;
    CvMemBlock* bottom;
    int free_space;
    struct CvMemStorage* parent;
    int signature;
    CvMemBlock* top;
};

Detailed Documentation

Fields

int block_size

Block size.

CvMemBlock* bottom

First allocated block.

int free_space

Remaining free space in current block.

struct CvMemStorage* parent

We get new blocks from parent as needed.

CvMemBlock* top

Current memory block - top of the stack.