How the Nasal GC works: Difference between revisions

Jump to navigation Jump to search
m
Line 102: Line 102:
<syntaxhighlight lang="C">
<syntaxhighlight lang="C">
enum { T_STR, T_VEC, T_HASH, T_CODE, T_FUNC, T_CCODE, T_GHOST, NUM_NASAL_TYPES }; // V. important that this come last!
enum { T_STR, T_VEC, T_HASH, T_CODE, T_FUNC, T_CCODE, T_GHOST, NUM_NASAL_TYPES }; // V. important that this come last!
</syntaxhighlight>
For example, Globals->pools[T_VEC] refers to the storage pools  for vectors:
<syntaxhighlight lang="C">
Globals->pools[T_VEC];
</syntaxhighlight>
</syntaxhighlight>


Navigation menu