Branch: Tag:


2001-03-29 02:54:12 by Per Hedbor <>

IDs for the image-programs added to program_id.h, the image module now have constant IDs. This is not yet used in the types for it, though. Also added optimization for object( id<65536) in encode.c:encode_type and decode_type. Left to do is the code that encodes programs. It is possible to add that in the codec if int __program_to_id( program ) and program __id_to_program( int id ) or similar are added, otherwise the code has to go into encode.c

Rev: src/encode.c:1.95
Rev: src/modules/Gmp/mpz_glue.c:1.92
Rev: src/modules/Image/colors.c:1.48
Rev: src/modules/Image/image_module.c:1.11
Rev: src/modules/Image/initstuff.h:1.12
Rev: src/program.h:1.122
Rev: src/program_id.h:1.7

5:   \*/      /* -  * $Id: program.h,v 1.121 2001/03/23 03:14:41 hubbe Exp $ +  * $Id: program.h,v 1.122 2001/03/29 02:54:10 per Exp $    */   #ifndef PROGRAM_H   #define PROGRAM_H
16:   #include "pike_macros.h"   #include "svalue.h"   #include "time_stuff.h" + #include "program_id.h"    -  +    #define STRUCT   #include "compilation.h"