Branch: Tag:

2004-12-18

2004-12-18 15:45:04 by Henrik Grubbström (Grubba) <grubba@grubba.org>

AutoDoc mk II updates.

Rev: src/encode.c:1.225

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: encode.c,v 1.224 2004/11/12 13:05:27 grubba Exp $ + || $Id: encode.c,v 1.225 2004/12/18 15:45:04 grubba Exp $   */      #include "global.h"
1619:    free_array(data->delayed);   }    - /*! @decl string encode_value(mixed value, object|void codec) + /*! @decl string encode_value(mixed value, Codec|void codec)    *!    *! Code a value into a string.    *!
1634:    *! To encode objects, programs and functions, a codec object must be    *! provided.    *! +  *! If @expr{codec->nameof(o)@} returns @tt{UNDEFINED@} for an object, +  *! @expr{val = o->encode_object(o)@} will be called. The returned value +  *! will be passed to @expr{o->decode_object(o, val)@} when the object is +  *! decoded. +  *!    *! @note    *!    *! When only simple types like int, floats, strings, mappings,