代码注释 #36

Open
Lohax wants to merge 18 commits from Lohax/openGauss-server:master into master
1 changed files with 2 additions and 0 deletions
Showing only changes of commit 2476c078b7 - Show all commits

View File

@ -41,9 +41,11 @@ typedef struct MemoryContextMethods {
void (*init)(MemoryContext context);
void (*reset)(MemoryContext context);
void (*delete_context)(MemoryContext context);
/* Gets the MemoryContext block size*/
Size (*get_chunk_space)(MemoryContext context, void* pointer);
bool (*is_empty)(MemoryContext context);
void (*stats)(MemoryContext context, int level);
/* MemoryContext exception check*/
#ifdef MEMORY_CONTEXT_CHECKING
void (*check)(MemoryContext context);
#endif