Fix for generated object path bindings

Ross Burton ross at burtonini.com
Fri Jul 1 08:52:20 PDT 2005


Hi,

If a binding is generated for a function which takes or returns object
paths, the prototypes for the IN arguments are char** and for OUT
arguments, char***.

This is due to them also being boxed types, so they get another * added.

Attached is a patch to the test to run the wrapped objpath method, and a
patch to special-case the type name for object paths.

Ross
-- 
Ross Burton                                 mail: ross at burtonini.com
                                          jabber: ross at burtonini.com
                                     www: http://www.burtonini.com./
 PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbus-proxy.diff
Type: text/x-patch
Size: 2232 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20050701/8df7fe96/dbus-proxy.bin


More information about the dbus mailing list