forked from enlightenment/enventor
lib: add export/import for libraries on Windows
Summary: Exporting/Importing Enventor dll for Win32. Differential Revision: https://phab.enlightenment.org/D2040
This commit is contained in:
parent
cf3ad3a914
commit
05a848fddd
|
@ -1 +1,19 @@
|
|||
/***
|
||||
* Compatible ABI for Win32
|
||||
***/
|
||||
#ifdef _WIN32
|
||||
# ifdef EAPI
|
||||
# undef EAPI
|
||||
# endif
|
||||
# ifdef EOAPI
|
||||
# undef EOAPI
|
||||
# endif
|
||||
# ifdef ENVENTOR_BUILD
|
||||
# define EAPI __declspec(dllexport)
|
||||
# define EOAPI __declspec(dllexport)
|
||||
# else
|
||||
# define EAPI __declspec(dllimport)
|
||||
# define EOAPI __declspec(dllimport)
|
||||
# endif
|
||||
#endif
|
||||
#include "enventor_object.eo.h"
|
||||
|
|
|
@ -1,3 +1,21 @@
|
|||
/***
|
||||
* Compatible ABI for Win32
|
||||
***/
|
||||
#ifdef _WIN32
|
||||
# ifdef EAPI
|
||||
# undef EAPI
|
||||
# endif
|
||||
# ifdef ENVENTOR_BUILD
|
||||
# define EAPI __declspec(dllexport)
|
||||
# else
|
||||
# define EAPI __declspec(dllimport)
|
||||
# endif
|
||||
# ifdef EOAPI
|
||||
# undef EOAPI
|
||||
# endif
|
||||
#define EOAPI EAPI
|
||||
#endif
|
||||
|
||||
typedef enum
|
||||
{
|
||||
ENVENTOR_OUT_EDJ = 0,
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#endif
|
||||
|
||||
#define ENVENTOR_BETA_API_SUPPORT 1
|
||||
#define ENVENTOR_BUILD
|
||||
|
||||
#include <Enventor.h>
|
||||
#include "enventor_private.h"
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#endif
|
||||
|
||||
#define ENVENTOR_BETA_API_SUPPORT 1
|
||||
#define ENVENTOR_BUILD
|
||||
|
||||
#include <Enventor.h>
|
||||
#include "enventor_private.h"
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#define ENVENTOR_BETA_API_SUPPORT 1
|
||||
#define EDJE_EDIT_IS_UNSTABLE_AND_I_KNOW_ABOUT_IT 1
|
||||
#define ENVENTOR_BUILD
|
||||
|
||||
#include <Enventor.h>
|
||||
#include <Edje_Edit.h>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#endif
|
||||
|
||||
#define ENVENTOR_BETA_API_SUPPORT 1
|
||||
#define ENVENTOR_BUILD
|
||||
|
||||
#include <Enventor.h>
|
||||
#include <Eio.h>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#endif
|
||||
|
||||
#define ENVENTOR_BETA_API_SUPPORT 1
|
||||
#define ENVENTOR_BUILD
|
||||
|
||||
#include <Enventor.h>
|
||||
#include "enventor_private.h"
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#endif
|
||||
|
||||
#define ENVENTOR_BETA_API_SUPPORT 1
|
||||
#define ENVENTOR_BUILD
|
||||
|
||||
#include <Enventor.h>
|
||||
#include "enventor_private.h"
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#define ENVENTOR_BETA_API_SUPPORT 1
|
||||
#define EDJE_EDIT_IS_UNSTABLE_AND_I_KNOW_ABOUT_IT 1
|
||||
#define ENVENTOR_BUILD
|
||||
|
||||
#include <Enventor.h>
|
||||
#include <Edje_Edit.h>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#endif
|
||||
|
||||
#define ENVENTOR_BETA_API_SUPPORT 1
|
||||
#define ENVENTOR_BUILD
|
||||
|
||||
#include <Enventor.h>
|
||||
#include <Eio.h>
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#define ELM_INTERNAL_API_ARGESFSDFEFC 1
|
||||
#define ENVENTOR_BETA_API_SUPPORT 1
|
||||
#define ENVENTOR_BUILD
|
||||
|
||||
#include <Enventor.h>
|
||||
#include <Eio.h>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#endif
|
||||
|
||||
#define ENVENTOR_BETA_API_SUPPORT 1
|
||||
#define ENVENTOR_BUILD
|
||||
|
||||
#include <Enventor.h>
|
||||
#include "enventor_private.h"
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#endif
|
||||
|
||||
#define ENVENTOR_BETA_API_SUPPORT 1
|
||||
#define ENVENTOR_BUILD
|
||||
|
||||
#include <Enventor.h>
|
||||
#include "enventor_private.h"
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#endif
|
||||
|
||||
#define ENVENTOR_BETA_API_SUPPORT 1
|
||||
#define ENVENTOR_BUILD
|
||||
|
||||
#include <Enventor.h>
|
||||
#include "enventor_private.h"
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#endif
|
||||
|
||||
#define ENVENTOR_BETA_API_SUPPORT 1
|
||||
#define ENVENTOR_BUILD
|
||||
|
||||
#include <Enventor.h>
|
||||
#include "enventor_private.h"
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#endif
|
||||
|
||||
#define ENVENTOR_BETA_API_SUPPORT 1
|
||||
#define ENVENTOR_BUILD
|
||||
|
||||
#include <Enventor.h>
|
||||
#include "enventor_private.h"
|
||||
|
|
Loading…
Reference in New Issue