Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore/src/lib/ecore_job


Modified Files:
        Ecore_Job.h 


Log Message:


hidden symbol support

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_job/Ecore_Job.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- Ecore_Job.h 30 Apr 2004 03:10:16 -0000      1.3
+++ Ecore_Job.h 25 Nov 2004 05:17:17 -0000      1.4
@@ -1,6 +1,23 @@
 #ifndef _ECORE_JOB_H
 #define _ECORE_JOB_H
 
+#ifdef EAPI
+#undef EAPI
+#endif
+#ifdef WIN32
+# ifdef BUILDING_DLL
+#  define EAPI __declspec(dllexport)
+# else
+#  define EAPI __declspec(dllimport)
+# endif
+#else
+# ifdef GCC_HASCLASSVISIBILITY
+#  define EAPI __attribute__ ((visibility("default")))
+# else
+#  define EAPI
+# endif
+#endif
+
 /**
  * @file
  * @brief Functions for dealing with Ecore jobs.
@@ -14,8 +31,8 @@
 typedef void Ecore_Job; /**< A job handle */
 #endif
 
-Ecore_Job *ecore_job_add(void (*func) (void *data), const void *data);    
-void      *ecore_job_del(Ecore_Job *job);
+EAPI Ecore_Job *ecore_job_add(void (*func) (void *data), const void *data);    
+EAPI void      *ecore_job_del(Ecore_Job *job);
 
 #ifdef __cplusplus
 }




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to