Enlightenment CVS committal
Author : sebastid
Project : e17
Module : libs/esmart
Dir : e17/libs/esmart/src/lib/esmart_draggies
Modified Files:
Esmart_Draggies.h esmart_draggies.c
Log Message:
EAPI
===================================================================
RCS file: /cvs/e/e17/libs/esmart/src/lib/esmart_draggies/Esmart_Draggies.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Esmart_Draggies.h 4 Sep 2005 19:00:25 -0000 1.2
+++ Esmart_Draggies.h 6 Sep 2006 07:17:48 -0000 1.3
@@ -1,6 +1,27 @@
#ifndef ESMART_DRAGGIES_H
#define ESMART_DRAGGIES_H
+#ifdef EAPI
+#undef EAPI
+#endif
+#ifdef WIN32
+# ifdef BUILDING_DLL
+# define EAPI __declspec(dllexport)
+# else
+# define EAPI __declspec(dllimport)
+# endif
+#else
+# ifdef __GNUC__
+# if __GNUC__ >= 4
+# define EAPI __attribute__ ((visibility("default")))
+# else
+# define EAPI
+# endif
+# else
+# define EAPI
+# endif
+#endif
+
#include <Evas.h>
#include <Ecore_Evas.h>
@@ -22,14 +43,14 @@
Evas_Object *obj; /* the rectangle that gets events */
};
-Evas_Object *esmart_draggies_new (Ecore_Evas * evas);
-void esmart_draggies_button_set (Evas_Object * o, int button);
-void esmart_draggies_event_callback_add (Evas_Object * o,
- Evas_Callback_Type type,
- void (*func) (void *data, Evas * e,
- Evas_Object * o,
- void *ev),
- const void *data);
+EAPI Evas_Object *esmart_draggies_new (Ecore_Evas * evas);
+EAPI void esmart_draggies_button_set (Evas_Object * o, int button);
+EAPI void esmart_draggies_event_callback_add (Evas_Object * o,
+ Evas_Callback_Type type,
+ void (*func) (void *data, Evas *
e,
+ Evas_Object * o,
+ void *ev),
+ const void *data);
#ifdef __cplusplus
}
===================================================================
RCS file: /cvs/e/e17/libs/esmart/src/lib/esmart_draggies/esmart_draggies.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- esmart_draggies.c 14 Jan 2006 15:30:34 -0000 1.3
+++ esmart_draggies.c 6 Sep 2006 07:17:48 -0000 1.4
@@ -102,7 +102,7 @@
/*==========================================================================
* The two external functions, new and button set
*========================================================================*/
-Evas_Object *
+EAPI Evas_Object *
esmart_draggies_new (Ecore_Evas * ee)
{
Evas_Object *o = NULL;
@@ -133,7 +133,7 @@
return (result);
}
-void
+EAPI void
esmart_draggies_button_set (Evas_Object * o, int button)
{
Esmart_Draggies *data = NULL;
@@ -143,7 +143,7 @@
}
}
-void
+EAPI void
esmart_draggies_event_callback_add (Evas_Object * o, Evas_Callback_Type type,
void (*func) (void *data, Evas * e,
Evas_Object * obj,
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs