Branch: Tag:

2011-02-04

2011-02-04 22:57:02 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Serializer: Rotated the argument order for the {,de}serializer() callback function to be more convenient.

1154:    */      /*! @decl void lfun::_serialize(object o, @ -  *! function(string, type, mixed:void) serializer) +  *! function(mixed, string, type:void) serializer)    *!    *! Dispatch function for @[Serializer.serialize()].    *!
1168:    *! The @[serializer] function expects to be called with three arguments:    *! @dl    *! @item +  *! @tt{value@} - The value of the symbol. +  *! @item    *! @tt{symbol@} - The symbol name.    *! @item    *! @tt{symbol_type@} - The type of the symbol. -  *! @item -  *! @tt{value@} - The value of the symbol. +     *! @enddl    *!    *! @note
1185:    */      /*! @decl void lfun::_deserialize(object o, @ -  *! function(string, type, @ -  *! function(mixed:void): mixed) deserializer) +  *! function(function(mixed:void), @ +  *! string, type: mixed) deserializer)    *!    *! Dispatch function for @[Serialization.deserialize()].    *!
1200:    *! The @[deserializer] function expects to be called with three arguments:    *! @dl    *! @item +  *! @tt{setter@} - Function that sets the symbol value. +  *! @item    *! @tt{symbol@} - The symbol name.    *! @item    *! @tt{symbol_type@} - The type of the symbol. -  *! @item -  *! @tt{setter@} - Function that sets the symbol value. +     *! @enddl    *!    *! @note