Mercurial > pidgin
comparison src/stringref.h @ 8072:ceb88c0a1abb
[gaim-migrate @ 8770]
the 0-byte-string trick doesn't work on non-gcc compilers.
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sun, 11 Jan 2004 06:10:22 +0000 |
parents | fa6395637e2c |
children | db62420a53a2 |
comparison
equal
deleted
inserted
replaced
8071:4dede940939c | 8072:ceb88c0a1abb |
---|---|
40 * 31 bits, and the high-order bit | 40 * 31 bits, and the high-order bit |
41 * indicates whether this string is up | 41 * indicates whether this string is up |
42 * for GC at the next idle handler... | 42 * for GC at the next idle handler... |
43 * But you aren't going to touch this | 43 * But you aren't going to touch this |
44 * anyway, right? */ | 44 * anyway, right? */ |
45 char value[0]; /**< The string contained in this ref. | 45 char value[1]; /**< The string contained in this ref. |
46 * Notice that it is simply "hanging | 46 * Notice that it is simply "hanging |
47 * off the end" of the ref ... this | 47 * off the end" of the ref ... this |
48 * is to save an allocation. */ | 48 * is to save an allocation. */ |
49 } GaimStringref; | 49 } GaimStringref; |
50 | 50 |