efl/src/lib/elua/Elua.h

64 lines
1.0 KiB
C

/**
* @file Elua.h
* @brief Elua Library
*
* @defgroup Elua Elua
*/
/**
*
* @section intro Elua library
*
* The Elua library was created to ease integration of EFL Lua into other EFL
* libraries or applications. Using the Elua library you can easily create a
* Lua state that is fully set up for running EFL Lua bindings.
*
* You can find the API documentation at @ref Elua
*/
#ifndef _ELUA_H
#define _ELUA_H
#ifdef EAPI
# undef EAPI
#endif
#ifdef _WIN32
# ifdef EFL_ELUA_BUILD
# ifdef DLL_EXPORT
# define EAPI __declspec(dllexport)
# else
# define EAPI
# endif /* ! DLL_EXPORT */
# else
# define EAPI __declspec(dllimport)
# endif /* ! EFL_ELUA_BUILD */
#else
# ifdef __GNUC__
# if __GNUC__ >= 4
# define EAPI __attribute__ ((visibility("default")))
# else
# define EAPI
# endif
# else
# define EAPI
# endif
#endif /* ! _WIN32 */
#ifdef __cplusplus
extern "C" {
#endif
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#ifdef EFL_BETA_API_SUPPORT
#endif
#ifdef __cplusplus
} // extern "C" {
#endif
#endif