in reply to Typemap in Perl XS
No. 'void **' could actually mean any number of things.
Is it supposed to be a pointer to the first item in an array of 'void *' values? Or is the array just one such pointer? What is/are the 'void *' pointer(s) supposed to be pointing at? How is the array or the thing(s) being pointed at supposed to be allocated? Initialized?
What is your design for how to map between this 'void **' value in C and some Perl data structure?
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Typemap in Perl XS (no)
by sohan123 (Novice) on Aug 14, 2012 at 14:20 UTC | |
by bulk88 (Priest) on Aug 15, 2012 at 03:07 UTC | |
by tye (Sage) on Aug 14, 2012 at 14:26 UTC | |
by sohan123 (Novice) on Aug 14, 2012 at 14:39 UTC | |
by tye (Sage) on Aug 14, 2012 at 15:32 UTC |