[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-09-13 17:53:47 CEST

I passed in a dict and got this traceback:

   File "minimal_client.py", line 16, in main
     err = svn.core.svn_config_get_config( config, '', pool )
TypeError: Type error. Expected _p_p_apr_hash_t

I'll hunt down making a _p_p_apr_hash_t.


At 12-09-2003 20:31, Garrett Rooney wrote:
>Barry Scott wrote:
>>Another question: I need a "config" object of some kind to be able to
>>call this
>> svn.core.svn_config_get_config( config, '', pool )
>>What is the config object I need here?
>I suspect (and I'm just guessing here), that swig will convert it to
>return a dictionary (because the config you pass in is a pointer to hash
>table, indicating that it will return a hash table via that pointer), and
>take a path to the config directory and a pool as arguments.
>To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>For additional commands, e-mail: users-help@subversion.tigris.org

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Sep 13 17:54:40 2003

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.