in reply to Re: [Ceph::RADOS] Help Debugging Inline C
in thread [Ceph::RADOS] Help Debugging Inline C
Awesome! Thanks for this.
The first thing I did was add the debugging string, which returned a negative number. Thanks for pointing out where in the original code the negative number was coming from.
Ultimately, replacing the NULL with "" did the trick and I no longer get a segfault!
Any thoughts on moving Inline_Stack_Vars to the beginning of the sub definition?
That sounds like something that would be worth filing a bug report about. What is your reasoning behind the prototyping?
Thanks for your help. If you have any more, general advice on writing a Perl wrapper around a C API I'd love to hear it. This is my first foray into trying to extend a C library so I've got a bit of learning to do :)
Thanks again for your help!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: [Ceph::RADOS] Help Debugging Inline C
by oiskuu (Hermit) on Nov 11, 2013 at 09:33 UTC | |
|
Re^3: [Ceph::RADOS] Help Debugging Inline C
by Anonymous Monk on Feb 25, 2014 at 05:44 UTC | |
by mlsorensen (Initiate) on May 21, 2014 at 05:49 UTC |