Re: what is .defs ?

James Henstridge <[email protected]>
Newsgroups gmane.comp.gnome.language-bindings
Message-ID <[email protected]>
On 20/09/04 13:12, Muthiah Annamalai wrote:

>Hello!
>Can someone please teach me, how to use the .defs files
>to translate them into respective target binding language?
>Please show pointers to resources, if you cannot afford a 
>detailed reply.
>Im working on an Octave binding for GTK+.
>  
>
The defs file format is simply a format used to describe APIs similar to 
GTK's (ie. object oriented C using GObject).  It contains the 
information necessary to associate the functions GTK provides to the 
objects they act as methods for, and provides various other bits of 
information that is either not available in the headers or difficult to 
extract.

If you want to use it for your Octave bindings, you will need to write a 
code generator to generate bindings code from the .defs file.  Rather 
than starting from scratch, you could try modifying the code generator 
for another GTK binding to work with Octave.

James.

-- 
Email: [email protected]
WWW:   http://www.jamesh.id.au/


_______________________________________________
language-bindings mailing list  [email protected]
http://mail.gnome.org/mailman/listinfo/language-bindings
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.