
sunnyagarwal008
New User
May 5, 2010, 2:27 AM
Views: 1051
|
|
Creating wrapper over a wrapper
|
|
|
I have a perl module which is basically just a wrapper over C code and it works fine. Now I am trying to write another wrapper over this perl wrapper. In this, I am exporting all the functions that the original wrapper exports. I am defining all these methods like:
sub ABC { return wrapper::ABC(@_); } When i compile this, i get errors saying that there is a prototype mismatch between the ABC here and wrapper::ABC. Can someone please help me out on this?
(This post was edited by sunnyagarwal008 on May 5, 2010, 2:28 AM)
|