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

Re: Python bindings

From: Ximon Eighteen <ximon.eighteen_at_int.greenpeace.org>
Date: 2005-09-12 19:45:14 CEST

> My python code so far looks like this:-


> svn.core.svn_config_enumerate(config, "/path/to/repos", my_cb, baton)

Not quite true. At the time of writing it looked as Python reported in the error:

> svn.core.svn_config_enumerate(config,
> "/cluster_b/data/svn-repositories/sysadmin", my_callback, config)
> TypeError: Expected a pointer

> I've tried all kinds of ways of changing the four arguments to
> svn_config_enumerate().

And that was why my file had config as the fourth argument, I was playing with
different objects in different argument positions. The "baton" in C is just a
struct that is created on the fly, it doesn't use a predefined subversion type
so there's nothing I can use from Python. I am *not* a seasoned python
programmer. I do have a lot of experience in C, C++, and many other languages.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Sep 12 19:50:45 2005

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

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