Hello there. Unfortunately I can't find the Alien::igraph, did you post that somewhere? No matter though.
From a cursory look at the igraph library, it seems igraph API expects you to manage the allocation of igraph_t structure on your own. Either a static or malloc'ed struct, but you have to allocate it somewhere. From this I presume you'd want a chunk (sizeof(igraph_t)) of opaque data in your perl object, not an opaque pointer. HtH.
In reply to Re: Wrapping C constructor with opaque pointer using Platypus
by Anonymous Monk
in thread Wrapping C constructor with opaque pointer using Platypus
by pokki
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |