in reply to Re^6: Including existing C or CPP library using Inline
in thread Including existing C or CPP library using Inline

You can always return an SV* containing a reference to an array, hash, or some complex data structure, if that is more useful.

Since you're using Inline::CPP, you could also encapsulate the data in a class and provide accessors to each component of the data.


Dave

  • Comment on Re^7: Including existing C or CPP library using Inline