meta/begin: a comment to describe the default heap option
This commit is contained in:
parent
5f2b393c0c
commit
66fba7ec60
|
@ -24,6 +24,7 @@ int metaBegin(SMeta *pMeta, int8_t heap) {
|
||||||
void (*xFree)(void *, void *) = NULL;
|
void (*xFree)(void *, void *) = NULL;
|
||||||
void *xArg = NULL;
|
void *xArg = NULL;
|
||||||
|
|
||||||
|
// default heap to META_BEGIN_HEAP_NIL
|
||||||
if (heap == META_BEGIN_HEAP_OS) {
|
if (heap == META_BEGIN_HEAP_OS) {
|
||||||
xMalloc = tdbDefaultMalloc;
|
xMalloc = tdbDefaultMalloc;
|
||||||
xFree = tdbDefaultFree;
|
xFree = tdbDefaultFree;
|
||||||
|
|
Loading…
Reference in New Issue