Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_txt
Modified Files:
Ecore_Txt.h
Log Message:
hidden symbol support
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_txt/Ecore_Txt.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Ecore_Txt.h 30 Apr 2004 03:10:16 -0000 1.2
+++ Ecore_Txt.h 25 Nov 2004 05:17:17 -0000 1.3
@@ -1,6 +1,23 @@
#ifndef _ECORE_TXT_H
#define _ECORE_TXT_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 Ecore_Txt.h
* @brief Provides a text encoding conversion function.
@@ -10,7 +27,7 @@
extern "C" {
#endif
-char *ecore_txt_convert(char *enc_from, char *enc_to, char *text);
+EAPI char *ecore_txt_convert(char *enc_from, char *enc_to, char *text);
#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