On Friday, September 27, 2002, at 01:42  PM, Brian Ingerson wrote:

> On 26/09/02 18:55 -0700, Sean O'Rourke wrote:
>> --- Ken Williams <[EMAIL PROTECTED]> wrote:
>>> I wouldn't use comments if I were you, because they're awfully
>>> ugly and contain too many points of head-scratching failure.
>>> I'd prefer something more explicit:
>>>
>>>      use Inline C
>>>      __END__
>>>      __C__
>>>      TYPEMAP(foo *, ...typemap code here...)
>>>
>>>      void bar(foo* my_foo) {
>>>      }
>
> (Ken)
> Good idea. Would the macro perhaps generate nothing, and just be
> something for the Inline parser to grok?

Yeah - Inline could either strip it out entirely, or there could 
be a real C macro that makes it a no-op.  Something like that is 
what I had in mind anyway.  It's still not clear whether 
something in the C or something in the Perl will generalize the 
best.


> No matter what, I'm definitely interested in the cleaest and most
> scalable solution. I think I made that comment extra ugly on purpose!

Heh. =)

  -Ken

Reply via email to