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

Re: status of bindings via swig

From: Daniel Berlin <dberlin_at_dberlin.org>
Date: 2002-07-10 17:52:32 CEST

On 10 Jul 2002, Ben Collins-Sussman wrote:

> Hans Marggraff <hmf@qint.de> writes:
>
> > I have made an attempt at connecting java to svn with the intention
> > of writing a java gui client.
> > Since the java bindings provided by Alexander Mueller are apparently out of
> > date I turned to swig.
> > At the first glance, the stuff swig can generate for you is impressive.
> > A second look shows a number of problems though:
> >
> > Swig crashes on the input files util.i and sv_delta.i when run with the
> > -java option.

Which version?
It needs 1.3.xx, where xx is the latest available.

In any case, if you have the latest, you need to file bug reports with the
swig guys.

> >
> > There are a number of type maps for python. How would they relate to java?
They wouldn't.
They are used for python to do things like passing pointers that are
really return values (IE filled in by the called function).
For Java, you might need typemaps for this, or other things.
If there is nothing special that you need to do (i never read the swig
java docs, so i don't know if there are different argument types you need
to be using), just add java to the list of languages in the typemap.
>
> When gstein returns to our list tomorrow, he can answer your question,
> I think. He's the One around here who understands swig, and has been
> responsible for all of the swig code so far.
Untrue that he is responsible for *all* of the swig code.
I also understand swig enough to answer his questions.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 10 17:53:25 2002

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.