[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [dev-serveez] serveezopt
From: |
Martin Grabmueller |
Subject: |
Re: [dev-serveez] serveezopt |
Date: |
Wed, 06 Jun 2001 05:09:35 +0200 |
> From: stefan <address@hidden>
> Date: Tue, 5 Jun 2001 20:07:25 +0200 (CEST)
>
> On Tue, 5 Jun 2001, Martin Grabmueller wrote:
>
> > > The Guile code is created by SWIG. A small example shows how it
> > > basically works (type `make check'). Actually I want to export all the
> > > svz_ API to Guile. Martin: What kinds of structures/classes syntax exist
> > > in Guile ?
> >
> > Hum? What do you mean with `structures/classes syntax'?
>
> Is there anything like:
> (set! bla (svz:socket:create))
> (bla->connect "127.0.0.1" 23)
Well, with GOOPS you could build classes and objects to work with, but
I don't think that is supported by SWIG.
> But I guess I need to:
> (set! bla (svz:socket:create))
> (svz:socket:connect bla "127.0.0.1" 23)
>
> Is that ":" notation giving me the feeling to have namespaces in Guile ?
Yes, you can use that to make up your own `namespace illusion', even
though `:' is just a normal character in identifiers.
Regards,
'martin