foo() would be the C code I am trying to call in, foo.c. It's too long and always updated to add to the end of my module. Does anyone have any examples of calling in a C program from a module? foo.c also using a library which I know I will have to include as a configuration option at the beginning.package First; use Inline C => 'DATA' foo_wrapper(); _DATA_ _C_ void foo_wrapper { foo(); }
In reply to Inline::C better than XS? by ginttu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |