[Vala] Fwd: Re: xml-rpc-c with Vala/Genie
- From: Phil Daintree <phil logicworks co nz>
- To: vala-list gnome org
- Subject: [Vala] Fwd: Re: xml-rpc-c with Vala/Genie
- Date: Wed, 29 Sep 2010 14:41:15 +1300
Pancake, I asked the developer of xmlrpc-c (Bryan Henderson) about my
problem. Which by the way occurs even with your example vala code with
calls to xmlrpc-c methods that return arrays and of course all the
calls that I want to use it for :-(. Bryan was most helpful, it looks
like the method used for handling arrays in your bindings is using a
depreciated method in the xmlrpc-c library that doesn't do proper
reference counting.
Although I have no idea what I am doing... I will have a play with the
bindings to see if I can get it going. Perhaps a bit early to commit
the bindings to the vala code repository until it's stable - otherwise
just more work for Evan.
Phil
--- Begin Message ---
- From: bryanh giraffe-data com (Bryan Henderson)
- To: phil logicworks co nz
- Subject: Re: xml-rpc-c with Vala/Genie
- Date: 28 Sep 2010 21:10:11 +0000
Well, amazingly enough since I have no idea how that constructing and
destructing works, I see the problem: There is a reference to
libxmlrpc function xmlrpc_array_get_item(). This is obsolete and nobody
should call it. It should be xmlrpc_array_read_item() instead. That
does proper reference counting.
--
Bryan Henderson San Jose, California
--- End Message ---
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]