Why not be explicit and create the XS using Perl from the C header files? That way, you also avoid the problem of having different (C) signatures of the functions.
Doing that stuff explicitly allows you to more easily exclude functions that have special signatures from your generic approach later on.
In reply to Re: [OT: C] Getting pointers to functions
by Corion
in thread [OT: C] Getting pointers to functions
by syphilis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |