ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/shstr.h
(Generate patch)

Comparing deliantra/server/include/shstr.h (file contents):
Revision 1.36 by root, Tue Nov 10 00:01:31 2009 UTC vs.
Revision 1.37 by root, Tue Nov 10 04:38:45 2009 UTC

42 char string [size]; 42 char string [size];
43}; 43};
44 44
45// this class is a non-refcounted shared string 45// this class is a non-refcounted shared string
46// it cannot be used to create or store shared strings, but 46// it cannot be used to create or store shared strings, but
47// it can be used to apss shared strings around, i.e. as function arguments 47// it can be used to pass shared strings around, i.e. as function arguments
48// or return values. their lifetime must not span a gc () call, i.e. 48// or return values. their lifetime must not span a gc () call, i.e.
49// they are only valid as temporary values within the same server tick. 49// they are only valid as temporary values within the same server tick.
50struct shstr_tmp 50struct shstr_tmp
51{ 51{
52 static shstr_vec<sizeof ("(null)")> nullvec; 52 static shstr_vec<sizeof ("(null)")> nullvec;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines