Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • by salva (841) on 2010.06.13 4:41 (#72051) Journal
    I always use magic to encapsulate C/C++ objects in my modules.

    Specifically I store the pointer to the C structure in a magic attachment, so that it is not easily accessible from Perl.

    For an example, you can check: FANN.xs []

    Though, I never go further, than that.