Diff of the swig bridge
that i'd like to check in. Whole bridge and more info: SwigBridgeJohn
--- /vesta/vestasys.org/bridges/swig/2/build.ves Tue Jan 11 19:02:23 2005
+++ ./build.ves Fri Mar 24 21:37:07 2006
@@ -57,12 +57,12 @@
// to include (alters SWIG behavior
// and output)
): SWIGResult
{
// Set up the shared files in the filesystem where SWIG will
- // expect them.
- . ++= [ root ];
+ // expect them; root can be a function
+ . ++= [ root = (if _is_closure(root) then root() else root) ];
// Add input file to "."
. ++= [ root/.WD = _append(input,includes) ];
// Make the library header files available