pike.git / src / encode.c

version» Context lines:

pike.git/src/encode.c:18:   #include "pike_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"   #include "bignum.h"    - RCSID("$Id: encode.c,v 1.83 2001/02/20 22:03:47 grubba Exp $"); + RCSID("$Id: encode.c,v 1.84 2001/02/21 13:46:13 grubba Exp $");      /* #define ENCODE_DEBUG */      #ifdef ENCODE_DEBUG   #define EDB(X) X   #else   #define EDB(X)   #endif      /* The sp macro conflicts with Solaris 2.5.1's <sys/conf.h>. */
pike.git/src/encode.c:1027:    goto one_more_type;       case T_FUNCTION:    push_type(tmp);    while(GETC()!=T_MANY)    {    data->ptr--;    low_decode_type(data);    }    push_type(T_MANY); +  low_decode_type(data); +  goto one_more_type;       case T_MAPPING:    case T_OR:    case T_AND:    push_type(tmp);    low_decode_type(data); -  +  goto one_more_type;       case T_ARRAY:    case T_MULTISET:    case T_NOT: -  +  push_type(tmp);    goto one_more_type;       case T_INT:    {    int i;    push_type(tmp);    /* FIXME: I assume the type is saved in network byte order. Is it?    * /grubba 1999-03-07    */    for(i = 0; i < (int)(2*sizeof(INT32)); i++) {