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

Re: Learning the Python API - early questions

From: Barry Scott <barry_at_barrys-emacs.org>
Date: 2003-10-19 12:43:37 CEST

At 18-10-2003 22:45, Russell Yanofsky wrote:
>It will if you explicitly instatiate the templates. There's an example of
>this at http://www.swig.org/tutorial.html in the "Surely there's more to
>it..." section. There's also more in-depth documentation on doing this at
>http://www.swig.org/Doc1.3/SWIGPlus.html#n28.

I added:

%include <string>
%include <list>

%template(std_string) std::string;
%template(DirEntries) svn::DirEntries;
%template(StatusEntries) svn::StatusEntries;
%template(LogEntries) svn::LogEntries;

Fails because SWIG cannot parse the MCVC6 header files...

I see other solving the problems by using %typemap code specific
to python. Which does not help get other languages working.

Barry

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Oct 19 12:44:19 2003

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.