On Sep 7, 2007, at 8:55 PM, Steve Fink wrote:

Like $arg, $var, $type, but I also see different
and mysterious ones. I tried looking around ExtUtils,
but ran in circles.

What's an example of such a thing?

'locate typemap' on my system came up with this file, which had some pretty rich examples:

  /System/Library/Perl/5.8.6/ExtUtils/typemap

I scanned through xsubpp, but
didn't see any more '$' things other than those three.

Theres $ntype. See <http://world.std.com/~swmcd/steven/perl/pm/xs/ tools/index.html>.

Looks like $Package might be another, though I haven't used it myself.

I have been somewhat tempted to
autogenerate my typemap file, but I only have nine pointer-to-object
types, so I don't mind the duplication all that much.

One of my distros has over 100 that follow the same pattern, so I autogenerate mine.

Marvin Humphrey
Rectangular Research
http://www.rectangular.com/


Reply via email to