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]

Re: struct interface


On 6 Apr 2000, Mikael Djurfeldt wrote:

> I don't want to introduce complexity in the user interface.  One
> should be able to write things like:
> 
> struct foo {
>   char c;
>   SCM s;
> }
> 
> and rely on that this will work whatever architecture you're running
> on.

Ahem, what happens if the user creates such a structure on the stack as a
local variable?  Will the stack scanner of the conservative gc be able to
find the reference?

This is obviously not a problem of some future changes to guile, but may
already be today.

Best regards
Dirk Herrmann


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