Work on shared library symbol exporting.

This commit is contained in:
Pietro Gagliardi 2015-04-22 14:09:17 -04:00
parent 21d73bad8b
commit 54ac2f57ce
2 changed files with 16 additions and 0 deletions

View File

@ -13,6 +13,10 @@ raw "#define __UI_UI_H__";
raw "#include <stdint.h>";
raw "#ifndef _UI_EXTERN";
raw "#define _UI_EXTERN extern";
raw "#endif";
// TODO note that should be initialized to zero
struct InitOptions {
// TODO cbSize

12
new/unix/uipriv_unix.h Normal file
View File

@ -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"