pike.git / src / builtin.cmod

version» Context lines:

pike.git/src/builtin.cmod:3813:    }    apply_current(fun_num, 4);    pop_stack();    }    if (Pike_sp != save_sp) {    /* Not likely, but... */    pop_n_elems(Pike_sp - save_sp);    }    }    -  /*! @decl void _serialize_variable(function(string, type, mixed:void) serializer, @ -  *! string symbol, type symbol_type, @ -  *! mixed value) +  /*! @decl protected void _serialize_variable( @ +  *! function(string, type, mixed:void) serializer, @ +  *! string symbol, @ +  *! type symbol_type, @ +  *! mixed value)    *!    *! Default serialization function for variables.    *!    *! @param serializer    *! Function to be called in turn.    *!    *! @param symbol    *! Variable name.    *!    *! @param symbol_type
pike.git/src/builtin.cmod:3853:    type symbol_type, mixed value)    flags ID_PROTECTED;    rawtype tFunc(tFunc(tStr tType(tMix) tMix, tVoid)    tStr tType(tMix) tMix, tVoid);    {    f_call_function(args);    pop_stack();    push_int(0);    }    -  /*! @decl void _serialize(object o, @ -  *! function(string, type, mixed:void) serializer) +  /*! @decl protected void _serialize(object o, @ +  *! function(string, type, mixed:void) serializer)    *!    *! Dispatch function for serialization.    *!    *! @param o    *! Object to serialize. Always a context of the current object.    *!    *! @param serializer    *! Function to typically be called once for every variable    *! in the inheriting class.    *!
pike.git/src/builtin.cmod:3901:    struct program *p;    if ((t->type != PIKE_T_OBJECT) || !t->cdr) return NULL;    p = id_to_program(CDR_TO_INT(t));    if (!p || (p->flags & PROGRAM_NEEDS_PARENT) ||    (low_find_lfun(p, LFUN__DESERIALIZE) == -1)) return NULL;    return p;    }       DEFAULT_CMOD_STORAGE void f_deserialize(INT32 args);    -  /*! @decl void _deserialize_variable(function(string, type, @ -  *! function(mixed:void): void) deserializer @ -  *! string symbol, type symbol_type, @ -  *! function(mixed:void) setter) +  /*! @decl protected void _deserialize_variable( @ +  *! function(string, type, @ +  *! function(mixed:void): void) deserializer, @ +  *! string symbol, @ +  *! type symbol_type, @ +  *! function(mixed:void) setter)    *!    *! Default deserialization function for variables.    *!    *! @param deserializer    *! Function to be called in turn.    *!    *! @param symbol    *! Variable name.    *!    *! @param symbol_type
pike.git/src/builtin.cmod:3983:    pop_stack();    push_svalue(deserializer);    f_deserialize(2);    return;    }    f_call_function(args);    pop_stack();    push_int(0);    }    -  /*! @decl void _deserialize(object o, @ -  *! function(string, type, @ -  *! function(mixed:void): void) deserializer) +  /*! @decl protected void _deserialize(object o, @ +  *! function(string, type, @ +  *! function(mixed:void): void) deserializer)    *!    *! Dispatch function for deserialization.    *!    *! @param o    *! Object to serialize. Always a context of the current object.    *!    *! @param deserializer    *! Function to typically be called once for every variable    *! in the inheriting class.    *!