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.25 1998/10/22 05:02:22 hubbe Exp $"); + RCSID("$Id: encode.c,v 1.26 1998/11/22 11:02:43 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:49: Inside #if HAVE_LDEXP
     #if HAVE_LDEXP   #define LDEXP ldexp   #else   double LDEXP(double x, int exp)   {    return x * pow(2.0,(double)exp);   }   #endif    - #ifdef DEBUG + #ifdef PIKE_DEBUG   #define encode_value2 encode_value2_   #define decode_value2 decode_value2_   #endif            struct encode_data   {    struct object *codec;    struct svalue counter;
pike.git/src/encode.c:217:    pop_stack();    break;    }    }    return t-q;   }         static void encode_value2(struct svalue *val, struct encode_data *data)    - #ifdef DEBUG + #ifdef PIKE_DEBUG   #undef encode_value2   #define encode_value2(X,Y) do { struct svalue *_=sp; encode_value2_(X,Y); if(sp!=_) fatal("encode_value2 failed!\n"); } while(0)   #endif      {    static struct svalue dested = { T_INT, NUMBER_DESTRUCTED };    INT32 i;    struct svalue *tmp;       if((val->type == T_OBJECT || (val->type==T_FUNCTION && \
pike.git/src/encode.c:667:   #define decode_type(X,data) do { \    type_stack_mark(); \    type_stack_mark(); \    low_decode_type(data); \    type_stack_reverse(); \    (X)=pop_unfinished_type(); \   } while(0)      static void decode_value2(struct decode_data *data)    - #ifdef DEBUG + #ifdef PIKE_DEBUG   #undef decode_value2   #define decode_value2(X) do { struct svalue *_=sp; decode_value2_(X); if(sp!=_+1) fatal("decode_value2 failed!\n"); } while(0)   #endif         {    INT32 what, e, num;    struct svalue tmp, *tmp2;       DECODE();