X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=nucleus%2Flibrary%2Fstructures%2Fstatic_memory_gremlin.h;fp=nucleus%2Flibrary%2Fstructures%2Fstatic_memory_gremlin.h;h=9ff1d7a50ecd8de5c16530856d58035e512cc26a;hb=7b39f7e279005c8466ef508220a532ce2aa4abf8;hp=e53ee6d935e7bc3859ac893c168f43ad284d5a48;hpb=3fbd372b35b15a19fb171d5ae34294ff7b1e6485;p=feisty_meow.git diff --git a/nucleus/library/structures/static_memory_gremlin.h b/nucleus/library/structures/static_memory_gremlin.h index e53ee6d9..9ff1d7a5 100644 --- a/nucleus/library/structures/static_memory_gremlin.h +++ b/nucleus/library/structures/static_memory_gremlin.h @@ -74,13 +74,13 @@ public: basis::root_object *get(const char *unique_name); //!< locates the pointer held for the "unique_name", if any. - /*!< if no pointer exists, then NIL is returned. NOTE: the returned + /*!< if no pointer exists, then NULL_POINTER is returned. NOTE: the returned pointer must not be destroyed, since the object could be used at any time during the program's lifetime. */ const char *find(const basis::root_object *ptr); //!< locates the name for "ptr" in our objects. - /*!< if it does not exist, then NIL is returned. */ + /*!< if it does not exist, then NULL_POINTER is returned. */ void ensure_space_exists(); /*!< makes sure that the list of objects is large enough to contain all of @@ -162,7 +162,7 @@ recreate any objects that were already toast. */ __FILE__, __LINE__, true); */ \ UNIQUE_NAME_BASED_ON_SOURCE(__uid_name, linenum); \ /* program_wide_memories(); */ \ - static basis::root_object *_hidden = NIL; \ + static basis::root_object *_hidden = NULL_POINTER; \ /* if haven't initialized yet, then definitely need to lock carefully. */ \ if (structures::static_memory_gremlin::__program_is_dying() || !_hidden) { \ basis::auto_synchronizer l(structures::static_memory_gremlin::__memory_gremlin_synchronizer()); \