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

Comparing deliantra/server/include/cfperl.h (file contents):
Revision 1.112 by root, Wed Nov 11 23:27:57 2009 UTC vs.
Revision 1.113 by root, Mon Nov 16 22:31:14 2009 UTC

452 // skip the current key-value (usually fetch next line, for 452 // skip the current key-value (usually fetch next line, for
453 // multiline-fields, skips till the corresponding end-kw 453 // multiline-fields, skips till the corresponding end-kw
454 MTH void skip (); 454 MTH void skip ();
455 MTH void skip_block (); // skips till and over KW_end 455 MTH void skip_block (); // skips till and over KW_end
456 456
457 char *get_str () { return value; } // may be 0 457 bool has_value () { return value; }
458 const char *get_str () { return value_nn; } // empty string when missing
458 void get_ml (keyword kend, shstr &sh); 459 void get_ml (keyword kend, shstr &sh);
459 460
460 void get_ornull (shstr &sh) const { sh = value; } 461 void get_ornull (shstr &sh) const { sh = value; }
461 void get (shstr &sh) const { sh = value; } // might want to check for non-null here 462 void get (shstr &sh) const { sh = value; } // might want to check for non-null here
462 463

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines