Mercurial > projects > dwt-linux
comparison dwt/internal/c/gmodule.d @ 33:27324bbbac70
changed to regenerated BCD bindings
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Thu, 10 Jan 2008 02:18:07 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
32:b7c28480e3e0 | 33:27324bbbac70 |
---|---|
1 /****************************************************************************** | |
2 Based on the generated files from the BCD tool | |
3 modified by: Frank Benoit <keinfarbton@googlemail.com> | |
4 ******************************************************************************/ | |
5 module dwt.internal.c.gmodule; | |
6 | |
7 public import dwt.internal.c.glib_object; | |
8 | |
9 extern(C): | |
10 align(4): | |
11 | |
12 alias void GModule; | |
13 alias void function(void *) _BCD_func__1618; | |
14 alias _BCD_func__1618 GModuleUnload; | |
15 alias char * function(void *) _BCD_func__1619; | |
16 alias _BCD_func__1619 GModuleCheckInit; | |
17 enum GModuleFlags { | |
18 G_MODULE_BIND_LAZY=1, | |
19 G_MODULE_BIND_LOCAL=2, | |
20 G_MODULE_BIND_MASK=3, | |
21 } | |
22 alias int function(void *, void *, void *) _BCD_func__1621; | |
23 alias void function(void *) _BCD_func__1638; | |
24 alias int function(void *, void *, void *) _BCD_func__1642; | |
25 alias void function(_GScanner *, char *, int) _BCD_func__1645; | |
26 alias int function(void *, _GString *, void *) _BCD_func__1718; | |
27 alias void function(void *, void *, void *, _GError * *) _BCD_func__1737; | |
28 alias int function(void *, void *, void *, _GError * *) _BCD_func__1738; | |
29 alias int function(char *, char *, void *, _GError * *) _BCD_func__1739; | |
30 alias void * function(void *, void *) _BCD_func__1750; | |
31 alias void function(_GNode *, void *) _BCD_func__1751; | |
32 alias int function(_GNode *, void *) _BCD_func__1752; | |
33 alias void function(char *) _BCD_func__1760; | |
34 alias void function(char *, int, char *, void *) _BCD_func__1762; | |
35 alias int function(_GIOChannel *, int, void *) _BCD_func__1782; | |
36 alias int function(_GPollFD *, uint, int) _BCD_func__1835; | |
37 alias void function() _BCD_func__1841; | |
38 alias void function(int, int, void *) _BCD_func__1842; | |
39 alias int function(void *) _BCD_func__1843; | |
40 alias void function(_GHookList *, _GHook *) _BCD_func__1879; | |
41 alias int function(_GHook *, void *) _BCD_func__1880; | |
42 alias void function(_GHook *, void *) _BCD_func__1881; | |
43 alias int function(_GHook *, _GHook *) _BCD_func__1882; | |
44 alias void function(uint, void *, void *) _BCD_func__1916; | |
45 alias int function(char *, char *, uint) _BCD_func__1919; | |
46 alias char * function(void *) _BCD_func__1920; | |
47 alias void * function(void *) _BCD_func__1929; | |
48 alias char * function(char *, void *) _BCD_func__2114; | |
49 alias void function(void *, void *, void *) _BCD_func__2115; | |
50 alias uint function(void *) _BCD_func__2116; | |
51 alias void function(void *, void *) _BCD_func__2117; | |
52 alias int function(void *, void *) _BCD_func__2118; | |
53 alias int function(void *, void *, void *) _BCD_func__2119; | |
54 alias int function(void *, void *) _BCD_func__2120; | |
55 version(DYNLINK){ | |
56 extern (C) char * function(char *, char *)g_module_build_path; | |
57 extern (C) char * function(void *)g_module_name; | |
58 extern (C) int function(void *, char *, void * *)g_module_symbol; | |
59 extern (C) char * function()g_module_error; | |
60 extern (C) void function(void *)g_module_make_resident; | |
61 extern (C) int function(void *)g_module_close; | |
62 extern (C) void * function(char *, int)g_module_open; | |
63 extern (C) int function()g_module_supported; | |
64 | |
65 | |
66 Symbol[] symbols = [ | |
67 { "g_module_build_path", cast(void**)& g_module_build_path}, | |
68 { "g_module_name", cast(void**)& g_module_name}, | |
69 { "g_module_symbol", cast(void**)& g_module_symbol}, | |
70 { "g_module_error", cast(void**)& g_module_error}, | |
71 { "g_module_make_resident", cast(void**)& g_module_make_resident}, | |
72 { "g_module_close", cast(void**)& g_module_close}, | |
73 { "g_module_open", cast(void**)& g_module_open}, | |
74 { "g_module_supported", cast(void**)& g_module_supported}, | |
75 ]; | |
76 | |
77 } else { // version(DYNLINK) | |
78 extern (C) char * g_module_build_path(char *, char *); | |
79 extern (C) char * g_module_name(void *); | |
80 extern (C) int g_module_symbol(void *, char *, void * *); | |
81 extern (C) char * g_module_error(); | |
82 extern (C) void g_module_make_resident(void *); | |
83 extern (C) int g_module_close(void *); | |
84 extern (C) void * g_module_open(char *, int); | |
85 extern (C) int g_module_supported(); | |
86 } // version(DYNLINK) |