pike.git / src / modules / Image / encodings / xcf.c

version» Context lines:

pike.git/src/modules/Image/encodings/xcf.c:1406:    UNSET_ONERROR(err);    free( colortable );    }       pop_n_elems(args);    push_int(0);   }         static struct program *image_encoding_xcf_program=NULL; - void init_image_xcf() + void init_image_xcf(void)   {    ADD_FUNCTION( "___decode", image_xcf____decode, tFunc(tStr,tMapping), 0);       ADD_FUNCTION( "_decode_tiles", image_xcf_f__decode_tiles, tFunction, 0);       add_integer_constant( "PROP_END", PROP_END,0 );    add_integer_constant( "PROP_COLORMAP", PROP_COLORMAP, 0 );    add_integer_constant( "PROP_ACTIVE_LAYER", PROP_ACTIVE_LAYER, 0 );    add_integer_constant( "PROP_ACTIVE_CHANNEL", PROP_ACTIVE_CHANNEL, 0 );    add_integer_constant( "PROP_SELECTION", PROP_SELECTION, 0 );
pike.git/src/modules/Image/encodings/xcf.c:1503:    ADD_FUNCTION("get_int", f_substring_get_int, tFunc(tInt,tInt), 0 );    ADD_FUNCTION("get_uint", f_substring_get_uint, tFunc(tInt,tInt), 0 );    ADD_FUNCTION("_sprintf",f_substring__sprintf, tFunc(tInt tMapping,tMix), 0);      /* set_init_callback(init_substring); */    set_exit_callback(free_substring);    substring_program = end_program();   }       - void exit_image_xcf() + void exit_image_xcf(void)   {   #define STRING(X) free_string(s_##X)   #include "xcf_constant_strings.h"   #undef STRING    free_program( substring_program );   }