This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Bug?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]