Re: what is .defs ?
- From: James Henstridge <james jamesh id au>
- To: Muthiah Annamalai <ec10130 nitt edu>
- Cc: language-bindings gnome org
- Subject: Re: what is .defs ?
- Date: Mon, 20 Sep 2004 14:42:21 +0800
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: james jamesh id au
WWW: http://www.jamesh.id.au/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]