[Top][All Lists]

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

[MERGE-REQUEST] Improved `aggregated' typespec support

From: Ludovic Courtès
Subject: [MERGE-REQUEST] Improved `aggregated' typespec support
Date: Fri, 04 Nov 2005 16:33:30 +0100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)


The following patch is a followup to `patch-7' which implements the
`aggregated' typespec[0].  Basically, it (i) improves code generation
(in some cases, the `gw__scm_deps' variable was declared but unused),
(ii) significantly improves the test case for `aggregated', and (iii)
slightly modifies the semantics of `#:wcp-free-function'.

      Improved code gen. and test case for `aggregated';
      changed `#:wcp-free-function'.

The change (iii) basically consists in having `gw_wct_create ()' take a
cleanup function of type `size_t (*) (void *)' instead of
`size_t (*) (SCM)'.  This makes it independent of the underlying Scheme
implementation, and was needed to improve the test case for the
`aggregated'  typespec.

I just realize that I could and should have made (iii) a different patch
and I apologies for not doing so.

Again, I would very much welcome feedback.  :-)


[0] http://lists.nongnu.org/archive/html/g-wrap-dev/2005-09/msg00006.html

reply via email to

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