On Friday, September 27, 2002, at 05:31  AM, Brian Ingerson wrote:
> One other radical approach I'm considering is to invent an 
> Inline syntax for
> embedding extra Inline semantics write into the C source. I 
> would probably do
> this using specially formatted comments. For instance:
>
>     use Inline C
>     __END__
>     __C__
>     /* Inline: typemap: 'foo *'
>        *typemap code here*
>     */
>     void bar(foo* my_foo) {
>     }

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) {
     }

or the like.

  -Ken

Reply via email to