*fixed a compile issue.
This commit is contained in:
parent
ed798ebc3b
commit
77c056b175
1
HISTORY
1
HISTORY
@ -1,6 +1,7 @@
|
|||||||
Dec. 11 2015
|
Dec. 11 2015
|
||||||
Added an IS statement to detect type equality of a value
|
Added an IS statement to detect type equality of a value
|
||||||
Added support to store a routine in a variable by CALL statement
|
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
|
Fixed a memory leak with GC caused by reference cycle
|
||||||
Finished internal class development
|
Finished internal class development
|
||||||
|
|
||||||
|
@ -1118,6 +1118,7 @@ static char* _extract_string(_object_t* obj);
|
|||||||
#else /* MB_ENABLE_COLLECTION_LIB */
|
#else /* MB_ENABLE_COLLECTION_LIB */
|
||||||
# define _REF_COLL(__o) ((void)(__o));
|
# define _REF_COLL(__o) ((void)(__o));
|
||||||
# define _UNREF_COLL(__o) ((void)(__o));
|
# define _UNREF_COLL(__o) ((void)(__o));
|
||||||
|
# define _ADDGC_COLL(__o, __g) ((void)(__o)); ((void)(__g));
|
||||||
#endif /* MB_ENABLE_COLLECTION_LIB */
|
#endif /* MB_ENABLE_COLLECTION_LIB */
|
||||||
#ifdef MB_ENABLE_CLASS
|
#ifdef MB_ENABLE_CLASS
|
||||||
# define _REF_CLASS(__o) \
|
# define _REF_CLASS(__o) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user