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.52 by root, Fri Jan 26 22:06:30 2007 UTC vs.
Revision 1.53 by root, Thu Feb 1 19:15:39 2007 UTC

340 340
341struct object_thawer 341struct object_thawer
342{ 342{
343 SV *text; // text part 343 SV *text; // text part
344 AV *av; // perl part 344 AV *av; // perl part
345 int linenum;
345 char *line; // current beginning of line 346 char *line; // current beginning of line
346 char *last_keyword, *last_value; 347 char *last_keyword, *last_value;
347 const char *name; 348 const char *name;
348 349
349 operator bool () { return !!text; } 350 operator bool () { return !!text; }
377 void get (uint16 &i) { i = get_sint32 (); } 378 void get (uint16 &i) { i = get_sint32 (); }
378 void get (sint32 &i) { i = get_sint32 (); } 379 void get (sint32 &i) { i = get_sint32 (); }
379 380
380 void get (uint32 &i) { i = get_sint64 (); } 381 void get (uint32 &i) { i = get_sint64 (); }
381 void get (sint64 &i) { i = get_sint64 (); } 382 void get (sint64 &i) { i = get_sint64 (); }
382};
383 383
384 bool parse_error (keyword kw, const char *type = 0, const char *name = 0, bool skip = true);
385};
386
387//TODO: remove
384char *fgets (char *s, int n, object_thawer &thawer); 388char *fgets (char *s, int n, object_thawer &thawer);
385 389
386////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// 390//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
387 391
388struct coroapi { 392struct coroapi {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines