dev-serveez
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [dev-serveez] Avoiding code fork/duplication of serveez cfg code


From: Thien-Thi Nguyen
Subject: Re: [dev-serveez] Avoiding code fork/duplication of serveez cfg code
Date: Thu, 28 Nov 2002 17:54:36 -0500

   From: Andreas Rottmann <address@hidden>
   Date: 28 Nov 2002 11:06:26 +0100

   Hmm, it seems your config stuff is purely scheme... The stuff I
   adapted in Serveez is for using scheme to "configure" C structs.

if you can separate the configuration act from the configured thing then
you will see this distinction is not so important.  (if it is important
to your design perhaps that indicates the design is not sufficiently
general.)
                                                    
poking around, i see that actually there is already a way to configure
C-level structures from scheme already -- see the "structures" node in
the manual.  you can use this (possibly confusingly named) facility to
define an almost arbitrary vtable, the only restriction that i can see
being structure members must have word alignment.  perhaps i'm missing
something?

thi




reply via email to

[Prev in Thread] Current Thread [Next in Thread]