Re: Cooperating on .defs API specifications



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]