*fixed a compile issue.

This commit is contained in:
paladin-t 2015-12-11 18:00:18 +08:00
parent ed798ebc3b
commit 77c056b175
2 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,7 @@
Dec. 11 2015
Added an IS statement to detect type equality of a value
Added support to store a routine in a variable by CALL statement
Added GC accessing to fields of a class instance
Fixed a memory leak with GC caused by reference cycle
Finished internal class development

View File

@ -1118,6 +1118,7 @@ static char* _extract_string(_object_t* obj);
#else /* MB_ENABLE_COLLECTION_LIB */
# define _REF_COLL(__o) ((void)(__o));
# define _UNREF_COLL(__o) ((void)(__o));
# define _ADDGC_COLL(__o, __g) ((void)(__o)); ((void)(__g));
#endif /* MB_ENABLE_COLLECTION_LIB */
#ifdef MB_ENABLE_CLASS
# define _REF_CLASS(__o) \