Re: Cooperating on .defs API specifications
Xavier Ordoquy <[email protected]>
| Newsgroups | gmane.comp.gnome.language-bindings |
|---|---|
| Message-ID | <1080680940.977.39.camel@laptop> |
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 _______________________________________________ language-bindings mailing list [email protected] http://mail.gnome.org/mailman/listinfo/language-bindings