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

Re: [PATCH] work in progress perl typemaps for swig

From: Chia-liang Kao <clkao_at_clkao.org>
Date: 2003-07-15 07:52:24 CEST

On Mon, Jul 14, 2003 at 10:47:27PM -0700, Blair Zajac wrote:
> > now here's some changes to make perl bindings work. you could run
> > the following code now:
> >
> > use SVN::core;
> > use SVN::repos;
> Minor nit, most Perl modules have capital letters, so I suggest SVN::Core
> and SVN::Repos.
> > SVN::core::apr_initialize;
> Shouldn't the SVN::core module call apr_initialize? It can make sure
> that it is only called once per process.

right, but this should be in the BEGIN block of the wrapper class.
so I think maybe capitalized class will be the shadow class in the
future, where as SVN::core and alike generated by swig, will be the
raw class providing direct library call.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 15 07:53:34 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.