aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/efl_js/Efl_Js.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/efl_js/Efl_Js.hh')
-rw-r--r--src/lib/efl_js/Efl_Js.hh30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/lib/efl_js/Efl_Js.hh b/src/lib/efl_js/Efl_Js.hh
new file mode 100644
index 0000000000..f494b385ce
--- /dev/null
+++ b/src/lib/efl_js/Efl_Js.hh
@@ -0,0 +1,30 @@
+#ifndef EFL_EFL_JS_HH
+#define EFL_EFL_JS_HH
+
+#include <Eina.hh>
+
+#ifdef EAPI
+# undef EAPI
+#endif
+
+#ifdef _WIN32
+# define EAPI __declspec(dllexport)
+#else
+# ifdef __GNUC__
+# if __GNUC__ >= 4
+# define EAPI __attribute__ ((visibility("default")))
+# else
+# define EAPI
+# endif
+# else
+# define EAPI
+# endif
+#endif /* ! _WIN32 */
+
+namespace efl_js {
+
+EAPI void init(v8::Handle<v8::Object> exports);
+
+}
+
+#endif