Our Programmer's Guide says that `context->StringData(obj)`
"returns a read-only pointer to the String object's string data".
Am I correct, that, to be precise, this means, that the data pointed to, *must
not* be modified?
Am I also correct, that the string data returned, *does* have a trailing
NUL character (although this doesn't mean it can be seen as a standard C
string, as the data itself - like any Rexx string - may contain embedded
NUL characters)?
Also, rexxpg documents `context->NewString()` to take one or two args, but
I don't think `obj = context->NewString(str)` works.
On the other hand rexxpg misses documentation for `NewStringFromAsciiz(str)`,
which is used throughout all of our code.
Am I correct, that the former should be removed, and the latter added?
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel