This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Bug?
- To: Guile Mailing List <guile at sourceware dot cygnus dot com>
- Subject: Bug?
- From: Dirk Herrmann <dirk at ida dot ing dot tu-bs dot de>
- Date: Wed, 5 Apr 2000 18:38:57 +0200 (MEST)
Hi!
In objects.c line 458 looks as follows:
pl = SCM_STRUCT_DATA (class)[scm_vtable_index_layout];
In contrast, struct.h holds the following line:
#define SCM_STRUCT_LAYOUT(X) (SCM_STRUCT_VTABLE_DATA(X)[scm_vtable_index_layout])
This looks suspicious to me: In struct.h, the result of
SCM_STRUCT_VTABLE_DATA is accessed at indexscm_vtable_index_layout, in
objects.c it is the result of SCM_STRUCT_DATA.
Best regards
Dirk Herrmann