Re: Cooperating on .defs API specifications
- From: Xavier Ordoquy <xordoquy wanadoo fr>
- To: Murray Cumming <murrayc murrayc com>
- Cc: Andreas Rottmann <a rottmann gmx at>, GNOME Language Bindings <language-bindings gnome org>, guile-gtk discussions <guile-gtk-general gnu org>, shiro acm org, bigloo-lib-devel lists sourceforge net
- Subject: Re: Cooperating on .defs API specifications
- Date: Tue, 30 Mar 2004 23:09:01 +0200
On Tue, 2004-03-30 at 22:27, Murray Cumming wrote:
>
> The defs format does not split up the function name, I think. It just
> says what the name is and what object it belongs to. So, I think there's
> no problem there.
Here's an example of the use in pygtk:
(define-function accel_map_get
(c-name "gtk_accel_map_get")
(return-type "GtkAccelMap*")
)
accel_map_get gets in the gtk module. Note that the function is called
in Python with
gtk.accel_map_get
instead of
gtk.gtk_accel_map_get
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]