pike.git / src / encode.c

version» Context lines:

pike.git/src/encode.c:19:   #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"   #include "pikecode.h"    - RCSID("$Id: encode.c,v 1.151 2002/08/15 14:49:20 marcus Exp $"); + RCSID("$Id: encode.c,v 1.152 2002/09/11 16:03:32 mast Exp $");      /* #define ENCODE_DEBUG */      /* Use the old encoding method for programs. */   #define OLD_PIKE_ENCODE_PROGRAM      #ifdef ENCODE_DEBUG   /* Pass a nonzero integer as the third arg to encode_value,    * encode_value_canonic and decode_value to activate this debug. */   #define EDB(N,X) do { debug_malloc_touch(data); if (data->debug>=N) {X;} } while (0)
pike.git/src/encode.c:2514:    p->parent=Pike_sp[-1].u.program;    break;    case T_FUNCTION:    p->parent=program_from_svalue(Pike_sp-1);    break;    default:    Pike_error("Program decode failed!\n");    }    if(p->parent) {    add_ref(p->parent); -  p->parent_program_id = p->parent->id; +     }    pop_stack();       debug_malloc_touch(p);      #define FOO(X,Y,Z) \    decode_number( p->num_##Z, data);   #include "program_areas.h"