diff options
Diffstat (limited to 'src/tuplr.hpp')
-rw-r--r-- | src/tuplr.hpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/tuplr.hpp b/src/tuplr.hpp index 613be0d..4948b82 100644 --- a/src/tuplr.hpp +++ b/src/tuplr.hpp @@ -138,11 +138,12 @@ typedef void* CFunction; ///< Compiled function (opaque) /*************************************************************************** - * Garbage Collector * + * Garbage Collection * ***************************************************************************/ -struct Object; ///< Object (AST nodes and runtime data) +struct Object; +/// Garbage collector struct GC { enum Tag { TAG_AST = 2, ///< Abstract syntax tree node @@ -160,7 +161,7 @@ private: Roots _roots; }; -/// Dynamic (garbage-collected) object +/// Garbage collected object (including AST and runtime data) struct Object { struct Header { uint8_t mark; |