efl/legacy/ecore/src/lib/ecore_txt/Ecore_Txt.h

53 lines
898 B
C

/*
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
*/
#ifndef _ECORE_TXT_H
#define _ECORE_TXT_H
#include <Eina.h>
#warning "this file is deprecated. use Eina.h instead."
#ifdef EAPI
# undef EAPI
#endif
#ifdef _WIN32
# ifdef EFL_ECORE_TXT_BUILD
# ifdef DLL_EXPORT
# define EAPI __declspec(dllexport)
# else
# define EAPI
# endif /* ! DLL_EXPORT */
# else
# define EAPI __declspec(dllimport)
# endif /* ! EFL_ECORE_TXT_BUILD */
#else
# ifdef __GNUC__
# if __GNUC__ >= 4
# define EAPI __attribute__ ((visibility("default")))
# else
# define EAPI
# endif
# else
# define EAPI
# endif
#endif /* ! _WIN32 */
/**
* @file Ecore_Txt.h
* @brief Provides a text encoding conversion function.
*/
#ifdef __cplusplus
extern "C" {
#endif
EAPI char *ecore_txt_convert(const char *enc_from, const char *enc_to, const char *text) EINA_DEPRECATED;
#ifdef __cplusplus
}
#endif
#endif