mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
clean up comments a little
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34083 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8d78f200a2
commit
f42303afe6
1 changed files with 4 additions and 6 deletions
|
@ -837,8 +837,8 @@ fixBOM(unsigned char **bytes, NSUInteger*length, BOOL *owned,
|
|||
&& ((GSStr)string)->_flags.wide == 0))
|
||||
{
|
||||
/*
|
||||
* For a GSCString subclass, and ??ConstantString, or an 8-bit
|
||||
* GSMutableString, we can copy the bytes directly into a GSCString.
|
||||
* For a GSCString subclass, or an 8-bit GSMutableString,
|
||||
* we can copy the bytes directly into a GSCString.
|
||||
*/
|
||||
me = (GSStr)NSAllocateObject(GSCInlineStringClass,
|
||||
length, [self zone]);
|
||||
|
@ -908,7 +908,7 @@ fixBOM(unsigned char **bytes, NSUInteger*length, BOOL *owned,
|
|||
* The following inline functions are used by the concrete string classes
|
||||
* to implement their core functionality.
|
||||
* GSCString uses the functions with the _c suffix.
|
||||
* GSCSubString, GSCInlineString, GSCBufferString, and ??ConstantString
|
||||
* GSCSubString, GSCInlineString, GSCBufferString
|
||||
* inherit methods from GSCString.
|
||||
* GSUnicodeString uses the functions with the _u suffix.
|
||||
* GSUnicodeSubString, GSUnicodeInlineString, and GSUnicodeBufferString
|
||||
|
@ -4956,9 +4956,7 @@ nextUTF8(const uint8_t *p, unsigned l, unsigned *o, unichar *n)
|
|||
* <p>The NXConstantString class is used by the compiler for constant
|
||||
* strings, as such its ivar layout is determined by the compiler
|
||||
* and consists of a pointer (_contents.c) and a character count
|
||||
* (_count). So, while this class inherits GSCString behavior,
|
||||
* the code must make sure not to use any other GSCString GSStr
|
||||
* when accesssing an NXConstantString.</p>
|
||||
* (_count).
|
||||
*/
|
||||
@implementation NXConstantString
|
||||
|
||||
|
|
Loading…
Reference in a new issue