X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=nucleus%2Flibrary%2Fbasis%2Fastring.h;h=5ff890e26e17043b2a48cbdf2ef2988e0233b433;hb=d7e8a05960951d8ce67e36c587726a851e2f5165;hp=810e3dd597ca7fec78624f87a03f91fcd9d32c7f;hpb=fa30e6adff1dea5d6b3903279ef024dd3bed043f;p=feisty_meow.git diff --git a/nucleus/library/basis/astring.h b/nucleus/library/basis/astring.h index 810e3dd5..5ff890e2 100644 --- a/nucleus/library/basis/astring.h +++ b/nucleus/library/basis/astring.h @@ -110,7 +110,7 @@ public: virtual const char *observe() const; //!< observes the underlying pointer to the zero-terminated string. /*!< this does not allow the contents to be modified. this method should - never return NIL. */ + never return NULL_POINTER. */ const char *c_str() const { return observe(); } //!< synonym for observe. mimics the STL method name. const char *s() const { return observe(); } @@ -121,7 +121,7 @@ public: virtual char *access(); //!< provides access to the actual string held. - /*!< this should never return NIL. be very careful with the returned + /*!< this should never return NULL_POINTER. be very careful with the returned pointer: don't destroy or corrupt its contents (e.g., do not mess with its zero termination). */ char *c_str() { return access(); }