Branch: Tag:

1999-05-23

1999-05-23 17:47:04 by Mirar (Pontus Hagland) <pike@sort.mirar.org>

image module startup changed, using headerfile initstuff.h

Rev: src/modules/Image/Makefile.in:1.23
Rev: src/modules/Image/colors.c:1.17
Rev: src/modules/Image/colortable.c:1.67
Rev: src/modules/Image/encodings/Makefile.in:1.26
Rev: src/modules/Image/encodings/_xpm.c:1.7
Rev: src/modules/Image/encodings/any.c:1.9
Rev: src/modules/Image/encodings/avs.c:1.6
Rev: src/modules/Image/encodings/bmp.c:1.14
Rev: src/modules/Image/encodings/gif.c:1.48
Rev: src/modules/Image/encodings/hrz.c:1.2
Rev: src/modules/Image/encodings/ilbm.c:1.11
Rev: src/modules/Image/encodings/pcx.c:1.6
Rev: src/modules/Image/encodings/png.c:1.24
Rev: src/modules/Image/encodings/pnm.c:1.19
Rev: src/modules/Image/encodings/psd.c:1.10
Rev: src/modules/Image/encodings/tga.c:1.7
Rev: src/modules/Image/encodings/x.c:1.22
Rev: src/modules/Image/encodings/xbm.c:1.5
Rev: src/modules/Image/encodings/xcf.c:1.8
Rev: src/modules/Image/encodings/xwd.c:1.12
Rev: src/modules/Image/font.c:1.48
Rev: src/modules/Image/image.c:1.136
Rev: src/modules/Image/image.h:1.32
Rev: src/modules/Image/image_module.c:1.1
Rev: src/modules/Image/initstuff.h:1.1
Rev: src/modules/Image/layers.c:1.12
Rev: src/modules/Image/pattern.c:1.16

1: - /* $Id: font.c,v 1.47 1999/04/25 20:03:36 grubba Exp $ */ + /* $Id: font.c,v 1.48 1999/05/23 17:46:40 mirar Exp $ */   #include "global.h"   #include <config.h>   
7:   /*   **! module Image   **! note - **! $Id: font.c,v 1.47 1999/04/25 20:03:36 grubba Exp $ + **! $Id: font.c,v 1.48 1999/05/23 17:46:40 mirar Exp $   **! class Font   **!   **! note
877:      */    - void init_font_programs(void) + void init_image_font(void)   { -  start_new_program(); +     ADD_STORAGE(struct font*);       /* function(string:object|int) */
919:       set_init_callback(init_font_struct);    set_exit_callback(exit_font_struct); -  -  font_program=end_program(); -  add_program_constant("font",font_program, 0); /* compat */ -  add_program_constant("Font",font_program, 0); +    }    - void exit_font(void) + void exit_image_font(void)   { -  if(font_program) -  { -  free_program(font_program); -  font_program=0; +    } - } +