win32: add g_win32_get_command_line()
[platform/upstream/glib.git] / docs / reference / glib / glib-overrides.txt
1 # This file makes most of the thread related macros look like
2 # functions, which they really were, if possible easy.
3
4 <MACRO>
5 <NAME>GLIB_DISABLE_DEPRECATION_WARNINGS</NAME>
6 #ifdef GLIB_DISABLE_DEPRECATION_WARNINGS
7 </MACRO>
8
9 <MACRO>
10 <NAME>G_ATOMIC_LOCK_FREE</NAME>
11 #define G_ATOMIC_LOCK_FREE
12 </MACRO>
13
14 # default thread implementation
15
16 <MACRO>
17 <NAME>G_THREADS_IMPL_POSIX</NAME>
18 #define G_THREADS_IMPL_POSIX
19 </MACRO>
20
21 <MACRO>
22 <NAME>G_THREADS_IMPL_WIN32</NAME>
23 #define G_THREADS_IMPL_NONE
24 </MACRO>
25
26 # threads supported?
27
28 <FUNCTION>
29 <NAME>g_thread_supported</NAME>
30 <RETURNS>gboolean</RETURNS>
31 </FUNCTION>
32
33 # GMutex
34
35 <FUNCTION>
36 <NAME>g_mutex_new</NAME>
37 <RETURNS>GMutex *</RETURNS>
38 </FUNCTION>
39
40 <FUNCTION>
41 <NAME>g_mutex_lock</NAME>
42 <RETURNS>void</RETURNS>
43 GMutex *mutex
44 </FUNCTION>
45
46 <FUNCTION>
47 <NAME>g_mutex_trylock</NAME>
48 <RETURNS>gboolean</RETURNS>
49 GMutex *mutex
50 </FUNCTION>
51
52 <FUNCTION>
53 <NAME>g_mutex_unlock</NAME>
54 <RETURNS>void</RETURNS>
55 GMutex *mutex
56 </FUNCTION>
57
58 <FUNCTION>
59 <NAME>g_mutex_free</NAME>
60 <RETURNS>void</RETURNS>
61 GMutex *mutex
62 </FUNCTION>
63
64 # GStaticMutex
65
66 <STRUCT>
67 <NAME>GStaticMutex</NAME>
68 </STRUCT>
69
70 <MACRO>
71 <NAME>G_STATIC_MUTEX_INIT</NAME>
72 #define G_STATIC_MUTEX_INIT
73 </MACRO>
74
75 <FUNCTION>
76 <NAME>g_static_mutex_lock</NAME>
77 <RETURNS>void</RETURNS>
78 GStaticMutex* mutex
79 </FUNCTION>
80
81 <FUNCTION>
82 <NAME>g_static_mutex_trylock</NAME>
83 <RETURNS>gboolean</RETURNS>
84 GStaticMutex* mutex
85 </FUNCTION>
86
87 <FUNCTION>
88 <NAME>g_static_mutex_unlock</NAME>
89 <RETURNS>void</RETURNS>
90 GStaticMutex* mutex
91 </FUNCTION>
92
93 <FUNCTION>
94 <NAME>g_static_mutex_get_mutex</NAME>
95 <RETURNS>GMutex *</RETURNS>
96 GStaticMutex* mutex
97 </FUNCTION>
98
99 # GThread
100
101 <FUNCTION>
102 <NAME>g_thread_yield</NAME>
103 <RETURNS>void</RETURNS>
104 </FUNCTION>
105
106 <FUNCTION>
107 <NAME>g_thread_create</NAME>
108 <RETURNS>GThread *</RETURNS>
109 GThreadFunc func
110 gpointer data,
111 gboolean joinable,
112 GError **error
113 </FUNCTION>
114
115 # G_LOCK_* macros
116
117 <MACRO>
118 <NAME>G_LOCK_DEFINE</NAME>
119 #define G_LOCK_DEFINE(name)    
120 </MACRO>
121
122 <MACRO>
123 <NAME>G_LOCK_DEFINE_STATIC</NAME>
124 #define G_LOCK_DEFINE_STATIC(name)
125 </MACRO>
126
127 <MACRO>
128 <NAME>G_LOCK_EXTERN</NAME>
129 #define G_LOCK_EXTERN(name)    
130 </MACRO>
131
132 <MACRO>
133 <NAME>G_LOCK</NAME>
134 #define G_LOCK(name)
135 </MACRO>
136
137 <MACRO>
138 <NAME>G_UNLOCK</NAME>
139 #define G_UNLOCK(name)
140 </MACRO>
141
142 <MACRO>
143 <NAME>G_TRYLOCK</NAME>
144 #define G_TRYLOCK(name)
145 </MACRO>
146
147 # GCond
148
149 <FUNCTION>
150 <NAME>g_cond_new</NAME>
151 <RETURNS>GCond*</RETURNS>
152 </FUNCTION>
153
154 <FUNCTION>
155 <NAME>g_cond_signal</NAME>
156 <RETURNS>void</RETURNS>
157 GCond *cond
158 </FUNCTION>
159
160 <FUNCTION>
161 <NAME>g_cond_broadcast</NAME>
162 <RETURNS>void</RETURNS>
163 GCond *cond
164 </FUNCTION>
165
166 <FUNCTION>
167 <NAME>g_cond_wait</NAME>
168 <RETURNS>void</RETURNS>
169 GCond *cond, GMutex *mutex
170 </FUNCTION>
171
172 <FUNCTION>
173 <NAME>g_cond_timed_wait</NAME>
174 <RETURNS>gboolean</RETURNS>
175 GCond *cond, GMutex *mutex, GTimeVal *abs_time
176 </FUNCTION>
177
178 <FUNCTION>
179 <NAME>g_cond_free</NAME>
180 <RETURNS>void</RETURNS>
181 GCond *cond
182 </FUNCTION>
183
184 # GPrivate
185 <MACRO>
186 <NAME>G_PRIVATE_INIT</NAME>
187 #define G_PRIVATE_INIT(notify)
188 </MACRO>
189
190 # GStaticPrivate
191
192 <MACRO>
193 <NAME>G_STATIC_PRIVATE_INIT</NAME>
194 #define G_STATIC_PRIVATE_INIT 
195 </MACRO>
196
197 # Definitions for different operating systems
198
199 <MACRO>
200 <NAME>G_OS_UNIX</NAME>
201 #define G_OS_UNIX
202 </MACRO>
203
204 <MACRO>
205 <NAME>G_OS_WIN32</NAME>
206 #define G_OS_WIN32
207 </MACRO>
208
209 <MACRO>
210 <NAME>G_OS_BEOS</NAME>
211 #define G_OS_BEOS
212 </MACRO>
213
214 # g_ascii_isxxx
215
216 <FUNCTION>
217 <NAME>g_ascii_isalnum</NAME>
218 <RETURNS>gboolean</RETURNS>
219 gchar c
220 </FUNCTION>
221
222 <FUNCTION>
223 <NAME>g_ascii_isalpha</NAME>
224 <RETURNS>gboolean</RETURNS>
225 gchar c
226 </FUNCTION>
227
228 <FUNCTION>
229 <NAME>g_ascii_iscntrl</NAME>
230 <RETURNS>gboolean</RETURNS>
231 gchar c
232 </FUNCTION>
233
234 <FUNCTION>
235 <NAME>g_ascii_isdigit</NAME>
236 <RETURNS>gboolean</RETURNS>
237 gchar c
238 </FUNCTION>
239
240 <FUNCTION>
241 <NAME>g_ascii_isgraph</NAME>
242 <RETURNS>gboolean</RETURNS>
243 gchar c
244 </FUNCTION>
245
246 <FUNCTION>
247 <NAME>g_ascii_islower</NAME>
248 <RETURNS>gboolean</RETURNS>
249 gchar c
250 </FUNCTION>
251
252 <FUNCTION>
253 <NAME>g_ascii_isprint</NAME>
254 <RETURNS>gboolean</RETURNS>
255 gchar c
256 </FUNCTION>
257
258 <FUNCTION>
259 <NAME>g_ascii_ispunct</NAME>
260 <RETURNS>gboolean</RETURNS>
261 gchar c
262 </FUNCTION>
263
264 <FUNCTION>
265 <NAME>g_ascii_isspace</NAME>
266 <RETURNS>gboolean</RETURNS>
267 gchar c
268 </FUNCTION>
269
270 <FUNCTION>
271 <NAME>g_ascii_isupper</NAME>
272 <RETURNS>gboolean</RETURNS>
273 gchar c
274 </FUNCTION>
275
276 <FUNCTION>
277 <NAME>g_ascii_isxdigit</NAME>
278 <RETURNS>gboolean</RETURNS>
279 gchar c
280 </FUNCTION>
281
282 # g_atomic
283
284 <FUNCTION>
285 <NAME>g_atomic_int_inc</NAME>
286 <RETURNS>void</RETURNS>
287 gint *atomic
288 </FUNCTION>
289
290 <FUNCTION>
291 <NAME>g_atomic_int_dec_and_test</NAME>
292 <RETURNS>gboolean</RETURNS>
293 gint *atomic
294 </FUNCTION>
295
296 <STRUCT>
297 <NAME>GIConv</NAME>
298 </STRUCT>
299
300 <MACRO>
301 <NAME>G_VA_COPY</NAME>
302 #define G_VA_COPY(ap1,ap2)    
303 </MACRO>