On Tue, May 12, 2015 at 11:12:40AM -0400, Rafael Schloming wrote:
> I made a bunch of line comments.

Things appear to be working in the scaled back example except for one
thing: when retrieving the record with pn_record_get the Swig wrapper
returned is of type SWIG:TYPE_p_void rather than the expected wrapper
for pn_rbkey_t. I think that Swig is confused by the type being returned
by pn_record_get and can't distinguish what the appropriate wrapper
should be.

When the return value is then used for fetching the key, it fails with:

TypeError: Expected argument 0 of type pn_rbkey_t *, but got SWIG::TYPE_p_void 

Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc.
Delivering value year after year.
Red Hat ranks #1 in value among software vendors.

Attachment: pgpCohtKHXqb9.pgp
Description: PGP signature

Reply via email to