pike.git / src / object.c

version» Context lines:

pike.git/src/object.c:400:    return o;   }      /* Clone and initialize an object, but do not call the pike initializers.    *    * WARNING: Only use this function if you know what you are doing...    */   PMOD_EXPORT struct object *fast_clone_object(struct program *p)   {    struct object *o=low_clone(p); +  /* Let the stack hold the reference to the object during +  * the time that the initializers are called, to avoid +  * needing to have an ONERROR. +  */    push_object(o);    call_c_initializers(o);    Pike_sp--;    debug_malloc_touch(o);    debug_malloc_touch(o->storage);    return o;   }      PMOD_EXPORT struct object *parent_clone_object(struct program *p,    struct object *parent,