in reply to Inline::C self-referential struct idioms and memory

How are you informing Inline that you wish to use your typemap when it builds the code?

When I use them I do it with this: TYPEMAPS => 'GetContext.typemap' on the use Inline C line:

use Inline C => <<'END_C', NAME => 'Trie', CLEAN_AFTER_BUILD =>0, TYP +EMAPS => '/test/Trie.typemap';;

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
In the absence of evidence, opinion is indistinguishable from prejudice.
I'm with torvalds on this Agile (and TDD) debunked I told'em LLVM was the way to go. But did they listen!

Replies are listed 'Best First'.
Re^2: Inline::C self-referential struct idioms and memory
by rutgeraldo (Novice) on Sep 04, 2015 at 14:21 UTC
    I have a file named 'typemap' in the folder where I issue the command to run the example script. Inline::C figures it out automagically.

        Right, it looks inside ./ as far as I know.