pike.git / src / builtin.cmod

version» Context lines:

pike.git/src/builtin.cmod:3852:    rawtype tFunc(tObj tFunc(tStr tType(tMix) tMix, tVoid), tVoid);    {    if (o != Pike_fp->current_object) {    SIMPLE_BAD_ARG_ERROR("_serialize", 1, "this");    }    low_serialize(Pike_sp[-args].subtype, serializer, 0);    pop_n_elems(args);    push_int(0);    }    -  /*! @decl _deserialize(object o, @ -  *! function(string, type, @ -  *! function(mixed:void): mixed) deserializer) +  /*! @decl void _deserialize(object o, @ +  *! function(string, type, @ +  *! function(mixed:void): mixed) deserializer)    *!    *! Dispatch function for deserialization.    *!    *! @param o    *! Object to serialize. Always a context of the current object.    *!    *! @param deserializer    *! Function to be called once for every variable    *! in the inheriting class.    *!
pike.git/src/builtin.cmod:3927:    }    inh = p->inherits + Pike_sp[-args].subtype;    p = inh->prog;    if ((fun = low_find_lfun(p, LFUN__SERIALIZE)) == -1) {    Pike_error("Serialization not supported by object.\n");    }    apply_low(o, fun + inh->identifier_level, args);   }      /*! @decl void deserialize(object o, @ -  *! function(string, type, +  *! function(string, type, @    *! function(mixed:void):void) deserializer)    *!    *! Call @[LFUN::_deserialize()] in @[o].    *!    *! @seealso    *! @[serialize()], @[LFUN::_deserialize()],    *! @[Serializable()->_deserialize()]    */   PIKEFUN void deserialize(object o,    function(string, type,