Work on shared library symbol exporting.
This commit is contained in:
parent
21d73bad8b
commit
54ac2f57ce
|
@ -13,6 +13,10 @@ raw "#define __UI_UI_H__";
|
||||||
|
|
||||||
raw "#include <stdint.h>";
|
raw "#include <stdint.h>";
|
||||||
|
|
||||||
|
raw "#ifndef _UI_EXTERN";
|
||||||
|
raw "#define _UI_EXTERN extern";
|
||||||
|
raw "#endif";
|
||||||
|
|
||||||
// TODO note that should be initialized to zero
|
// TODO note that should be initialized to zero
|
||||||
struct InitOptions {
|
struct InitOptions {
|
||||||
// TODO cbSize
|
// TODO cbSize
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
// 22 april 2015
|
||||||
|
#define GLIB_VERSION_MIN_REQUIRED GLIB_VERSION_2_32
|
||||||
|
#define GLIB_VERSION_MAX_ALLOWED GLIB_VERSION_2_32
|
||||||
|
#define GDK_VERSION_MIN_REQUIRED GDK_VERSION_3_4
|
||||||
|
#define GDK_VERSION_MAX_ALLOWED GDK_VERSION_3_4
|
||||||
|
#include <gtk/gtk.h>
|
||||||
|
|
||||||
|
// thanks ebassi in irc.gimp.net/#gtk+
|
||||||
|
#define _UI_EXTERN __attribute__((visibility("default"))) extern
|
||||||
|
#include "../ui.h"
|
||||||
|
#include "../ui_unix.h"
|
||||||
|
#include "../uipriv.h"
|
Loading…
Reference in New Issue