Branch: Tag:

1999-02-01

1999-02-01 02:47:18 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

all alignment problems solved (I hope)

Rev: src/Makefile.in:1.126
Rev: src/modules/Gdbm/gdbmmod.c:1.6
Rev: src/modules/Gmp/mpz_glue.c:1.37
Rev: src/modules/Gz/zlibmod.c:1.22
Rev: src/modules/Image/colors.c:1.8
Rev: src/modules/Image/colortable.c:1.47
Rev: src/modules/Image/font.c:1.42
Rev: src/modules/Image/image.c:1.110
Rev: src/modules/Msql/msqlmod.c:1.9
Rev: src/modules/Mysql/mysql.c:1.25
Rev: src/modules/Mysql/result.c:1.14
Rev: src/modules/Odbc/odbc.c:1.13
Rev: src/modules/Odbc/odbc_result.c:1.16
Rev: src/modules/Oracle/oracle.c:1.15
Rev: src/modules/Perl/perlmod.c:1.4
Rev: src/modules/Pipe/pipe.c:1.29
Rev: src/modules/Postgres/pgresult.c:1.9
Rev: src/modules/Postgres/postgres.c:1.11
Rev: src/modules/Regexp/glue.c:1.13
Rev: src/modules/Ssleay/ssleay.c:1.10
Rev: src/modules/Yp/yp.c:1.15
Rev: src/modules/_Charset/charsetmod.c:1.8
Rev: src/modules/_Charset/iso2022.c:1.3
Rev: src/modules/_Crypto/cast.c:1.5
Rev: src/modules/_Crypto/cbc.c:1.13
Rev: src/modules/_Crypto/crypto.c:1.26
Rev: src/modules/_Crypto/des.c:1.12
Rev: src/modules/_Crypto/idea.c:1.12
Rev: src/modules/_Crypto/md2.c:1.5
Rev: src/modules/_Crypto/md5.c:1.11
Rev: src/modules/_Crypto/pipe.c:1.13
Rev: src/modules/_Crypto/rc4.c:1.8
Rev: src/modules/_Crypto/sha.c:1.14
Rev: src/modules/_Image_TTF/image_ttf.c:1.9
Rev: src/modules/files/file.c:1.137
Rev: src/modules/files/socket.c:1.41
Rev: src/modules/spider/accesseddb.c:1.17
Rev: src/modules/spider/dumudp.c:1.42
Rev: src/modules/spider/xml.c:1.6
Rev: src/modules/system/nt.c:1.7
Rev: src/object.c:1.56
Rev: src/operators.c:1.45
Rev: src/pike_macros.h:1.11
Rev: src/program.c:1.108
Rev: src/program.h:1.49
Rev: src/security.c:1.8
Rev: src/signal_handler.c:1.102
Rev: src/stralloc.c:1.53
Rev: src/threads.c:1.87

5:   \*/      /* -  * $Id: program.h,v 1.48 1999/01/31 09:02:02 hubbe Exp $ +  * $Id: program.h,v 1.49 1999/02/01 02:41:45 hubbe Exp $    */   #ifndef PROGRAM_H   #define PROGRAM_H
13:   #include <stdarg.h>   #include "global.h"   #include "pike_types.h" + #include "pike_macros.h"   #include "svalue.h"   #include "time_stuff.h"   
193:    INT32 id; /* used to identify program in caches */    INT32 flags;    INT32 storage_needed; /* storage needed in the object struct */ +  unsigned INT8 alignment_needed;    struct timeval timestamp;       struct program *next;
250:      #define COMPILER_IN_CATCH 1    + #define ADD_STORAGE(X) low_add_storage(sizeof(X), ALIGNOF(X),0) +    #define FOO(NUMTYPE,TYPE,NAME) void PIKE_CONCAT(add_to_,NAME(TYPE ARG));   #include "program_areas.h"   
275:   void check_program(struct program *p);   struct program *end_first_pass(int finish);   struct program *debug_end_program(void); - SIZE_T low_add_storage(SIZE_T size, SIZE_T alignment); - SIZE_T add_storage(SIZE_T storage); + SIZE_T low_add_storage(SIZE_T size, SIZE_T alignment, int modulo);   void set_init_callback(void (*init)(struct object *));   void set_exit_callback(void (*exit)(struct object *));   void set_gc_mark_callback(void (*m)(struct object *));