]> git.mxchange.org Git - simgear.git/blobdiff - simgear/nasal/code.h
cppbind: automatic conversion of SGReferenced derived pointers.
[simgear.git] / simgear / nasal / code.h
index 3db610773d95e84bd19ab2a2fc6c57017ed0ae20..4ff27afc5885c2b85fa26c5ef9ba08e739f80068 100644 (file)
@@ -62,7 +62,11 @@ struct Globals {
     // A hash of symbol names
     naRef symbols;
 
+    // Vector/hash containing objects which should not be freed by the gc
+    // TODO do we need a separate vector and hash?
     naRef save;
+    naRef save_hash;
+    int next_gc_key;
 
     struct Context* freeContexts;
     struct Context* allContexts;