[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
G-Wrap 1.9.0 released
From: |
Andreas Rottmann |
Subject: |
G-Wrap 1.9.0 released |
Date: |
Wed, 30 Jun 2004 15:47:51 +0200 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) |
The following message is a courtesy copy of an article
that has been posted to comp.os.linux.announce as well.
Hello,
I am pleased to announce the release of G-Wrap 1.9.0. The release is
available from
http://savannah.nongnu.org/download/g-wrap/
The md5 checksums of the files are:
c0ec7ad7d90299a136e01e4e476a474e g-wrap-1.9.0.tar.gz
cbb0cbed9c6eb2f1a6849cb77f45be4d g-wrap-1.9.0.tar.gz.sig
G-Wrap is a tool (and Guile library) for generating function wrappers
for inter-language calls. It currently only supports generating Guile
wrappers for C functions.
G-Wrap 1.9 is a more-or-less complete rewrite of the 1.3
codebase. Currently, wrapsets written for 1.3 are incompatible with
1.9, due to the big architectural changes. A compatibility layer is
planned, however. Compared to G-Wrap 1.3.4, the following features
have been added:
* Glueless wrapping
G-Wrap can now create function wrappers dynamically via libffi. This
means that in most cases, G-Wrap doesn't need to emit a C wrapper
function, thus reducing emitted code size considerably.
* Output arguments
Now functions such with output arguments like
void getxy(int *x, int *y);
can be wrapped sensibly; using let-values from SRFI 11, you can use
the generated wrapper function like this:
(let-values (((x y) (getxy)))
...)
* Default arguments
It is possible to specificy default arguments for a wrapped C
function. Calls to the resulting wrapper function may leave these
arguments out, causing the default values to be used.
Regards,
Andy
--
Andreas Rottmann | address@hidden | address@hidden | address@hidden
http://yi.org/rotty | GnuPG Key: http://yi.org/rotty/gpg.asc
Fingerprint | DFB4 4EB4 78A4 5EEE 6219 F228 F92F CFC5 01FD 5B62
To iterate is human; to recurse, divine.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- G-Wrap 1.9.0 released,
Andreas Rottmann <=