pike.git / src / post_modules / GTK2 / source / global.pre

version» Context lines:

pike.git/src/post_modules/GTK2/source/global.pre:738:   endrequire;      %{   #ifdef DYNAMIC_MODULE   struct program *image_color_program = NULL;   struct program *image_program = NULL;   #else   extern struct program *image_color_program;   extern struct program *image_program;   #endif + #define INIT_VARIABLES   %}      INIT {   #ifdef DYNAMIC_MODULE    image_color_program = PIKE_MODULE_IMPORT(Image, image_color_program);    if(!image_color_program)    Pike_error("Could not load Image module.\n");       image_program = PIKE_MODULE_IMPORT(Image, image_program);    if(!image_program)    Pike_error("Could not load Image module.\n");   #endif   }