From: Dr. W. F. <we...@su...> - 2005-09-08 12:50:45
|
Hi, maybe this is the reason, why the X11 does not work without my previous posted workaround. After the comparision of the definition of the type record_ and friends srecord_ and xrecord_ I've found that the order of rectype and recflags is different from lispbibl.h to clisp.h. E.g. in lispbibl.h the type record_ is given with typedef struct { union { gcv_object_t _GCself; hfint flags[sizeof(gcv_object_t)/sizeof(hfint)]; } header; sintB rectype; uintB recflags; uintW recfiller; gcv_object_t recdata[0] ; } record_; whereas in clisp.h typedef struct { VAROBJECT_HEADER uintB recflags; sintB rectype; uintW recfiller; gcv_object_t recdata[unspecified]; } record_; is used ... IMHO the order of rectype and recflags should be the same as in lispbibl.h. Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr |