[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Miscellaneous Ruby questions

From: Max Bowsher <maxb_at_ukf.net>
Date: 2005-03-22 03:05:03 CET

I've been reviewing the ruby additions to the swig .i files.
Some questions/comments:

apr.i:

The "#pragma SWIG nowarn=801":
Am I correct in thinking this is just because SWIG is being rather
excessively verbose by default? Perhaps this pragma deserves a comment
explaining its purpose.

The "for SWIG bug" typemaps:
Is the bug fixed? Which versions of SWIG contain the bug? Please wrap these
hotfixes in an #ifdef specifying the versions they are needed for.

core.i:
What is the purpose of the unusual arrangements made for
svn_stream_{read,write,close} ?

svn_client.i:
This typemap:
%typemap(ruby,in) (svn_client_get_commit_log_t log_msg_func)
makes reference to "arg1". I don't think that's a rather fragile thing to
do. Also, "log_msg_batton" is misspelt.

svn_types.i:
Why REMOVE_DESTRUCTOR?
How does this relate to the %nodefault swig directive? Is that directive
broken for ruby? It didn't appear to have any effect when I tried to use it.

And an overall point:
The ruby bindings don't work with SWIG 1.3.25-dev.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Mar 22 03:06:35 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.