repo.or.cz
/
cslatevm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Extracting parts of the formatting method into configuration and an options helper...
[cslatevm.git]
/
src
/
plugins
/
gdk-wrapper.c
blob
196feb3b11864e9593b7014b2c82e9192f227658
1
#ifdef WIN32
2
# define EXPORT __declspec(dllexport)
3
#else
4
# define EXPORT
5
#endif
6
7
#include <gdk/gdk.h>
8
#include <stdio.h>_lib
9
#include <stdlib.h>
10
11
EXPORT
void
wrapper_gdk_lib_init
(
void
) {
12
if
(
g_thread_supported
() ) {
13
printf
(
"g_thread NOT supported
\n
"
);
14
exit
(-
1
);
15
}
16
g_thread_init
(
NULL
);
17
gdk_threads_init
();
18
}