<[EMAIL PROTECTED]> writes: >if I have a function foo() and there is a XS wrapper, > >int foo() > >CODE: perl_foo() > > >..the perl_foo() is created automatically, it is litterally perl's version >of foo()?
No - perl_foo() is NOT created automatically. xsubpp could strip the prefix for you - avoiding the need for a CODE: section but does NOT provide the prefixed function. > >The reason I ask is I was looking at the XS interface for des_crypt(), and saw >perl_des_crypt called within the XS wrapper. If you look elsewhere in the .xs file (probably above the MODULE line or perhaps in a .h file) you should find the definition of perl_des_crypt.
