add new sigc++2 directory
[ardour.git] / libs / glibmm2 / glib / src / gmodule_functions.defs
1 ;; -*- scheme -*-
2 ; object definitions ...
3 ;; Enumerations and flags ...
4
5 (define-flags Flags
6   (in-module "GModule")
7   (c-name "GModuleFlags")
8   (gtype-id "G_TYPE_MODULE_FLAGS")
9   (values
10     '("lazy" "G_MODULE_BIND_LAZY")
11     '("local" "G_MODULE_BIND_LOCAL")
12     '("mask" "G_MODULE_BIND_MASK")
13   )
14 )
15
16
17 ;; From /home/murrayc/cvs/gnome212/glib/gmodule/gmoduleconf.h
18
19
20
21 ;; From /home/murrayc/cvs/gnome212/glib/gmodule/gmodule.h
22
23 (define-function g_module_supported
24   (c-name "g_module_supported")
25   (return-type "gboolean")
26 )
27
28 (define-function g_module_open
29   (c-name "g_module_open")
30   (return-type "GModule*")
31   (parameters
32     '("const-gchar*" "file_name")
33     '("GModuleFlags" "flags")
34   )
35 )
36
37 (define-method close
38   (of-object "GModule")
39   (c-name "g_module_close")
40   (return-type "gboolean")
41 )
42
43 (define-method make_resident
44   (of-object "GModule")
45   (c-name "g_module_make_resident")
46   (return-type "none")
47 )
48
49 (define-function g_module_error
50   (c-name "g_module_error")
51   (return-type "const-gchar*")
52 )
53
54 (define-method symbol
55   (of-object "GModule")
56   (c-name "g_module_symbol")
57   (return-type "gboolean")
58   (parameters
59     '("const-gchar*" "symbol_name")
60     '("gpointer*" "symbol")
61   )
62 )
63
64 (define-method name
65   (of-object "GModule")
66   (c-name "g_module_name")
67   (return-type "const-gchar*")
68 )
69
70 (define-function g_module_build_path
71   (c-name "g_module_build_path")
72   (return-type "gchar*")
73   (parameters
74     '("const-gchar*" "directory")
75     '("const-gchar*" "module_name")
76   )
77 )
78
79