|Think about Loose Coupling|
A problem converting C code to XSby mbidwell (Novice)
|on Nov 15, 2004 at 23:49 UTC||Need Help??|
mbidwell has asked for the
wisdom of the Perl Monks concerning the following question:
I am working on an API Test and I have opted to use the h2xs for changing the header files in to xs code.
What I have I think will suffice but I am having the trouble of converting the C code into usable XS code for 2 functions:
All I want to do is send a call from Perl to the C API and get back the theme name using the enr_GetThemeName call.
Any help would be appreciated.
20041115 Edit by ysth: code and p tags
20041116 Edit by ysth: retitle from: XS newbie