[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [dev-serveez] Avoiding code fork/duplication of serveez cfg code
From: |
Andreas Rottmann |
Subject: |
Re: [dev-serveez] Avoiding code fork/duplication of serveez cfg code |
Date: |
01 Dec 2002 16:06:26 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Andreas Rottmann <address@hidden> writes:
> I hope you get the idea. Implementing this was trivial after having
> hacked up serveez :-). So the new configurable type facility allows to
> implement instantiation of scheme-configurable types with two lines of
> scheme and a few lines of C:
>
[c code snipped]
Well, I've forgotten the scheme code:
(define (define-service! name type args)
(svz:configurable-type-instantiate "dstw-service" type name args))
;-)
Regards, Andy
--
Andreas Rottmann | address@hidden | address@hidden |
address@hidden
http://www.8ung.at/rotty | GnuPG Key: http://www.8ung.at/rotty/gpg.asc
Fingerprint | DFB4 4EB4 78A4 5EEE 6219 F228 F92F CFC5 01FD 5B62