[Top][All Lists]

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

[dev-serveez] SWIG is great

From: stefan
Subject: [dev-serveez] SWIG is great
Date: Sun, 3 Jun 2001 20:48:51 +0200 (CEST)

Hello Serveezers,

  Martin: Could you please so kind and have a look at `svzlib.scm'. This
is my own effort extending SWIG by using a library with the Guile
interpreter only. Those we could even use a Guile module within the
configuration file of serveez having the core API present.

  I would really appreciate you to draw a concept how to write a Guile
Module and to implement if possible. :-) The basics are given in both the
files `svzguiile.scm' and `svzlib.scm'. I would like to have that located somewhere and then put

  (use-modules serveez)

into the configuration file or a standalone guile server. The essential
lines are already part of `svzlib.scm' which uses the "(dynamic-*)"
function to load the library and initialize it calling "SWIG_init".

  The `svzguile.scm' contains some code showing how I personlly think
namespaces / objects can be defined. The example shows how to do that with
the "svz_interface" thingies.

  Maybe we should also send the example with dynamic loading to the SWIG
people since the current release does not produce such a wrapper. They
can only produce an executable where all wrapped function will be

Thanks in advance,

reply via email to

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