[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Please help me
- From: Emmanuel Briot <briot gnat com>
- To: gtk-app-devel-list redhat com
- CC: gtk-app-devel-list redhat com, recipient.list.not.shown.;@redhat.com;;;
- Subject: Re: Please help me
- Date: Mon, 23 Nov 1998 13:42:14 -0500
>
> > But thanks again, this would be a good place for me to start
> > writing a quick reference. Maybe I'll write a simple perl script
> > to search the header files and make the mapping
> > automatic :)
> >
>
> It would probably be pretty easy since Gtk headers are so consistent. You
> just need to find 'struct _(.*)Class' or something, print the (.*) match,
> then for each (* name)(parameters) before the next } extract the name and
> the list of parameters, and print it out nice-like.
>
have a look at the binding for Ada95: there is such a script to create
the Ada version of the C header files, but you can certainly adapt it
to other functions. BTW, the script is called generate.pl in that package.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]