pike.git / src / encode.c

version» Context lines:

pike.git/src/encode.c:16:   #include "dynamic_buffer.h"   #include "error.h"   #include "operators.h"   #include "builtin_functions.h"   #include "module_support.h"   #include "fsort.h"   #include "threads.h"   #include "stuff.h"   #include "version.h"    - RCSID("$Id: encode.c,v 1.24 1998/10/11 18:17:26 marcus Exp $"); + RCSID("$Id: encode.c,v 1.25 1998/10/22 05:02:22 hubbe Exp $");      #ifdef _AIX   #include <net/nh.h>   #endif      #ifdef HAVE_NETINET_IN_H   #include <netinet/in.h>   #endif      #include <math.h>
pike.git/src/encode.c:398:    apply(data->codec,"nameof", 1);    if(sp[-1].type == val->type)    error("Error in master()->nameof(), same type returned.\n");    if(sp[-1].type == T_INT && sp[-1].subtype == NUMBER_UNDEFINED)    {    INT32 e;    struct program *p=val->u.program;    if(p->init || p->exit || p->gc_marked || p->gc_check ||    (p->flags & PROGRAM_HAS_C_METHODS))    error("Cannot encode C programs.\n"); +  code_entry(val->type, 1,data);    f_version(0);    encode_value2(sp-1,data);    pop_stack(); -  code_entry(val->type, 1,data); +     code_number(p->flags,data);    code_number(p->storage_needed,data);    code_number(p->timestamp.tv_sec,data);    code_number(p->timestamp.tv_usec,data);      #define FOO(X,Y,Z) \    code_number( p->num_##Z, data);   #include "program_areas.h"       adddata2(p->program, p->num_program);