2 // Automatically generated from "/usr/share/gir-1.0/GModule-2.0.gir"
5 public import gtk2
.glib2
;
6 alias gtk2
.glib2 GLib2
;
8 // package: "gmodule-2.0";
9 // C header: "gmodule.h";
11 // c:symbol-prefixes: ["g"]
12 // c:identifier-prefixes: ["G"]
18 return g_module_close(&this);
20 void make_resident()() {
21 g_module_make_resident(&this);
24 return g_module_name(&this);
26 int symbol()(char* symbol_name
, void** symbol
) {
27 return g_module_symbol(&this, symbol_name
, symbol
);
29 static char* /*new*/ build_path()(char* directory
, char* module_name
) {
30 return g_module_build_path(directory
, module_name
);
32 static char* error()() {
33 return g_module_error();
35 // Unintrospectable function: open() / g_module_open()
36 static Module
* open()(char* file_name
, ModuleFlags flags
) {
37 return g_module_open(file_name
, flags
);
39 static int supported()() {
40 return g_module_supported();
44 extern (C
) alias char* function (Module
* module_
) ModuleCheckInit
;
51 extern (C
) alias void function (Module
* module_
) ModuleUnload
;
53 // MOVED TO: Module.build_path
54 static char* /*new*/ module_build_path()(char* directory
, char* module_name
) {
55 return g_module_build_path(directory
, module_name
);
58 // MOVED TO: Module.error
59 static char* module_error()() {
60 return g_module_error();
63 // MOVED TO: Module.supported
64 static int module_supported()() {
65 return g_module_supported();
72 int g_module_close(Module
* this_
);
73 void g_module_make_resident(Module
* this_
);
74 char* g_module_name(Module
* this_
);
75 int g_module_symbol(Module
* this_
, char* symbol_name
, void** symbol
);
76 char* /*new*/ g_module_build_path(char* directory
, char* module_name
);
77 char* g_module_error();
78 Module
* g_module_open(char* file_name
, ModuleFlags flags
);
79 int g_module_supported();