summaryrefslogtreecommitdiff
path: root/glib/src/glib_functions.defs.patch
blob: c043751892b8824d7600322dee6414f46a856275 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
--- glib_functions.defs.orig	2015-02-15 16:49:21.605101660 +0100
+++ glib_functions.defs	2015-02-15 16:49:21.617101670 +0100
@@ -2739,7 +2739,7 @@
   )
 )
 
-(define-method 
+(define-method iconv
   (of-object "GIConv")
   (c-name "g_iconv")
   (return-type "gsize")
@@ -13320,13 +13320,9 @@
   (return-type "const-gchar*-const*")
 )
 
-(define-function g_win32_get_system_data_dirs_for_module
-  (c-name "g_win32_get_system_data_dirs_for_module")
-  (return-type "const-gchar*-const*")
-  (parameters
-    '("void-(*" "address_of_function")
-  )
-)
+;; the g_win32_get_system_data_dirs_for_module() function is removed because it
+;; has a function pointer parameter and that is not handled correctly by
+;; h2def.py.
 
 (define-function g_get_system_config_dirs
   (c-name "g_get_system_config_dirs")
@@ -13419,13 +13415,8 @@
   )
 )
 
-(define-function atexit
-  (c-name "atexit")
-  (return-type "int")
-  (parameters
-    '("void" "(*")
-  )
-)
+;; the atexit() function is removed because it has a function pointer parameter
+;; and that is not handled correctly by h2def.py.
 
 (define-function g_find_program_in_path
   (c-name "g_find_program_in_path")