Merge branch 'master' into devs/hermet/lottie

This commit is contained in:
Hermet Park 2020-12-21 13:52:24 +09:00
commit fd9f7cf6d8
195 changed files with 2992 additions and 3227 deletions

View File

@ -4,30 +4,32 @@
#include <Eina.h>
#include <Eo.h>
#ifdef EAPI
#undef EAPI
#ifdef ECORE_AUDIO_API
#error ECORE_AUDIO_API should not be already defined
#endif
#ifdef _WIN32
# ifdef EFL_BUILD
# ifdef DLL_EXPORT
# define EAPI __declspec(dllexport)
# ifndef ECORE_AUDIO_STATIC
# ifdef ECORE_AUDIO_BUILD
# define ECORE_AUDIO_API __declspec(dllexport)
# else
# define EAPI
# define ECORE_AUDIO_API __declspec(dllimport)
# endif
# else
# define EAPI __declspec(dllimport)
# define ECORE_AUDIO_API
# endif
# define ECORE_AUDIO_API_WEAK
#elif __GNUC__
# if __GNUC__ >= 4
# define ECORE_AUDIO_API __attribute__ ((visibility("default")))
# define ECORE_AUDIO_API_WEAK __attribute__ ((weak))
# else
# define ECORE_AUDIO_API
# define ECORE_AUDIO_API_WEAK
# endif
#else
# ifdef __GNUC__
# if __GNUC__ >= 4
# define EAPI __attribute__ ((visibility("default")))
# else
# define EAPI
# endif
# else
# define EAPI
# endif
# define ECORE_AUDIO_API
# define ECORE_AUDIO_API_WEAK
#endif
/**
@ -176,7 +178,7 @@ typedef struct _Ecore_Audio_Vio Ecore_Audio_Vio;
* When Ecore_Audio is not used anymore, call ecore_audio_shutdown()
* to shut down the Ecore_Audio library.
*/
EAPI int ecore_audio_init(void);
ECORE_AUDIO_API int ecore_audio_init(void);
/**
* @brief Shuts down the Ecore_Audio library.
@ -190,7 +192,7 @@ EAPI int ecore_audio_init(void);
* been called the same number of times than ecore_audio_init(). In that case
* it shuts down all the services it uses.
*/
EAPI int ecore_audio_shutdown(void);
ECORE_AUDIO_API int ecore_audio_shutdown(void);
//Legacy compatibility code
@ -200,14 +202,14 @@ EAPI int ecore_audio_shutdown(void);
* @since 1.8
*
*/
EAPI const char* ecore_audio_obj_name_get(const Efl_Object* obj);
ECORE_AUDIO_API const char* ecore_audio_obj_name_get(const Efl_Object* obj);
/**
* @brief Name of the object
*
* @since 1.8
*
*/
EAPI void ecore_audio_obj_name_set(Efl_Object* obj, const char *name);
ECORE_AUDIO_API void ecore_audio_obj_name_set(Efl_Object* obj, const char *name);
#include <ecore_audio_obj.h>
#include <ecore_audio_obj_in.h>
@ -230,7 +232,4 @@ EAPI void ecore_audio_obj_name_set(Efl_Object* obj, const char *n
}
#endif
#undef EAPI
#define EAPI
#endif

View File

@ -27,7 +27,7 @@ Ecore_Audio_Lib_Sndfile *ecore_audio_sndfile_lib = NULL;
/* externally accessible functions */
EAPI int
ECORE_AUDIO_API int
ecore_audio_init(void)
{
@ -60,7 +60,7 @@ ecore_audio_init(void)
return _ecore_audio_init_count;
}
EAPI int
ECORE_AUDIO_API int
ecore_audio_shutdown(void)
{
DBG("Ecore_Audio shutdown");
@ -263,13 +263,13 @@ ecore_audio_sndfile_lib_unload(void)
#endif /* HAVE_SNDFILE */
EAPI const char*
ECORE_AUDIO_API const char*
ecore_audio_obj_name_get(const Efl_Object* obj)
{
return efl_name_get(obj);
}
EAPI void
ECORE_AUDIO_API void
ecore_audio_obj_name_set(Efl_Object* obj, const char *name)
{
efl_name_set(obj, name);

View File

@ -24,6 +24,7 @@ foreach eo_file : pub_eo_files
'-o', 'h:' + join_paths(meson.current_build_dir(), eo_file + '.h'),
'-o', 'c:' + join_paths(meson.current_build_dir(), eo_file + '.c'),
'-o', 'd:' + join_paths(meson.current_build_dir(), eo_file + '.d'),
'-e', 'ECORE_AUDIO_API',
'-gchd', '@INPUT@'])
endforeach
@ -80,7 +81,7 @@ endif
ecore_audio_lib = library('ecore_audio',
ecore_audio_src, pub_eo_file_target,
c_args : package_c_args,
c_args : [package_c_args, '-DECORE_AUDIO_BUILD'],
dependencies: ecore_audio_pub_deps + ecore_audio_deps + ecore_audio_ext_deps,
include_directories : config_dir,
install: true,

View File

@ -32,41 +32,34 @@
#include <Eet.h>
#include <Efl_Config.h>
#ifdef EAPI
# undef EAPI
#endif
#ifdef EAPI_WEAK
# undef EAPI_WEAK
#ifdef EIO_API
#error EIO_API should not be already defined
#endif
#ifdef _WIN32
# ifdef EFL_BUILD
# ifdef DLL_EXPORT
# define EAPI __declspec(dllexport)
# ifndef EIO_STATIC
# ifdef EIO_BUILD
# define EIO_API __declspec(dllexport)
# else
# define EAPI
# define EIO_API __declspec(dllimport)
# endif
# else
# define EAPI __declspec(dllimport)
# define EIO_API
# endif
# define EIO_API_WEAK
#elif defined(__GNUC__)
# if __GNUC__ >= 4
# define EIO_API __attribute__ ((visibility("default")))
# define EIO_API_WEAK __attribute__ ((weak))
# else
# define EIO_API
# define EIO_API_WEAK
# endif
# define EAPI_WEAK
#else
# ifdef __GNUC__
# if __GNUC__ >= 4
# define EAPI __attribute__ ((visibility("default")))
# define EAPI_WEAK __attribute__ ((weak))
# else
# define EAPI
# define EAPI_WEAK
# endif
# else
# define EAPI
# define EAPI_WEAK
# endif
# define EIO_API
# define EIO_API_WEAK
#endif
#ifdef __cplusplus
extern "C" {
#endif
@ -133,7 +126,7 @@ static inline Eina_Bool eio_file_is_lnk(const Eina_Stat *stat);
* @param interval The interval (in seconds) to poll
* @since 1.21
*/
EAPI void eio_monitoring_interval_set(double interval);
EIO_API void eio_monitoring_interval_set(double interval);
#include "eio_inline_helper.x"
@ -144,7 +137,4 @@ EAPI void eio_monitoring_interval_set(double interval);
}
#endif
#undef EAPI
#define EAPI
#endif

View File

@ -18,7 +18,7 @@ extern "C" {
* Eio Version Information
* @ingroup Eio
*/
EAPI extern Eio_Version *eio_version;
EIO_API extern Eio_Version *eio_version;
/**
* @file
@ -206,7 +206,7 @@ struct _Eio_Progress
* @see eio_file_direct_ls()
* @see eio_file_stat_ls()
*/
EAPI Eio_File *eio_file_ls(const char *dir,
EIO_API Eio_File *eio_file_ls(const char *dir,
Eio_Filter_Cb filter_cb,
Eio_Main_Cb main_cb,
Eio_Done_Cb done_cb,
@ -241,7 +241,7 @@ EAPI Eio_File *eio_file_ls(const char *dir,
* @see eina_file_direct_ls()
* @see ecore_thread_feedback_run()
*/
EAPI Eio_File *eio_file_direct_ls(const char *dir,
EIO_API Eio_File *eio_file_direct_ls(const char *dir,
Eio_Filter_Direct_Cb filter_cb,
Eio_Main_Direct_Cb main_cb,
Eio_Done_Cb done_cb,
@ -272,7 +272,7 @@ EAPI Eio_File *eio_file_direct_ls(const char *dir,
* @see eina_file_stat_ls()
* @see ecore_thread_feedback_run()
*/
EAPI Eio_File *eio_file_stat_ls(const char *dir,
EIO_API Eio_File *eio_file_stat_ls(const char *dir,
Eio_Filter_Direct_Cb filter_cb,
Eio_Main_Direct_Cb main_cb,
Eio_Done_Cb done_cb,
@ -301,7 +301,7 @@ EAPI Eio_File *eio_file_stat_ls(const char *dir,
* @see eina_file_stat_ls()
* @see ecore_thread_feedback_run()
*/
EAPI Eio_File *eio_dir_stat_ls(const char *dir,
EIO_API Eio_File *eio_dir_stat_ls(const char *dir,
Eio_Filter_Direct_Cb filter_cb,
Eio_Main_Direct_Cb main_cb,
Eio_Done_Cb done_cb,
@ -329,7 +329,7 @@ EAPI Eio_File *eio_dir_stat_ls(const char *dir,
* @see eina_file_direct_ls()
* @see ecore_thread_feedback_run()
*/
EAPI Eio_File *eio_dir_direct_ls(const char *dir,
EIO_API Eio_File *eio_dir_direct_ls(const char *dir,
Eio_Filter_Dir_Cb filter_cb,
Eio_Main_Direct_Cb main_cb,
Eio_Done_Cb done_cb,
@ -346,7 +346,7 @@ EAPI Eio_File *eio_dir_direct_ls(const char *dir,
*
* eio_file_direct_stat calls stat in another thread. This prevents any blocking in your apps.
*/
EAPI Eio_File *eio_file_direct_stat(const char *path,
EIO_API Eio_File *eio_file_direct_stat(const char *path,
Eio_Stat_Cb done_cb,
Eio_Error_Cb error_cb,
const void *data);
@ -380,7 +380,7 @@ EAPI Eio_File *eio_file_direct_stat(const char *path,
* Set a new permission of a path changing it to the mode passed as argument.
* It's equivalent to the chmod command.
*/
EAPI Eio_File *eio_file_chmod(const char *path,
EIO_API Eio_File *eio_file_chmod(const char *path,
mode_t mode,
Eio_Done_Cb done_cb,
Eio_Error_Cb error_cb,
@ -402,7 +402,7 @@ EAPI Eio_File *eio_file_chmod(const char *path,
* @note Some platforms (including Windows) do not support chown(). In that
* case, this function returns @c NULL.
*/
EAPI Eio_File *eio_file_chown(const char *path,
EIO_API Eio_File *eio_file_chown(const char *path,
const char *user,
const char *group,
Eio_Done_Cb done_cb,
@ -419,7 +419,7 @@ EAPI Eio_File *eio_file_chown(const char *path,
*
* This function will erase a file.
*/
EAPI Eio_File *eio_file_unlink(const char *path,
EIO_API Eio_File *eio_file_unlink(const char *path,
Eio_Done_Cb done_cb,
Eio_Error_Cb error_cb,
const void *data);
@ -435,7 +435,7 @@ EAPI Eio_File *eio_file_unlink(const char *path,
*
* Creates a new directory using the mode provided.
*/
EAPI Eio_File *eio_file_mkdir(const char *path,
EIO_API Eio_File *eio_file_mkdir(const char *path,
mode_t mode,
Eio_Done_Cb done_cb,
Eio_Error_Cb error_cb,
@ -457,7 +457,7 @@ EAPI Eio_File *eio_file_mkdir(const char *path,
* if possible, if not it will fallback to mmap/write. It will try to preserve
* access rights, but not user/group identification.
*/
EAPI Eio_File *eio_file_move(const char *source,
EIO_API Eio_File *eio_file_move(const char *source,
const char *dest,
Eio_Progress_Cb progress_cb,
Eio_Done_Cb done_cb,
@ -479,7 +479,7 @@ EAPI Eio_File *eio_file_move(const char *source,
* if possible, if not it will fallback to mmap/write. It will try to preserve
* access rights, but not user/group identification.
*/
EAPI Eio_File *eio_file_copy(const char *source,
EIO_API Eio_File *eio_file_copy(const char *source,
const char *dest,
Eio_Progress_Cb progress_cb,
Eio_Done_Cb done_cb,
@ -509,7 +509,7 @@ EAPI Eio_File *eio_file_copy(const char *source,
*
* @note if a rename occurs, the filter callback will not be called.
*/
EAPI Eio_File *eio_dir_move(const char *source,
EIO_API Eio_File *eio_dir_move(const char *source,
const char *dest,
Eio_Filter_Direct_Cb filter_cb,
Eio_Progress_Cb progress_cb,
@ -537,7 +537,7 @@ EAPI Eio_File *eio_dir_move(const char *source,
* want to pass the file to the main_cb or not. Return EINA_TRUE to pass it to
* the main_cb or EINA_FALSE to ignore it.
*/
EAPI Eio_File *eio_dir_copy(const char *source,
EIO_API Eio_File *eio_dir_copy(const char *source,
const char *dest,
Eio_Filter_Direct_Cb filter_cb,
Eio_Progress_Cb progress_cb,
@ -562,7 +562,7 @@ EAPI Eio_File *eio_dir_copy(const char *source,
* want to pass the file to the main_cb or not. Return EINA_TRUE to pass it to
* the main_cb or EINA_FALSE to ignore it.
*/
EAPI Eio_File *eio_dir_unlink(const char *path,
EIO_API Eio_File *eio_dir_unlink(const char *path,
Eio_Filter_Direct_Cb filter_cb,
Eio_Progress_Cb progress_cb,
Eio_Done_Cb done_cb,
@ -593,7 +593,7 @@ EAPI Eio_File *eio_dir_unlink(const char *path,
* @param data Unmodified user data passed to callbacks
* @return A reference to the I/O operation.
*/
EAPI Eio_File *eio_file_xattr(const char *path,
EIO_API Eio_File *eio_file_xattr(const char *path,
Eio_Filter_Cb filter_cb,
Eio_Main_Cb main_cb,
Eio_Done_Cb done_cb,
@ -614,7 +614,7 @@ EAPI Eio_File *eio_file_xattr(const char *path,
* eio_file_xattr_int_set calls eina_xattr_int_set from another thread. This prevents blocking in your apps. If
* the writing succeeded, the done_cb will be called even if a cancel was requested, but came too late.
*/
EAPI Eio_File *eio_file_xattr_int_set(const char *path,
EIO_API Eio_File *eio_file_xattr_int_set(const char *path,
const char *attribute,
int xattr_int,
Eina_Xattr_Flags flags,
@ -636,7 +636,7 @@ EAPI Eio_File *eio_file_xattr_int_set(const char *path,
* eio_file_xattr_double_set calls eina_xattr_double_set from another thread. This prevents blocking in your apps. If
* the writing succeeded, the done_cb will be called even if a cancel was requested, but came too late.
*/
EAPI Eio_File *eio_file_xattr_double_set(const char *path,
EIO_API Eio_File *eio_file_xattr_double_set(const char *path,
const char *attribute,
double xattr_double,
Eina_Xattr_Flags flags,
@ -657,7 +657,7 @@ EAPI Eio_File *eio_file_xattr_double_set(const char *path,
* eio_file_xattr_string_set calls eina_xattr_string_set from another thread. This prevents blocking in your apps. If
* the writing succeeded, the done_cb will be called even if a cancel was requested, but came too late.
*/
EAPI Eio_File *eio_file_xattr_string_set(const char *path,
EIO_API Eio_File *eio_file_xattr_string_set(const char *path,
const char *attribute,
const char *xattr_string,
Eina_Xattr_Flags flags,
@ -679,7 +679,7 @@ EAPI Eio_File *eio_file_xattr_string_set(const char *path,
* eio_file_xattr_set calls setxattr from another thread. This prevents blocking in your apps. If
* the writing succeeded, the done_cb will be called even if a cancel was requested, but came too late.
*/
EAPI Eio_File *eio_file_xattr_set(const char *path,
EIO_API Eio_File *eio_file_xattr_set(const char *path,
const char *attribute,
const char *xattr_data,
unsigned int xattr_size,
@ -699,7 +699,7 @@ EAPI Eio_File *eio_file_xattr_set(const char *path,
*
* eio_file_xattr_get calls getxattr from another thread. This prevents blocking in your apps.
*/
EAPI Eio_File *eio_file_xattr_get(const char *path,
EIO_API Eio_File *eio_file_xattr_get(const char *path,
const char *attribute,
Eio_Done_Data_Cb done_cb,
Eio_Error_Cb error_cb,
@ -715,7 +715,7 @@ EAPI Eio_File *eio_file_xattr_get(const char *path,
*
* eio_file_xattr_int_get calls eina_xattr_int_get from another thread. This prevents blocking in your apps.
*/
EAPI Eio_File *eio_file_xattr_int_get(const char *path,
EIO_API Eio_File *eio_file_xattr_int_get(const char *path,
const char *attribute,
Eio_Done_Int_Cb done_cb,
Eio_Error_Cb error_cb,
@ -731,7 +731,7 @@ EAPI Eio_File *eio_file_xattr_int_get(const char *path,
*
* eio_file_xattr_double_get calls eina_xattr_double_get from another thread. This prevents blocking in your apps.
*/
EAPI Eio_File *eio_file_xattr_double_get(const char *path,
EIO_API Eio_File *eio_file_xattr_double_get(const char *path,
const char *attribute,
Eio_Done_Double_Cb done_cb,
Eio_Error_Cb error_cb,
@ -747,7 +747,7 @@ EAPI Eio_File *eio_file_xattr_double_get(const char *path,
*
* eio_file_xattr_string_get calls eina_xattr_string_get from another thread. This prevents blocking in your apps.
*/
EAPI Eio_File *eio_file_xattr_string_get(const char *path,
EIO_API Eio_File *eio_file_xattr_string_get(const char *path,
const char *attribute,
Eio_Done_String_Cb done_cb,
Eio_Error_Cb error_cb,
@ -774,13 +774,13 @@ EAPI Eio_File *eio_file_xattr_string_get(const char *path,
* @brief Initialize eio and all its required submodule.
* @return the current number of eio users.
*/
EAPI int eio_init(void);
EIO_API int eio_init(void);
/**
* @brief Shutdown eio and all its submodule if possible.
* @return the number of pending users of eio.
*/
EAPI int eio_shutdown(void);
EIO_API int eio_shutdown(void);
/**
* @brief Set the limit to the maximum amount of memory used
@ -798,7 +798,7 @@ EAPI int eio_shutdown(void);
* the thread might stall.
* @since 1.10
*/
EAPI void eio_memory_burst_limit_set(size_t limit);
EIO_API void eio_memory_burst_limit_set(size_t limit);
/**
* @brief Get the actual limit to the maximum amount of memory used
@ -807,7 +807,7 @@ EAPI void eio_memory_burst_limit_set(size_t limit);
* @since 1.10
* @see eio_memory_burst_limit_set
*/
EAPI size_t eio_memory_burst_limit_get(void);
EIO_API size_t eio_memory_burst_limit_get(void);
/**
* @brief Return the container during EIO operation
@ -817,7 +817,7 @@ EAPI size_t eio_memory_burst_limit_get(void);
* This is only available and make sense in the thread callback, not in
* the mainloop.
*/
EAPI void *eio_file_container_get(Eio_File *ls);
EIO_API void *eio_file_container_get(Eio_File *ls);
/**
* @brief Cancel any Eio_File.
@ -827,7 +827,7 @@ EAPI void *eio_file_container_get(Eio_File *ls);
* This will cancel any kind of I/O operation and cleanup the mess. This means
* that it could take time to cancel an I/O.
*/
EAPI Eina_Bool eio_file_cancel(Eio_File *ls);
EIO_API Eina_Bool eio_file_cancel(Eio_File *ls);
/**
* @brief Check if an Eio_File operation has been cancelled.
@ -836,7 +836,7 @@ EAPI Eina_Bool eio_file_cancel(Eio_File *ls);
*
* In case of an error it also return EINA_TRUE.
*/
EAPI Eina_Bool eio_file_check(Eio_File *ls);
EIO_API Eina_Bool eio_file_check(Eio_File *ls);
/**
* @brief Associate data with the current filtered file.
@ -851,7 +851,7 @@ EAPI Eina_Bool eio_file_check(Eio_File *ls);
* This function can only be safely called from within the filter callback.
* If you don't need to copy the key around you can use @ref eio_file_associate_direct_add
*/
EAPI Eina_Bool eio_file_associate_add(Eio_File *ls,
EIO_API Eina_Bool eio_file_associate_add(Eio_File *ls,
const char *key,
const void *data, Eina_Free_Cb free_cb);
@ -867,7 +867,7 @@ EAPI Eina_Bool eio_file_associate_add(Eio_File *ls,
* If you need eio to make a proper copy of the @p key to be safe use
* @ref eio_file_associate_add instead.
*/
EAPI Eina_Bool eio_file_associate_direct_add(Eio_File *ls,
EIO_API Eina_Bool eio_file_associate_direct_add(Eio_File *ls,
const char *key,
const void *data, Eina_Free_Cb free_cb);
@ -877,7 +877,7 @@ EAPI Eina_Bool eio_file_associate_direct_add(Eio_File *ls,
* @param key The key pointing to the data to retrieve.
* @return the data associated with the key or @p NULL if not found.
*/
EAPI void *eio_file_associate_find(Eio_File *ls, const char *key);
EIO_API void *eio_file_associate_find(Eio_File *ls, const char *key);
/**
* @}
@ -909,7 +909,7 @@ EAPI void *eio_file_associate_find(Eio_File *ls, const char *key);
* @return Pointer to the file if successful or NULL otherwise.
*
*/
EAPI Eio_File *eio_file_open(const char *name, Eina_Bool shared,
EIO_API Eio_File *eio_file_open(const char *name, Eina_Bool shared,
Eio_Open_Cb open_cb,
Eio_Error_Cb error_cb,
const void *data);
@ -922,7 +922,7 @@ EAPI Eio_File *eio_file_open(const char *name, Eina_Bool shared,
* @param data Unmodified user data passed to callbacks
* @return Pointer to the file if successful or NULL otherwise.
*/
EAPI Eio_File *eio_file_close(Eina_File *f,
EIO_API Eio_File *eio_file_close(Eina_File *f,
Eio_Done_Cb done_cb,
Eio_Error_Cb error_cb,
const void *data);
@ -939,7 +939,7 @@ EAPI Eio_File *eio_file_close(Eina_File *f,
*
* The container of the Eio_File is the Eina_File.
*/
EAPI Eio_File *eio_file_map_all(Eina_File *f,
EIO_API Eio_File *eio_file_map_all(Eina_File *f,
Eina_File_Populate rule,
Eio_Filter_Map_Cb filter_cb,
Eio_Map_Cb map_cb,
@ -960,7 +960,7 @@ EAPI Eio_File *eio_file_map_all(Eina_File *f,
*
* The container of the Eio_File is the Eina_File.
*/
EAPI Eio_File *eio_file_map_new(Eina_File *f,
EIO_API Eio_File *eio_file_map_new(Eina_File *f,
Eina_File_Populate rule,
unsigned long int offset,
unsigned long int length,
@ -994,7 +994,7 @@ EAPI Eio_File *eio_file_map_new(Eina_File *f,
*
* This function calls eet_open() from another thread using Ecore_Thread.
*/
EAPI Eio_File *eio_eet_open(const char *filename,
EIO_API Eio_File *eio_eet_open(const char *filename,
Eet_File_Mode mode,
Eio_Eet_Open_Cb eet_cb,
Eio_Error_Cb error_cb,
@ -1011,7 +1011,7 @@ EAPI Eio_File *eio_eet_open(const char *filename,
* using Ecore_Thread. You should assume that the Eet_File is dead after this
* function is called.
*/
EAPI Eio_File *eio_eet_close(Eet_File *ef,
EIO_API Eio_File *eio_eet_close(Eet_File *ef,
Eio_Done_Cb done_cb,
Eio_Eet_Error_Cb error_cb,
const void *data);
@ -1027,7 +1027,7 @@ EAPI Eio_File *eio_eet_close(Eet_File *ef,
* This function will call eet_sync() from another thread. As long as the done_cb or
* error_cb haven't be called, you must keep @p ef open.
*/
EAPI Eio_File *eio_eet_sync(Eet_File *ef,
EIO_API Eio_File *eio_eet_sync(Eet_File *ef,
Eio_Done_Cb done_cb,
Eio_Eet_Error_Cb error_cb,
const void *data);
@ -1046,7 +1046,7 @@ EAPI Eio_File *eio_eet_sync(Eet_File *ef,
* @param user_data Private data given to each callback.
* @return NULL in case of a failure.
*/
EAPI Eio_File *eio_eet_data_write_cipher(Eet_File *ef,
EIO_API Eio_File *eio_eet_data_write_cipher(Eet_File *ef,
Eet_Data_Descriptor *edd,
const char *name,
const char *cipher_key,
@ -1067,7 +1067,7 @@ EAPI Eio_File *eio_eet_data_write_cipher(Eet_File *ef,
* @param data Unmodified user data passed to callbacks
* @return NULL in case of a failure.
*/
EAPI Eio_File *eio_eet_data_read_cipher(Eet_File *ef,
EIO_API Eio_File *eio_eet_data_read_cipher(Eet_File *ef,
Eet_Data_Descriptor *edd,
const char *name,
const char *cipher_key,
@ -1092,7 +1092,7 @@ EAPI Eio_File *eio_eet_data_read_cipher(Eet_File *ef,
* @param user_data Private data given to each callback.
* @return NULL in case of a failure.
*/
EAPI Eio_File *eio_eet_data_image_write_cipher(Eet_File *ef,
EIO_API Eio_File *eio_eet_data_image_write_cipher(Eet_File *ef,
const char *name,
const char *cipher_key,
void *write_data,
@ -1115,7 +1115,7 @@ EAPI Eio_File *eio_eet_data_image_write_cipher(Eet_File *ef,
* @param data Unmodified user data passed to callbacks
* @return NULL in case of a failure.
*/
EAPI Eio_File *eio_eet_read_direct(Eet_File *ef,
EIO_API Eio_File *eio_eet_read_direct(Eet_File *ef,
const char *name,
Eio_Done_Data_Cb done_cb,
Eio_Error_Cb error_cb,
@ -1131,7 +1131,7 @@ EAPI Eio_File *eio_eet_read_direct(Eet_File *ef,
* @param data Unmodified user data passed to callbacks
* @return NULL in case of a failure.
*/
EAPI Eio_File *eio_eet_read_cipher(Eet_File *ef,
EIO_API Eio_File *eio_eet_read_cipher(Eet_File *ef,
const char *name,
const char *cipher_key,
Eio_Done_Read_Cb done_cb,
@ -1151,7 +1151,7 @@ EAPI Eio_File *eio_eet_read_cipher(Eet_File *ef,
* @param user_data Private data given to each callback.
* @return NULL in case of a failure.
*/
EAPI Eio_File *eio_eet_write_cipher(Eet_File *ef,
EIO_API Eio_File *eio_eet_write_cipher(Eet_File *ef,
const char *name,
void *write_data,
int size,
@ -1178,17 +1178,17 @@ EAPI Eio_File *eio_eet_write_cipher(Eet_File *ef,
* @{
*/
EAPI extern int EIO_MONITOR_FILE_CREATED; /**< A new file was created in a watched directory */
EAPI extern int EIO_MONITOR_FILE_DELETED; /**< A watched file was deleted, or a file in a watched directory was deleted */
EAPI extern int EIO_MONITOR_FILE_MODIFIED; /**< A file was modified in a watched directory */
EAPI extern int EIO_MONITOR_FILE_CLOSED; /**< A file was closed in a watched directory. This event is never sent on Windows and OSX, or for non-fallback monitors */
EAPI extern int EIO_MONITOR_DIRECTORY_CREATED; /**< A new directory was created in a watched directory */
EAPI extern int EIO_MONITOR_DIRECTORY_DELETED; /**< A directory has been deleted: this can be either a watched directory or one of its subdirectories */
EAPI extern int EIO_MONITOR_DIRECTORY_MODIFIED; /**< A directory has been modified in a watched directory */
EAPI extern int EIO_MONITOR_DIRECTORY_CLOSED; /**< A directory has been closed in a watched directory. This event is never sent on Windows and OSX, or for non-fallback monitors */
EAPI extern int EIO_MONITOR_SELF_RENAME; /**< The monitored path has been renamed, an error could happen just after if the renamed path doesn't exist. This event is never sent on OSX, or for non-fallback monitors */
EAPI extern int EIO_MONITOR_SELF_DELETED; /**< The monitored path has been removed. This event is never sent on OSX */
EAPI extern int EIO_MONITOR_ERROR; /**< During operation the monitor failed and will no longer work. eio_monitor_del must be called on it. */
EIO_API extern int EIO_MONITOR_FILE_CREATED; /**< A new file was created in a watched directory */
EIO_API extern int EIO_MONITOR_FILE_DELETED; /**< A watched file was deleted, or a file in a watched directory was deleted */
EIO_API extern int EIO_MONITOR_FILE_MODIFIED; /**< A file was modified in a watched directory */
EIO_API extern int EIO_MONITOR_FILE_CLOSED; /**< A file was closed in a watched directory. This event is never sent on Windows and OSX, or for non-fallback monitors */
EIO_API extern int EIO_MONITOR_DIRECTORY_CREATED; /**< A new directory was created in a watched directory */
EIO_API extern int EIO_MONITOR_DIRECTORY_DELETED; /**< A directory has been deleted: this can be either a watched directory or one of its subdirectories */
EIO_API extern int EIO_MONITOR_DIRECTORY_MODIFIED; /**< A directory has been modified in a watched directory */
EIO_API extern int EIO_MONITOR_DIRECTORY_CLOSED; /**< A directory has been closed in a watched directory. This event is never sent on Windows and OSX, or for non-fallback monitors */
EIO_API extern int EIO_MONITOR_SELF_RENAME; /**< The monitored path has been renamed, an error could happen just after if the renamed path doesn't exist. This event is never sent on OSX, or for non-fallback monitors */
EIO_API extern int EIO_MONITOR_SELF_DELETED; /**< The monitored path has been removed. This event is never sent on OSX */
EIO_API extern int EIO_MONITOR_ERROR; /**< During operation the monitor failed and will no longer work. eio_monitor_del must be called on it. */
typedef struct _Eio_Monitor Eio_Monitor;
@ -1217,7 +1217,7 @@ struct _Eio_Monitor_Event
* list of files to monitor. It utilizes the inotify mechanism
* introduced in kernel 2.6.13 for passive monitoring.
*/
EAPI Eio_Monitor *eio_monitor_add(const char *path);
EIO_API Eio_Monitor *eio_monitor_add(const char *path);
/**
* @brief Adds a file/directory to monitor
@ -1230,7 +1230,7 @@ EAPI Eio_Monitor *eio_monitor_add(const char *path);
* This function is just like eio_monitor_add(), however the string passed by
* argument must be created using eina_stringshare_add().
*/
EAPI Eio_Monitor *eio_monitor_stringshared_add(const char *path);
EIO_API Eio_Monitor *eio_monitor_stringshared_add(const char *path);
/**
* @brief Deletes a path from the watched list
@ -1238,7 +1238,7 @@ EAPI Eio_Monitor *eio_monitor_stringshared_add(const char *path);
* It can only be an Eio_Monitor returned to you from calling
* eio_monitor_add() or eio_monitor_stringshared_add()
*/
EAPI void eio_monitor_del(Eio_Monitor *monitor);
EIO_API void eio_monitor_del(Eio_Monitor *monitor);
/**
* @brief returns the path being watched by the given
@ -1246,7 +1246,7 @@ EAPI void eio_monitor_del(Eio_Monitor *monitor);
* @param monitor Eio_Monitor to return the path of
* @return The stringshared path belonging to @p monitor
*/
EAPI const char *eio_monitor_path_get(Eio_Monitor *monitor);
EIO_API const char *eio_monitor_path_get(Eio_Monitor *monitor);
#ifdef EFL_BETA_API_SUPPORT
/**
@ -1259,7 +1259,7 @@ EAPI const char *eio_monitor_path_get(Eio_Monitor *monitor);
*
* @since 1.21
*/
EAPI Eina_Bool eio_monitor_fallback_check(const Eio_Monitor *monitor);
EIO_API Eina_Bool eio_monitor_fallback_check(const Eio_Monitor *monitor);
/**
* @brief Check if a monitor has the context about a file or not
@ -1276,7 +1276,7 @@ EAPI Eina_Bool eio_monitor_fallback_check(const Eio_Monitor *monitor);
*
* @since 1.23
*/
EAPI Eina_Bool eio_monitor_has_context(const Eio_Monitor *monitor, const char *path);
EIO_API Eina_Bool eio_monitor_has_context(const Eio_Monitor *monitor, const char *path);
#endif
/**
* @}

View File

@ -845,7 +845,7 @@ _eio_dir_stat_error(void *data, Ecore_Thread *thread EINA_UNUSED)
*============================================================================*/
EAPI Eio_File *
EIO_API Eio_File *
eio_dir_copy(const char *source,
const char *dest,
Eio_Filter_Direct_Cb filter_cb,
@ -886,7 +886,7 @@ eio_dir_copy(const char *source,
return &copy->progress.common;
}
EAPI Eio_File *
EIO_API Eio_File *
eio_dir_move(const char *source,
const char *dest,
Eio_Filter_Direct_Cb filter_cb,
@ -927,7 +927,7 @@ eio_dir_move(const char *source,
return &move->progress.common;
}
EAPI Eio_File *
EIO_API Eio_File *
eio_dir_unlink(const char *path,
Eio_Filter_Direct_Cb filter_cb,
Eio_Progress_Cb progress_cb,
@ -1014,7 +1014,7 @@ _eio_dir_stat_internal_ls(const char *dir,
return &async->ls.common;
}
EAPI Eio_File *
EIO_API Eio_File *
eio_dir_stat_ls(const char *dir,
Eio_Filter_Direct_Cb filter_cb,
Eio_Main_Direct_Cb main_cb,
@ -1082,7 +1082,7 @@ _eio_dir_direct_internal_ls(const char *dir,
return &async->ls.common;
}
EAPI Eio_File *
EIO_API Eio_File *
eio_dir_direct_ls(const char *dir,
Eio_Filter_Dir_Cb filter_cb,
Eio_Main_Direct_Cb main_cb,

View File

@ -307,7 +307,7 @@ _eio_eet_read_cipher_end(void *data, Ecore_Thread *thread EINA_UNUSED)
* API *
*============================================================================*/
EAPI Eio_File *
EIO_API Eio_File *
eio_eet_open(const char *filename,
Eet_File_Mode mode,
Eio_Eet_Open_Cb eet_cb,
@ -339,7 +339,7 @@ eio_eet_open(const char *filename,
return &eet->common;
}
EAPI Eio_File *
EIO_API Eio_File *
eio_eet_close(Eet_File *ef,
Eio_Done_Cb done_cb,
Eio_Eet_Error_Cb error_cb,
@ -369,7 +369,7 @@ eio_eet_close(Eet_File *ef,
return &eet->common;
}
EAPI Eio_File *
EIO_API Eio_File *
eio_eet_flush(Eet_File *ef,
Eio_Done_Cb done_cb,
Eio_Eet_Error_Cb error_cb,
@ -399,7 +399,7 @@ eio_eet_flush(Eet_File *ef,
return &eet->common;
}
EAPI Eio_File *
EIO_API Eio_File *
eio_eet_sync(Eet_File *ef,
Eio_Done_Cb done_cb,
Eio_Eet_Error_Cb error_cb,
@ -408,7 +408,7 @@ eio_eet_sync(Eet_File *ef,
return eio_eet_flush(ef, done_cb, error_cb, data);
}
EAPI Eio_File *
EIO_API Eio_File *
eio_eet_data_write_cipher(Eet_File *ef,
Eet_Data_Descriptor *edd,
const char *name,
@ -450,7 +450,7 @@ eio_eet_data_write_cipher(Eet_File *ef,
return &ew->common;
}
EAPI Eio_File *
EIO_API Eio_File *
eio_eet_data_read_cipher(Eet_File *ef,
Eet_Data_Descriptor *edd,
const char *name,
@ -488,7 +488,7 @@ eio_eet_data_read_cipher(Eet_File *ef,
return &er->common;
}
EAPI Eio_File *
EIO_API Eio_File *
eio_eet_data_image_write_cipher(Eet_File *ef,
const char *name,
const char *cipher_key,
@ -537,7 +537,7 @@ eio_eet_data_image_write_cipher(Eet_File *ef,
return &eiw->common;
}
EAPI Eio_File *
EIO_API Eio_File *
eio_eet_read_direct(Eet_File *ef,
const char *name,
Eio_Done_Data_Cb done_cb,
@ -572,7 +572,7 @@ eio_eet_read_direct(Eet_File *ef,
return &er->common;
}
EAPI Eio_File *
EIO_API Eio_File *
eio_eet_read_cipher(Eet_File *ef,
const char *name,
const char *cipher_key,
@ -607,7 +607,7 @@ eio_eet_read_cipher(Eet_File *ef,
return &er->common;
}
EAPI Eio_File *
EIO_API Eio_File *
eio_eet_write_cipher(Eet_File *ef,
const char *name,
void *write_data,

View File

@ -573,7 +573,7 @@ _eio_file_internal_ls(const char *dir,
return &async->ls.common;
}
EAPI Eio_File *
EIO_API Eio_File *
eio_file_ls(const char *dir,
Eio_Filter_Cb filter_cb,
Eio_Main_Cb main_cb,
@ -641,7 +641,7 @@ _eio_file_direct_internal_ls(const char *dir,
return &async->ls.common;
}
EAPI Eio_File *
EIO_API Eio_File *
eio_file_direct_ls(const char *dir,
Eio_Filter_Direct_Cb filter_cb,
Eio_Main_Direct_Cb main_cb,
@ -709,7 +709,7 @@ _eio_file_stat_internal_ls(const char *dir,
return &async->ls.common;
}
EAPI Eio_File *
EIO_API Eio_File *
eio_file_stat_ls(const char *dir,
Eio_Filter_Direct_Cb filter_cb,
Eio_Main_Direct_Cb main_cb,
@ -734,7 +734,7 @@ _eio_file_stat_ls(const char *dir,
return _eio_file_stat_internal_ls(dir, NULL, NULL, main_internal_cb, done_cb, error_cb, data);
}
EAPI Eina_Bool
EIO_API Eina_Bool
eio_file_cancel(Eio_File *ls)
{
if (!ls) return EINA_FALSE;
@ -748,21 +748,21 @@ eio_file_cancel(Eio_File *ls)
return ecore_thread_cancel(ls->thread);
}
EAPI Eina_Bool
EIO_API Eina_Bool
eio_file_check(Eio_File *ls)
{
EINA_SAFETY_ON_NULL_RETURN_VAL(ls, EINA_TRUE);
return ecore_thread_check(ls->thread);
}
EAPI void *
EIO_API void *
eio_file_container_get(Eio_File *ls)
{
EINA_SAFETY_ON_NULL_RETURN_VAL(ls, NULL);
return ls->container;
}
EAPI Eina_Bool
EIO_API Eina_Bool
eio_file_associate_add(Eio_File *ls,
const char *key,
const void *data, Eina_Free_Cb free_cb)
@ -778,7 +778,7 @@ eio_file_associate_add(Eio_File *ls,
eio_associate_malloc(data, free_cb));
}
EAPI Eina_Bool
EIO_API Eina_Bool
eio_file_associate_direct_add(Eio_File *ls,
const char *key,
const void *data, Eina_Free_Cb free_cb)
@ -794,7 +794,7 @@ eio_file_associate_direct_add(Eio_File *ls,
eio_associate_malloc(data, free_cb));
}
EAPI void *
EIO_API void *
eio_file_associate_find(Eio_File *ls, const char *key)
{
Eio_File_Associate *search;
@ -809,7 +809,7 @@ eio_file_associate_find(Eio_File *ls, const char *key)
return search->data;
}
EAPI Eio_File *
EIO_API Eio_File *
eio_file_copy(const char *source,
const char *dest,
Eio_Progress_Cb progress_cb,
@ -845,7 +845,7 @@ eio_file_copy(const char *source,
return &copy->common;
}
EAPI Eio_File *
EIO_API Eio_File *
eio_file_move(const char *source,
const char *dest,
Eio_Progress_Cb progress_cb,

View File

@ -24,7 +24,7 @@
*============================================================================*/
static Eio_Version _version = { VMAJ, VMIN, VMIC, VREV };
EAPI Eio_Version *eio_version = &_version;
EIO_API Eio_Version *eio_version = &_version;
/**
* @cond LOCAL
@ -272,7 +272,7 @@ eio_file_unregister(Eio_File *common)
* API *
*============================================================================*/
EAPI int
EIO_API int
eio_init(void)
{
if (++_eio_init_count != 1)
@ -336,7 +336,7 @@ shutdown_eina:
return --_eio_init_count;
}
EAPI int
EIO_API int
eio_shutdown(void)
{
Eio_File_Direct_Info *info;
@ -409,7 +409,7 @@ eio_shutdown(void)
return _eio_init_count;
}
EAPI void
EIO_API void
eio_memory_burst_limit_set(size_t limit)
{
eina_lock_take(&(memory_pool_mutex));
@ -422,7 +422,7 @@ eio_memory_burst_limit_set(size_t limit)
eina_lock_release(&(memory_pool_mutex));
}
EAPI size_t
EIO_API size_t
eio_memory_burst_limit_get(void)
{
return memory_pool_limit;

View File

@ -179,7 +179,7 @@ _eio_file_map_cancel(void *data, Ecore_Thread *thread EINA_UNUSED)
* API *
*============================================================================*/
EAPI Eio_File *
EIO_API Eio_File *
eio_file_open(const char *name, Eina_Bool shared,
Eio_Open_Cb open_cb,
Eio_Error_Cb error_cb,
@ -211,7 +211,7 @@ eio_file_open(const char *name, Eina_Bool shared,
return &map->common;
}
EAPI Eio_File *
EIO_API Eio_File *
eio_file_close(Eina_File *f,
Eio_Done_Cb done_cb,
Eio_Error_Cb error_cb,
@ -241,7 +241,7 @@ eio_file_close(Eina_File *f,
return &map->common;
}
EAPI Eio_File *
EIO_API Eio_File *
eio_file_map_all(Eina_File *f,
Eina_File_Populate rule,
Eio_Filter_Map_Cb filter_cb,
@ -277,7 +277,7 @@ eio_file_map_all(Eina_File *f,
return &map->common;
}
EAPI Eio_File *
EIO_API Eio_File *
eio_file_map_new(Eina_File *f,
Eina_File_Populate rule,
unsigned long int offset,

View File

@ -302,19 +302,19 @@ _eio_monitor_rename(Eio_Monitor *monitor, const char *newpath)
* API *
*============================================================================*/
EAPI int EIO_MONITOR_ERROR;
EAPI int EIO_MONITOR_FILE_CREATED;
EAPI int EIO_MONITOR_FILE_DELETED;
EAPI int EIO_MONITOR_FILE_MODIFIED;
EAPI int EIO_MONITOR_FILE_CLOSED;
EAPI int EIO_MONITOR_DIRECTORY_CREATED;
EAPI int EIO_MONITOR_DIRECTORY_DELETED;
EAPI int EIO_MONITOR_DIRECTORY_MODIFIED;
EAPI int EIO_MONITOR_DIRECTORY_CLOSED;
EAPI int EIO_MONITOR_SELF_RENAME;
EAPI int EIO_MONITOR_SELF_DELETED;
EIO_API int EIO_MONITOR_ERROR;
EIO_API int EIO_MONITOR_FILE_CREATED;
EIO_API int EIO_MONITOR_FILE_DELETED;
EIO_API int EIO_MONITOR_FILE_MODIFIED;
EIO_API int EIO_MONITOR_FILE_CLOSED;
EIO_API int EIO_MONITOR_DIRECTORY_CREATED;
EIO_API int EIO_MONITOR_DIRECTORY_DELETED;
EIO_API int EIO_MONITOR_DIRECTORY_MODIFIED;
EIO_API int EIO_MONITOR_DIRECTORY_CLOSED;
EIO_API int EIO_MONITOR_SELF_RENAME;
EIO_API int EIO_MONITOR_SELF_DELETED;
EAPI Eio_Monitor *
EIO_API Eio_Monitor *
eio_monitor_add(const char *path)
{
const char *tmp;
@ -327,7 +327,7 @@ eio_monitor_add(const char *path)
return ret;
}
EAPI Eio_Monitor *
EIO_API Eio_Monitor *
eio_monitor_stringshared_add(const char *path)
{
Eio_Monitor *monitor;
@ -397,7 +397,7 @@ eio_monitor_stringshared_add(const char *path)
return monitor;
}
EAPI void
EIO_API void
eio_monitor_del(Eio_Monitor *monitor)
{
if (!monitor) return;
@ -405,7 +405,7 @@ eio_monitor_del(Eio_Monitor *monitor)
_eio_monitor_free(monitor);
}
EAPI const char *
EIO_API const char *
eio_monitor_path_get(Eio_Monitor *monitor)
{
EINA_SAFETY_ON_NULL_RETURN_VAL(monitor, NULL);
@ -413,7 +413,7 @@ eio_monitor_path_get(Eio_Monitor *monitor)
}
EAPI Eina_Bool
EIO_API Eina_Bool
eio_monitor_has_context(const Eio_Monitor *monitor, const char *path)
{
if (monitor->fallback)

View File

@ -407,7 +407,7 @@ eio_monitor_fallback_del(Eio_Monitor *monitor)
*============================================================================*/
EAPI void
EIO_API void
eio_monitoring_interval_set(double interval)
{
Eina_Iterator *it;
@ -422,7 +422,7 @@ eio_monitoring_interval_set(double interval)
eina_iterator_free(it);
}
EAPI Eina_Bool
EIO_API Eina_Bool
eio_monitor_fallback_check(const Eio_Monitor *monitor)
{
EINA_SAFETY_ON_NULL_RETURN_VAL(monitor, EINA_FALSE);

View File

@ -418,7 +418,7 @@ eio_file_container_set(Eio_File *common, void *container)
* API *
*============================================================================*/
EAPI Eio_File *
EIO_API Eio_File *
eio_file_direct_stat(const char *path,
Eio_Stat_Cb done_cb,
Eio_Error_Cb error_cb,
@ -450,7 +450,7 @@ eio_file_direct_stat(const char *path,
return &s->common;
}
EAPI Eio_File *
EIO_API Eio_File *
eio_file_direct_lstat(const char *path,
Eio_Stat_Cb done_cb,
Eio_Error_Cb error_cb,
@ -480,7 +480,7 @@ eio_file_direct_lstat(const char *path,
return &s->common;
}
EAPI Eio_File *
EIO_API Eio_File *
eio_file_unlink(const char *path,
Eio_Done_Cb done_cb,
Eio_Error_Cb error_cb,
@ -509,7 +509,7 @@ eio_file_unlink(const char *path,
return &l->common;
}
EAPI Eio_File *
EIO_API Eio_File *
eio_file_mkdir(const char *path,
mode_t mode,
Eio_Done_Cb done_cb,
@ -540,7 +540,7 @@ eio_file_mkdir(const char *path,
return &r->common;
}
EAPI Eio_File *
EIO_API Eio_File *
eio_file_chmod(const char *path,
mode_t mode,
Eio_Done_Cb done_cb,
@ -571,7 +571,7 @@ eio_file_chmod(const char *path,
return &r->common;
}
EAPI Eio_File *
EIO_API Eio_File *
eio_file_chown(const char *path,
const char *user,
const char *group,

View File

@ -349,7 +349,7 @@ _eio_file_internal_xattr(const char *path,
return &async->ls.common;
}
EAPI Eio_File *
EIO_API Eio_File *
eio_file_xattr(const char *path,
Eio_Filter_Cb filter_cb,
Eio_Main_Cb main_cb,
@ -374,7 +374,7 @@ _eio_file_xattr(const char *path,
return _eio_file_internal_xattr(path, NULL, NULL, main_internal_cb, done_cb, error_cb, data);
}
EAPI Eio_File *
EIO_API Eio_File *
eio_file_xattr_get(const char *path,
const char *attribute,
Eio_Done_Data_Cb done_cb,
@ -397,7 +397,7 @@ eio_file_xattr_get(const char *path,
return _eio_file_xattr_setup_get(async, path, attribute, error_cb, data);
}
EAPI Eio_File *
EIO_API Eio_File *
eio_file_xattr_string_get(const char *path,
const char *attribute,
Eio_Done_String_Cb done_cb,
@ -420,7 +420,7 @@ eio_file_xattr_string_get(const char *path,
return _eio_file_xattr_setup_get(async, path, attribute, error_cb, data);
}
EAPI Eio_File *
EIO_API Eio_File *
eio_file_xattr_double_get(const char *path,
const char *attribute,
Eio_Done_Double_Cb done_cb,
@ -443,7 +443,7 @@ eio_file_xattr_double_get(const char *path,
return _eio_file_xattr_setup_get(async, path, attribute, error_cb, data);
}
EAPI Eio_File *
EIO_API Eio_File *
eio_file_xattr_int_get(const char *path,
const char *attribute,
Eio_Done_Int_Cb done_cb,
@ -466,7 +466,7 @@ eio_file_xattr_int_get(const char *path,
return _eio_file_xattr_setup_get(async, path, attribute, error_cb, data);
}
EAPI Eio_File *
EIO_API Eio_File *
eio_file_xattr_set(const char *path,
const char *attribute,
const char *xattr_data,
@ -496,7 +496,7 @@ eio_file_xattr_set(const char *path,
return _eio_file_xattr_setup_set(async, path, attribute, flags, done_cb, error_cb, data);
}
EAPI Eio_File *
EIO_API Eio_File *
eio_file_xattr_string_set(const char *path,
const char *attribute,
const char *xattr_string,
@ -531,7 +531,7 @@ eio_file_xattr_string_set(const char *path,
return _eio_file_xattr_setup_set(async, path, attribute, flags, done_cb, error_cb, data);
}
EAPI Eio_File *
EIO_API Eio_File *
eio_file_xattr_double_set(const char *path,
const char *attribute,
double xattr_double,
@ -556,7 +556,7 @@ eio_file_xattr_double_set(const char *path,
return _eio_file_xattr_setup_set(async, path, attribute, flags, done_cb, error_cb, data);
}
EAPI Eio_File *
EIO_API Eio_File *
eio_file_xattr_int_set(const char *path,
const char *attribute,
int xattr_int,

View File

@ -18,6 +18,7 @@ foreach eo_file : pub_eo_files
meson.current_build_dir(), eo_file + '.h'),
'-o', 'c:' + join_paths(meson.current_build_dir(), eo_file + '.c'),
'-o', 'd:' + join_paths(meson.current_build_dir(), eo_file + '.d'),
'-e', 'EIO_API',
'-gchd', '@INPUT@'])
endforeach
@ -72,7 +73,7 @@ eio_lib = library('eio',
dependencies: eio_deps + eio_pub_deps + eio_ext_deps,
include_directories : config_dir + [include_directories('.')],
install: true,
c_args : package_c_args,
c_args : [package_c_args, '-DEIO_BUILD'],
link_args : linker_args,
version : meson.project_version()
)

View File

@ -17,7 +17,7 @@
#include "elm_priv.h"
#include "eo_internal.h"
#include <Elementary.h>
#include "Eio_Eo.h"
#include "Eio.h"
#include "elm_fileselector_button_eo.h"
#include "elm_fileselector_entry_eo.h"
#include "elm_interface_fileselector.h"

View File

@ -5,7 +5,7 @@
#define EFL_ACCESS_OBJECT_PROTECTED
#include <Elementary.h>
#include "Eio_Eo.h"
#include "Eio.h"
#include "elm_priv.h"
#include "elm_fileselector_button_eo.h"
#include "elm_fileselector_entry_eo.h"

View File

@ -7,7 +7,7 @@
#define EFL_PART_PROTECTED
#include <Elementary.h>
#include "Eio_Eo.h"
#include "Eio.h"
#include "elm_priv.h"
#include "elm_fileselector_button_eo.h"
#include "elm_fileselector_entry_eo.h"

View File

@ -4,7 +4,7 @@
#include "elm_priv.h"
#include "Eio_Eo.h"
#include "Eio.h"
#include "elm_interface_fileselector.h"

View File

@ -52,6 +52,7 @@ eolian = declare_dependency(
eolian_include_dir = join_paths(dir_data, 'eolian', 'include')
eolian_header_src = [
'eolian_api.h',
'Eolian.h',
'Eolian_Aux.h'
]

View File

@ -8,31 +8,8 @@
#include <Eo.h>
/* This include has been added to support Eo in Evas */
#include <Efl.h>
#ifdef EAPI
# undef EAPI
#endif
#ifdef _WIN32
# ifdef EFL_BUILD
# ifdef DLL_EXPORT
# define EAPI __declspec(dllexport)
# else
# define EAPI
# endif
# 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_api.h>
#ifdef __cplusplus
extern "C" {
@ -131,5 +108,5 @@ extern "C" {
#ifdef __cplusplus
}
#endif
#undef EAPI
#endif

View File

@ -174,31 +174,7 @@
#include <Evas_Loader.h>
#ifdef EAPI
# undef EAPI
#endif
#ifdef _WIN32
# ifdef EFL_BUILD
# ifdef DLL_EXPORT
# define EAPI __declspec(dllexport)
# else
# define EAPI
# endif
# 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_api.h>
#ifdef __cplusplus
extern "C" {
@ -221,7 +197,4 @@ extern "C" {
}
#endif
#undef EAPI
#define EAPI
#endif

View File

@ -49,7 +49,7 @@ typedef struct _Evas_Version
* @ingroup Evas_Main_Group
*/
EAPI extern Evas_Version * evas_version;
EVAS_API extern Evas_Version * evas_version;
/**
* @file
@ -488,7 +488,7 @@ typedef void (*Evas_Async_Events_Put_Cb)(void *target, Evas_Callback_Type t
* @since 1.8
*/
EINA_DEPRECATED
EAPI const char *evas_cserve_path_get(void);
EVAS_API const char *evas_cserve_path_get(void);
/**
* @brief Directly initialize Evas and its required dependencies.
@ -520,7 +520,7 @@ EAPI const char *evas_cserve_path_get(void);
*
* @ingroup Evas_Main_Group
*/
EAPI int evas_init(void);
EVAS_API int evas_init(void);
/**
* @brief Directly shutdown Evas.
@ -546,7 +546,7 @@ EAPI int evas_init(void);
*
* @ingroup Evas_Main_Group
*/
EAPI int evas_shutdown(void);
EVAS_API int evas_shutdown(void);
/**
* @brief Get the error status of the most recent memory allocation call
@ -594,7 +594,7 @@ EAPI int evas_shutdown(void);
*
* @ingroup Evas_Main_Group
*/
EAPI Evas_Alloc_Error evas_alloc_error(void);
EVAS_API Evas_Alloc_Error evas_alloc_error(void);
/**
* @brief Access the canvas' asynchronous event queue.
@ -613,7 +613,7 @@ EAPI Evas_Alloc_Error evas_alloc_error(void);
*
* @ingroup Evas_Main_Group
*/
EAPI int evas_async_events_fd_get(void) EINA_WARN_UNUSED_RESULT;
EVAS_API int evas_async_events_fd_get(void) EINA_WARN_UNUSED_RESULT;
/**
* @brief Process the asynchronous event queue.
@ -626,7 +626,7 @@ EAPI int evas_async_events_fd_get(void) EINA_WARN_UNUSED_RESULT;
*
* @ingroup Evas_Main_Group
*/
EAPI int evas_async_events_process(void);
EVAS_API int evas_async_events_process(void);
/**
* @brief Insert asynchronous events on the canvas.
@ -644,7 +644,7 @@ EAPI int evas_async_events_process(void);
*
* @ingroup Evas_Main_Group
*/
EAPI Eina_Bool evas_async_events_put(const void *target, Evas_Callback_Type type, void *event_info, Evas_Async_Events_Put_Cb func) EINA_ARG_NONNULL(1, 4);
EVAS_API Eina_Bool evas_async_events_put(const void *target, Evas_Callback_Type type, void *event_info, Evas_Async_Events_Put_Cb func) EINA_ARG_NONNULL(1, 4);
/**
* @defgroup Evas_Canvas Canvas Functions
@ -751,7 +751,7 @@ EAPI Eina_Bool evas_async_events_put(const void *target, Evas_Callback_T
* evas_output_method_set(evas, engine_id);
* @endcode
*/
EAPI int evas_render_method_lookup(const char *name) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1);
EVAS_API int evas_render_method_lookup(const char *name) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1);
/**
* List all the rendering engines compiled into the copy of the Evas library
@ -784,7 +784,7 @@ EAPI int evas_render_method_lookup(const char *name) EINA_WARN_UNU
* evas_render_method_list_free(engine_list);
* @endcode
*/
EAPI Eina_List *evas_render_method_list(void) EINA_WARN_UNUSED_RESULT;
EVAS_API Eina_List *evas_render_method_list(void) EINA_WARN_UNUSED_RESULT;
/**
* This function should be called to free a list of engine names
@ -814,7 +814,7 @@ EAPI Eina_List *evas_render_method_list(void) EINA_WARN_UNUSED_RESULT;
* evas_render_method_list_free(engine_list);
* @endcode
*/
EAPI void evas_render_method_list_free(Eina_List *list);
EVAS_API void evas_render_method_list_free(Eina_List *list);
/**
* @}
@ -863,7 +863,7 @@ EAPI void evas_render_method_list_free(Eina_List *list);
*
* @ingroup Evas_Canvas
*/
EAPI void evas_render_updates_free(Eina_List *updates);
EVAS_API void evas_render_updates_free(Eina_List *updates);
/**
@ -937,7 +937,7 @@ EAPI void evas_render_updates_free(Eina_List *updates);
* @see evas_device_add_full
* @since 1.8
*/
EAPI Evas_Device *evas_device_add(Evas *e);
EVAS_API Evas_Device *evas_device_add(Evas *e);
/**
* Add a new device type
@ -959,7 +959,7 @@ EAPI Evas_Device *evas_device_add(Evas *e);
* @see evas_device_del
* @since 1.19
*/
EAPI Evas_Device *evas_device_add_full(Evas *e, const char *name,
EVAS_API Evas_Device *evas_device_add_full(Evas *e, const char *name,
const char *desc,
Evas_Device *parent_dev,
Evas_Device *emulation_dev,
@ -976,7 +976,7 @@ EAPI Evas_Device *evas_device_add_full(Evas *e, const char *name,
* @see evas_device_pop
* @since 1.8
*/
EAPI void evas_device_del(Evas_Device *dev);
EVAS_API void evas_device_del(Evas_Device *dev);
/**
* Push the current context device onto the device stack
@ -1005,7 +1005,7 @@ EAPI void evas_device_del(Evas_Device *dev);
* @see evas_device_pop
* @since 1.8
*/
EAPI void evas_device_push(Evas *e, Evas_Device *dev);
EVAS_API void evas_device_push(Evas *e, Evas_Device *dev);
/**
* This pops the top of the device stack for the canvas
@ -1019,7 +1019,7 @@ EAPI void evas_device_push(Evas *e, Evas_Device *dev);
* @see evas_device_push
* @since 1.8
*/
EAPI void evas_device_pop(Evas *e);
EVAS_API void evas_device_pop(Evas *e);
/**
* List all current devices attached to the given canvas and/or device
@ -1045,7 +1045,7 @@ EAPI void evas_device_pop(Evas *e);
* @see evas_device_emulation_source_get
* @since 1.8
*/
EAPI const Eina_List *evas_device_list(Evas *e, const Evas_Device *dev);
EVAS_API const Eina_List *evas_device_list(Evas *e, const Evas_Device *dev);
/**
* Get a device by its name
@ -1061,7 +1061,7 @@ EAPI const Eina_List *evas_device_list(Evas *e, const Evas_Device *dev);
*
* @since 1.19
*/
EAPI Evas_Device *evas_device_get(Evas *e, const char *name);
EVAS_API Evas_Device *evas_device_get(Evas *e, const char *name);
/**
* Get a device by its seat id
@ -1075,7 +1075,7 @@ EAPI Evas_Device *evas_device_get(Evas *e, const char *name);
*
* @since 1.20
*/
EAPI Evas_Device *evas_device_get_by_seat_id(Evas *eo_e, unsigned int id);
EVAS_API Evas_Device *evas_device_get_by_seat_id(Evas *eo_e, unsigned int id);
/**
* Set the name of a device as a string
@ -1085,7 +1085,7 @@ EAPI Evas_Device *evas_device_get_by_seat_id(Evas *eo_e, unsigned int id);
*
* @since 1.8
*/
EAPI void evas_device_name_set(Evas_Device *dev, const char *name);
EVAS_API void evas_device_name_set(Evas_Device *dev, const char *name);
/**
* Get the name of a device
@ -1101,7 +1101,7 @@ EAPI void evas_device_name_set(Evas_Device *dev, const char *name);
*
* @since 1.8
*/
EAPI const char *evas_device_name_get(const Evas_Device *dev);
EVAS_API const char *evas_device_name_get(const Evas_Device *dev);
/**
* Set the seat id of a device
@ -1111,7 +1111,7 @@ EAPI const char *evas_device_name_get(const Evas_Device *dev);
*
* @since 1.20
*/
EAPI void evas_device_seat_id_set(Evas_Device *dev, unsigned int id);
EVAS_API void evas_device_seat_id_set(Evas_Device *dev, unsigned int id);
/**
* Get the seat id of a device
@ -1125,7 +1125,7 @@ EAPI void evas_device_seat_id_set(Evas_Device *dev, unsigned int id);
*
* @since 1.20
*/
EAPI unsigned int evas_device_seat_id_get(const Evas_Device *dev);
EVAS_API unsigned int evas_device_seat_id_get(const Evas_Device *dev);
/**
* Set the description of a device as a string
@ -1135,7 +1135,7 @@ EAPI unsigned int evas_device_seat_id_get(const Evas_Device *dev);
*
* @since 1.8
*/
EAPI void evas_device_description_set(Evas_Device *dev, const char *desc);
EVAS_API void evas_device_description_set(Evas_Device *dev, const char *desc);
/**
* Get the description of a device
@ -1153,7 +1153,7 @@ EAPI void evas_device_description_set(Evas_Device *dev, const char *desc);
*
* @since 1.8
*/
EAPI const char *evas_device_description_get(const Evas_Device *dev);
EVAS_API const char *evas_device_description_get(const Evas_Device *dev);
/**
* Set the parent of a device
@ -1175,7 +1175,7 @@ EAPI const char *evas_device_description_get(const Evas_Device *dev);
*
* @since 1.8
*/
EAPI void evas_device_parent_set(Evas_Device *dev, Evas_Device *parent) EINA_DEPRECATED;
EVAS_API void evas_device_parent_set(Evas_Device *dev, Evas_Device *parent) EINA_DEPRECATED;
/**
* Get the parent of a device
@ -1188,7 +1188,7 @@ EAPI void evas_device_parent_set(Evas_Device *dev, Evas_Device *parent) EINA_DEP
*
* @since 1.8
*/
EAPI const Evas_Device *evas_device_parent_get(const Evas_Device *dev);
EVAS_API const Evas_Device *evas_device_parent_get(const Evas_Device *dev);
/**
* Set the major class of device
@ -1203,7 +1203,7 @@ EAPI const Evas_Device *evas_device_parent_get(const Evas_Device *dev);
*
* @since 1.8
*/
EAPI void evas_device_class_set(Evas_Device *dev, Evas_Device_Class clas) EINA_DEPRECATED;
EVAS_API void evas_device_class_set(Evas_Device *dev, Evas_Device_Class clas) EINA_DEPRECATED;
/**
* Get the major class of a device
@ -1215,7 +1215,7 @@ EAPI void evas_device_class_set(Evas_Device *dev, Evas_Device_Class clas) EINA_D
*
* @since 1.8
*/
EAPI Evas_Device_Class evas_device_class_get(const Evas_Device *dev);
EVAS_API Evas_Device_Class evas_device_class_get(const Evas_Device *dev);
/**
* Set the sub-class of a device
@ -1228,7 +1228,7 @@ EAPI Evas_Device_Class evas_device_class_get(const Evas_Device *dev);
*
* @since 1.8
*/
EAPI void evas_device_subclass_set(Evas_Device *dev, Evas_Device_Subclass clas);
EVAS_API void evas_device_subclass_set(Evas_Device *dev, Evas_Device_Subclass clas);
/**
* Get the device sub-class
@ -1238,7 +1238,7 @@ EAPI void evas_device_subclass_set(Evas_Device *dev, Evas_Device_Subclass clas);
*
* @since 1.8
*/
EAPI Evas_Device_Subclass evas_device_subclass_get(const Evas_Device *dev);
EVAS_API Evas_Device_Subclass evas_device_subclass_get(const Evas_Device *dev);
/**
* Set the emulation source device
@ -1255,7 +1255,7 @@ EAPI Evas_Device_Subclass evas_device_subclass_get(const Evas_Device *dev);
*
* @since 1.8
*/
EAPI void evas_device_emulation_source_set(Evas_Device *dev, Evas_Device *src);
EVAS_API void evas_device_emulation_source_set(Evas_Device *dev, Evas_Device *src);
/**
* Get the emulation source device
@ -1265,7 +1265,7 @@ EAPI void evas_device_emulation_source_set(Evas_Device *dev, Evas_Device *src);
*
* @since 1.8
*/
EAPI const Evas_Device *evas_device_emulation_source_get(const Evas_Device *dev);
EVAS_API const Evas_Device *evas_device_emulation_source_get(const Evas_Device *dev);
/**
* @}
@ -1777,7 +1777,7 @@ typedef void (*Evas_Object_Image_Pixels_Get_Cb)(void *data, Evas_Object *o);
*
* This functions is threadsafe.
*/
EAPI Eina_Bool evas_object_image_extension_can_load_get(const char *file);
EVAS_API Eina_Bool evas_object_image_extension_can_load_get(const char *file);
/**
* Check if a file extension may be supported by @ref Evas_Object_Image.
@ -1789,7 +1789,7 @@ EAPI Eina_Bool evas_object_image_extension_can_load_get(cons
*
* This functions is threadsafe.
*/
EAPI Eina_Bool evas_object_image_extension_can_load_fast_get(const char *file);
EVAS_API Eina_Bool evas_object_image_extension_can_load_fast_get(const char *file);
/**
* @}
*/
@ -2336,7 +2336,7 @@ struct _Evas_Smart_Cb_Description
* when they are not referenced anymore. Thus, this function is of no use
* for Evas users, most probably.
*/
EAPI void evas_smart_free(Evas_Smart *s) EINA_ARG_NONNULL(1);
EVAS_API void evas_smart_free(Evas_Smart *s) EINA_ARG_NONNULL(1);
/**
* Creates a new #Evas_Smart from a given #Evas_Smart_Class struct
@ -2353,7 +2353,7 @@ EAPI void evas_smart_free(Evas_Smart *s) EINA_ARG_N
* construct yours, consider using the #EVAS_SMART_SUBCLASS_NEW macro,
* which will make use of this function automatically for you.
*/
EAPI Evas_Smart *evas_smart_class_new(const Evas_Smart_Class *sc) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_MALLOC;
EVAS_API Evas_Smart *evas_smart_class_new(const Evas_Smart_Class *sc) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_MALLOC;
/**
* Get the #Evas_Smart_Class handle of an #Evas_Smart struct
@ -2361,7 +2361,7 @@ EAPI Evas_Smart *evas_smart_class_new(const Evas_Smart_Cla
* @param s a valid #Evas_Smart pointer
* @return the #Evas_Smart_Class in it
*/
EAPI const Evas_Smart_Class *evas_smart_class_get(const Evas_Smart *s) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1);
EVAS_API const Evas_Smart_Class *evas_smart_class_get(const Evas_Smart *s) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1);
/**
* @brief Get the data pointer set on an #Evas_Smart struct
@ -2371,7 +2371,7 @@ EAPI const Evas_Smart_Class *evas_smart_class_get(const Evas_Smart *s)
* This data pointer is set as the data field in the #Evas_Smart_Class
* passed in to evas_smart_class_new().
*/
EAPI void *evas_smart_data_get(const Evas_Smart *s) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1);
EVAS_API void *evas_smart_data_get(const Evas_Smart *s) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1);
/**
* Get the smart callbacks known by this #Evas_Smart handle's smart
@ -2410,7 +2410,7 @@ EAPI void *evas_smart_data_get(const Evas_Smart *s)
* as well.
* @see evas_object_smart_callbacks_descriptions_get()
*/
EAPI const Evas_Smart_Cb_Description **evas_smart_callbacks_descriptions_get(const Evas_Smart *s, unsigned int *count) EINA_ARG_NONNULL(1, 1);
EVAS_API const Evas_Smart_Cb_Description **evas_smart_callbacks_descriptions_get(const Evas_Smart *s, unsigned int *count) EINA_ARG_NONNULL(1, 1);
/**
* Find a callback description for the callback named @a name.
@ -2425,7 +2425,7 @@ EAPI const Evas_Smart_Cb_Description **evas_smart_callbacks_descriptions_get(con
*
* @see evas_smart_callbacks_descriptions_get()
*/
EAPI const Evas_Smart_Cb_Description *evas_smart_callback_description_find(const Evas_Smart *s, const char *name) EINA_ARG_NONNULL(1, 2);
EVAS_API const Evas_Smart_Cb_Description *evas_smart_callback_description_find(const Evas_Smart *s, const char *name) EINA_ARG_NONNULL(1, 2);
/**
* Sets one class to inherit from the other.
@ -2444,7 +2444,7 @@ EAPI const Evas_Smart_Cb_Description *evas_smart_callback_description_find(cons
* this size. Everything after @c Evas_Smart_Class size is copied
* using regular memcpy().
*/
EAPI Eina_Bool evas_smart_class_inherit_full(Evas_Smart_Class *sc, const Evas_Smart_Class *parent_sc, unsigned int parent_sc_size) EINA_ARG_NONNULL(1, 2);
EVAS_API Eina_Bool evas_smart_class_inherit_full(Evas_Smart_Class *sc, const Evas_Smart_Class *parent_sc, unsigned int parent_sc_size) EINA_ARG_NONNULL(1, 2);
/**
* Get the number of uses of the smart instance
@ -2465,7 +2465,7 @@ EAPI Eina_Bool evas_smart_class_inherit_full(Evas_Smart_
* Evas_Smart_Class data from memory (have it be a constant structure and
* data), or use this API call and be very careful.
*/
EAPI int evas_smart_usage_get(const Evas_Smart *s);
EVAS_API int evas_smart_usage_get(const Evas_Smart *s);
/**
* @def evas_smart_class_inherit
@ -2543,7 +2543,7 @@ EAPI int evas_smart_usage_get(const Evas_Smart *s)
*
* @ingroup Evas_Smart_Object_Group
*/
EAPI void evas_smart_legacy_type_register(const char *type, const Efl_Class *klass) EINA_ARG_NONNULL(1, 2);
EVAS_API void evas_smart_legacy_type_register(const char *type, const Efl_Class *klass) EINA_ARG_NONNULL(1, 2);
/**
* @}
@ -2634,7 +2634,7 @@ struct _Evas_Object_Smart_Clipped_Data
* child ones, like the #EVAS_SMART_SUBCLASS_NEW macro or the
* evas_smart_class_inherit_full() function.
*/
EAPI void evas_object_smart_clipped_smart_set(Evas_Smart_Class *sc) EINA_ARG_NONNULL(1);
EVAS_API void evas_object_smart_clipped_smart_set(Evas_Smart_Class *sc) EINA_ARG_NONNULL(1);
/**
* Get a pointer to the <b>clipped smart object's</b> class, to use
@ -2643,7 +2643,7 @@ EAPI void evas_object_smart_clipped_smart_set(Evas_Smart_Clas
* @see #Evas_Smart_Object_Clipped for more information on this smart
* class
*/
EAPI const Evas_Smart_Class *evas_object_smart_clipped_class_get(void) EINA_CONST;
EVAS_API const Evas_Smart_Class *evas_object_smart_clipped_class_get(void) EINA_CONST;
/**
* @}
*/
@ -2883,7 +2883,7 @@ struct _Evas_Object_Box_Option
* @param api The box API struct to set back, most probably with
* overridden fields (on class extensions scenarios)
*/
EAPI void evas_object_box_smart_set(Evas_Object_Box_Api *api) EINA_ARG_NONNULL(1);
EVAS_API void evas_object_box_smart_set(Evas_Object_Box_Api *api) EINA_ARG_NONNULL(1);
/**
* Get the Evas box smart class, for inheritance purposes.
@ -2893,7 +2893,7 @@ EAPI void evas_object_box_smart_set(Evas_Object_Box_Api *a
* The returned value is @b not to be modified, just use it as your
* parent class.
*/
EAPI const Evas_Object_Box_Api *evas_object_box_smart_class_get(void) EINA_CONST;
EVAS_API const Evas_Object_Box_Api *evas_object_box_smart_class_get(void) EINA_CONST;
/**
* @}
@ -3008,7 +3008,7 @@ struct _Evas_Cserve_Config
* @return @c EINA_TRUE if it wants, @c EINA_FALSE otherwise.
* @ingroup Evas_Cserve
*/
EAPI Eina_Bool evas_cserve_want_get(void) EINA_WARN_UNUSED_RESULT;
EVAS_API Eina_Bool evas_cserve_want_get(void) EINA_WARN_UNUSED_RESULT;
/**
* Retrieves if the system is connected to the server used to share
@ -3017,7 +3017,7 @@ EAPI Eina_Bool evas_cserve_want_get(void) EINA_WARN_UNUSED_RESULT;
* @return @c EINA_TRUE if it's connected, @c EINA_FALSE otherwise.
* @ingroup Evas_Cserve
*/
EAPI Eina_Bool evas_cserve_connected_get(void) EINA_WARN_UNUSED_RESULT;
EVAS_API Eina_Bool evas_cserve_connected_get(void) EINA_WARN_UNUSED_RESULT;
/**
* Retrieves statistics from a running bitmap sharing server.
@ -3028,14 +3028,14 @@ EAPI Eina_Bool evas_cserve_connected_get(void) EINA_WARN_UNUSED_RESULT;
* @c EINA_FALSE otherwise (when @p stats is untouched)
* @ingroup Evas_Cserve
*/
EAPI Eina_Bool evas_cserve_stats_get(Evas_Cserve_Stats *stats) EINA_WARN_UNUSED_RESULT;
EVAS_API Eina_Bool evas_cserve_stats_get(Evas_Cserve_Stats *stats) EINA_WARN_UNUSED_RESULT;
/**
* Completely discard/clean a given images cache, thus re-setting it.
*
* @param cache A handle to the given images cache.
*/
EAPI void evas_cserve_image_cache_contents_clean(Evas_Cserve_Image_Cache *cache);
EVAS_API void evas_cserve_image_cache_contents_clean(Evas_Cserve_Image_Cache *cache);
/**
* Retrieves the current configuration of the Evas image caching
@ -3054,7 +3054,7 @@ EAPI void evas_cserve_image_cache_contents_clean(Evas_Cserve_Image_Cache
*
* @ingroup Evas_Cserve
*/
EAPI Eina_Bool evas_cserve_config_get(Evas_Cserve_Config *config) EINA_WARN_UNUSED_RESULT;
EVAS_API Eina_Bool evas_cserve_config_get(Evas_Cserve_Config *config) EINA_WARN_UNUSED_RESULT;
/**
* Changes the configurations of the Evas image caching server.
@ -3068,14 +3068,14 @@ EAPI Eina_Bool evas_cserve_config_get(Evas_Cserve_Config *config) EINA_WARN_UN
*
* @ingroup Evas_Cserve
*/
EAPI Eina_Bool evas_cserve_config_set(const Evas_Cserve_Config *config) EINA_WARN_UNUSED_RESULT;
EVAS_API Eina_Bool evas_cserve_config_set(const Evas_Cserve_Config *config) EINA_WARN_UNUSED_RESULT;
/**
* Force the system to disconnect from the bitmap caching server.
*
* @ingroup Evas_Cserve
*/
EAPI void evas_cserve_disconnect(void);
EVAS_API void evas_cserve_disconnect(void);
/**
* @defgroup Evas_Utils General Utilities
@ -3114,7 +3114,7 @@ EAPI void evas_cserve_disconnect(void);
*
* @ingroup Evas_Utils
*/
EAPI const char *evas_load_error_str(Evas_Load_Error error);
EVAS_API const char *evas_load_error_str(Evas_Load_Error error);
/* Evas utility routines for color space conversions */
/* hsv color space has h in the range 0.0 to 360.0, and s,v in the range 0.0 to 1.0 */
@ -3135,7 +3135,7 @@ EAPI const char *evas_load_error_str(Evas_Load_Error error);
*
* @ingroup Evas_Utils
**/
EAPI void evas_color_hsv_to_rgb(float h, float s, float v, int *r, int *g, int *b);
EVAS_API void evas_color_hsv_to_rgb(float h, float s, float v, int *r, int *g, int *b);
/**
* Convert a given color from RGB to HSV format.
@ -3152,7 +3152,7 @@ EAPI void evas_color_hsv_to_rgb(float h, float s, float v, int *r, int *g, int *
*
* @ingroup Evas_Utils
**/
EAPI void evas_color_rgb_to_hsv(int r, int g, int b, float *h, float *s, float *v);
EVAS_API void evas_color_rgb_to_hsv(int r, int g, int b, float *h, float *s, float *v);
/* argb color space has a,r,g,b in the range 0 to 255 */
@ -3169,7 +3169,7 @@ EAPI void evas_color_rgb_to_hsv(int r, int g, int b, float *h, float *s, float *
*
* @ingroup Evas_Utils
**/
EAPI void evas_color_argb_premul(int a, int *r, int *g, int *b);
EVAS_API void evas_color_argb_premul(int a, int *r, int *g, int *b);
/**
* Undo pre-multiplication of a rgb triplet by an alpha factor.
@ -3186,7 +3186,7 @@ EAPI void evas_color_argb_premul(int a, int *r, int *g, int *b);
*
* @ingroup Evas_Utils
**/
EAPI void evas_color_argb_unpremul(int a, int *r, int *g, int *b);
EVAS_API void evas_color_argb_unpremul(int a, int *r, int *g, int *b);
/**
* Pre-multiplies data by an alpha factor.
@ -3199,7 +3199,7 @@ EAPI void evas_color_argb_unpremul(int a, int *r, int *g, int *b);
*
* @ingroup Evas_Utils
**/
EAPI void evas_data_argb_premul(unsigned int *data, unsigned int len);
EVAS_API void evas_data_argb_premul(unsigned int *data, unsigned int len);
/**
* Undo pre-multiplication data by an alpha factor.
@ -3212,7 +3212,7 @@ EAPI void evas_data_argb_premul(unsigned int *data, unsigned int len);
*
* @ingroup Evas_Utils
**/
EAPI void evas_data_argb_unpremul(unsigned int *data, unsigned int len);
EVAS_API void evas_data_argb_unpremul(unsigned int *data, unsigned int len);
/* string and font handling */
@ -3235,7 +3235,7 @@ EAPI void evas_data_argb_unpremul(unsigned int *data, unsigned int len);
*
* @ingroup Evas_Utils
*/
EAPI int evas_string_char_next_get(const char *str, int pos, int *decoded) EINA_ARG_NONNULL(1);
EVAS_API int evas_string_char_next_get(const char *str, int pos, int *decoded) EINA_ARG_NONNULL(1);
/**
* Gets the previous character in the string
@ -3256,7 +3256,7 @@ EAPI int evas_string_char_next_get(const char *str, int pos, int *decoded) EINA
*
* @ingroup Evas_Utils
*/
EAPI int evas_string_char_prev_get(const char *str, int pos, int *decoded) EINA_ARG_NONNULL(1);
EVAS_API int evas_string_char_prev_get(const char *str, int pos, int *decoded) EINA_ARG_NONNULL(1);
/**
* Get the length in characters of the string.
@ -3266,7 +3266,7 @@ EAPI int evas_string_char_prev_get(const char *str, int pos, int *decoded) EINA
*
* @ingroup Evas_Utils
*/
EAPI int evas_string_char_len_get(const char *str) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1);
EVAS_API int evas_string_char_len_get(const char *str) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1);
/**
* Get language direction.
@ -3274,7 +3274,7 @@ EAPI int evas_string_char_len_get(const char *str) EINA_WARN_UNUSED_RESULT EINA
* @ingroup Evas_Utils
* @since 1.20
*/
EAPI Evas_BiDi_Direction evas_language_direction_get(void);
EVAS_API Evas_BiDi_Direction evas_language_direction_get(void);
/**
* Reinitialize language from the environment.
@ -3285,7 +3285,7 @@ EAPI Evas_BiDi_Direction evas_language_direction_get(void);
* @ingroup Evas_Utils
* @since 1.18
*/
EAPI void evas_language_reinit(void);
EVAS_API void evas_language_reinit(void);
/**
* @defgroup Evas_Keys Key Input Functions
@ -3341,28 +3341,28 @@ EAPI void evas_language_reinit(void);
* for the application.
* @since 1.9
*/
EAPI void evas_font_path_global_clear(void);
EVAS_API void evas_font_path_global_clear(void);
/**
* Appends a font path to the list of font paths used by the application.
* @param path The new font path.
* @since 1.9
*/
EAPI void evas_font_path_global_append(const char *path) EINA_ARG_NONNULL(1);
EVAS_API void evas_font_path_global_append(const char *path) EINA_ARG_NONNULL(1);
/**
* Prepends a font path to the list of font paths used by the application.
* @param path The new font path.
* @since 1.9
*/
EAPI void evas_font_path_global_prepend(const char *path) EINA_ARG_NONNULL(1);
EVAS_API void evas_font_path_global_prepend(const char *path) EINA_ARG_NONNULL(1);
/**
* Retrieves the list of font paths used by the application.
* @return The list of font paths used.
* @since 1.9
*/
EAPI const Eina_List *evas_font_path_global_list(void) EINA_WARN_UNUSED_RESULT;
EVAS_API const Eina_List *evas_font_path_global_list(void) EINA_WARN_UNUSED_RESULT;
/**
* @}
@ -3374,7 +3374,7 @@ EAPI const Eina_List *evas_font_path_global_list(void) EINA_WARN_UNUSED_R
*
* @since 1.14
*/
EAPI void evas_font_reinit(void);
EVAS_API void evas_font_reinit(void);
/**
* @}
@ -3387,7 +3387,7 @@ EAPI void evas_font_reinit(void);
*
* @since 1.24
*/
EAPI void evas_font_data_cache_set(Evas_Font_Data_Cache options, int byte);
EVAS_API void evas_font_data_cache_set(Evas_Font_Data_Cache options, int byte);
/**
* @}
@ -3399,7 +3399,7 @@ EAPI void evas_font_data_cache_set(Evas_Font_Data_Cache optio
* @return Returns font allocated memory cache limit, if value is negative this means no limit.
* @since 1.24
*/
EAPI int evas_font_data_cache_get(Evas_Font_Data_Cache options);
EVAS_API int evas_font_data_cache_get(Evas_Font_Data_Cache options);
/**
* @}

View File

@ -4,31 +4,7 @@
#include <Evas.h>
//#include <GL/gl.h>
#ifdef EAPI
# undef EAPI
#endif
#ifdef _WIN32
# ifdef EFL_BUILD
# ifdef DLL_EXPORT
# define EAPI __declspec(dllexport)
# else
# define EAPI
# endif
# 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_api.h>
#ifdef __cplusplus
extern "C" {
@ -581,7 +557,7 @@ struct _Evas_GL_Config
*
* @return The created Evas_GL object, or @c NULL in case of failure
*/
EAPI Evas_GL *evas_gl_new (Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1);
EVAS_API Evas_GL *evas_gl_new (Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1);
/**
* @brief Frees an Evas_GL object.
@ -590,7 +566,7 @@ EAPI Evas_GL *evas_gl_new (Evas *e) EINA_WARN_UNU
*
* @see evas_gl_new
*/
EAPI void evas_gl_free (Evas_GL *evas_gl) EINA_ARG_NONNULL(1);
EVAS_API void evas_gl_free (Evas_GL *evas_gl) EINA_ARG_NONNULL(1);
/**
* @brief Allocates a new config object for the user to fill out.
@ -600,7 +576,7 @@ EAPI void evas_gl_free (Evas_GL *evas_gl) EINA
*
* @see evas_gl_config_free
*/
EAPI Evas_GL_Config *evas_gl_config_new (void);
EVAS_API Evas_GL_Config *evas_gl_config_new (void);
/**
* @brief Frees a config object created from evas_gl_config_new.
@ -612,7 +588,7 @@ EAPI Evas_GL_Config *evas_gl_config_new (void);
*
* @see evas_gl_config_new
*/
EAPI void evas_gl_config_free (Evas_GL_Config *cfg) EINA_ARG_NONNULL(1);
EVAS_API void evas_gl_config_free (Evas_GL_Config *cfg) EINA_ARG_NONNULL(1);
/**
* @brief Creates and returns a new @ref Evas_GL_Surface object for GL Rendering.
@ -627,7 +603,7 @@ EAPI void evas_gl_config_free (Evas_GL_Config *cfg) E
*
* @see evas_gl_surface_destroy
*/
EAPI Evas_GL_Surface *evas_gl_surface_create (Evas_GL *evas_gl, Evas_GL_Config *cfg, int w, int h) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1,2);
EVAS_API Evas_GL_Surface *evas_gl_surface_create (Evas_GL *evas_gl, Evas_GL_Config *cfg, int w, int h) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1,2);
/**
* @brief Create a pixel buffer surface
@ -660,7 +636,7 @@ EAPI Evas_GL_Surface *evas_gl_surface_create (Evas_GL *evas_gl, Evas
*
* @since 1.12
*/
EAPI Evas_GL_Surface *evas_gl_pbuffer_surface_create(Evas_GL *evas_gl, Evas_GL_Config *cfg, int w, int h, const int *attrib_list) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1,2);
EVAS_API Evas_GL_Surface *evas_gl_pbuffer_surface_create(Evas_GL *evas_gl, Evas_GL_Config *cfg, int w, int h, const int *attrib_list) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1,2);
/**
* @brief Destroys an Evas GL Surface.
@ -670,7 +646,7 @@ EAPI Evas_GL_Surface *evas_gl_pbuffer_surface_create(Evas_GL *evas_gl, E
*
* @note This function can also destroy pbuffer surfaces.
*/
EAPI void evas_gl_surface_destroy (Evas_GL *evas_gl, Evas_GL_Surface *surf) EINA_ARG_NONNULL(1,2);
EVAS_API void evas_gl_surface_destroy (Evas_GL *evas_gl, Evas_GL_Surface *surf) EINA_ARG_NONNULL(1,2);
/**
* @brief Creates and returns a new Evas GL context object.
@ -681,7 +657,7 @@ EAPI void evas_gl_surface_destroy (Evas_GL *evas_gl, Evas
* @return The created context,
* otherwise @c NULL on failure
*/
EAPI Evas_GL_Context *evas_gl_context_create (Evas_GL *evas_gl, Evas_GL_Context *share_ctx) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1);
EVAS_API Evas_GL_Context *evas_gl_context_create (Evas_GL *evas_gl, Evas_GL_Context *share_ctx) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1);
/**
* @brief Creates and returns a new Evas GL context object for OpenGL-ES 1.1 or 2.0.
@ -706,7 +682,7 @@ EAPI Evas_GL_Context *evas_gl_context_create (Evas_GL *evas_gl, Evas
*
* @since 1.12
*/
EAPI Evas_GL_Context *evas_gl_context_version_create(Evas_GL *evas_gl, Evas_GL_Context *share_ctx, Evas_GL_Context_Version version) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1);
EVAS_API Evas_GL_Context *evas_gl_context_version_create(Evas_GL *evas_gl, Evas_GL_Context *share_ctx, Evas_GL_Context_Version version) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1);
/**
* @brief Destroys the given Evas GL context object.
@ -717,7 +693,7 @@ EAPI Evas_GL_Context *evas_gl_context_version_create(Evas_GL *evas_gl, E
* @see evas_gl_context_create
* @see evas_gl_context_version_create
*/
EAPI void evas_gl_context_destroy (Evas_GL *evas_gl, Evas_GL_Context *ctx) EINA_ARG_NONNULL(1,2);
EVAS_API void evas_gl_context_destroy (Evas_GL *evas_gl, Evas_GL_Context *ctx) EINA_ARG_NONNULL(1,2);
/**
* @brief Sets the given context as the current context for the given surface.
@ -728,7 +704,7 @@ EAPI void evas_gl_context_destroy (Evas_GL *evas_gl, Evas
* @return @c EINA_TRUE if successful,
* otherwise @c EINA_FALSE if not
*/
EAPI Eina_Bool evas_gl_make_current (Evas_GL *evas_gl, Evas_GL_Surface *surf, Evas_GL_Context *ctx) EINA_ARG_NONNULL(1,2);
EVAS_API Eina_Bool evas_gl_make_current (Evas_GL *evas_gl, Evas_GL_Surface *surf, Evas_GL_Context *ctx) EINA_ARG_NONNULL(1,2);
/**
* @brief Returns a pointer to a static, null-terminated string describing some aspect of Evas GL.
@ -736,7 +712,7 @@ EAPI Eina_Bool evas_gl_make_current (Evas_GL *evas_gl, Evas
* @param[in] evas_gl The given Evas_GL object
* @param[in] name A symbolic constant, only @ref EVAS_GL_EXTENSIONS is supported for now
*/
EAPI const char *evas_gl_string_query (Evas_GL *evas_gl, int name) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE;
EVAS_API const char *evas_gl_string_query (Evas_GL *evas_gl, int name) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE;
/**
* @brief Returns a extension function from OpenGL or the Evas_GL glue layer.
@ -749,7 +725,7 @@ EAPI const char *evas_gl_string_query (Evas_GL *evas_gl, int
*
* @return A function pointer to the Evas_GL extension.
*/
EAPI Evas_GL_Func evas_gl_proc_address_get (Evas_GL *evas_gl, const char *name) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1,2) EINA_PURE;
EVAS_API Evas_GL_Func evas_gl_proc_address_get (Evas_GL *evas_gl, const char *name) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1,2) EINA_PURE;
/**
* @brief Fills in the Native Surface information from a given Evas GL surface.
@ -768,7 +744,7 @@ EAPI Evas_GL_Func evas_gl_proc_address_get (Evas_GL *evas_gl, cons
* since its properties are internal to Evas and are not meant to be
* tampered with in any way or form from outside Evas.
*/
EAPI Eina_Bool evas_gl_native_surface_get (Evas_GL *evas_gl, Evas_GL_Surface *surf, Evas_Native_Surface *ns) EINA_ARG_NONNULL(1,2,3);
EVAS_API Eina_Bool evas_gl_native_surface_get (Evas_GL *evas_gl, Evas_GL_Surface *surf, Evas_Native_Surface *ns) EINA_ARG_NONNULL(1,2,3);
/**
* @brief Gets the API for rendering using OpenGL.
@ -790,7 +766,7 @@ EAPI Eina_Bool evas_gl_native_surface_get (Evas_GL *evas_gl, Evas
* @see evas_gl_context_api_get
*
*/
EAPI Evas_GL_API *evas_gl_api_get (Evas_GL *evas_gl) EINA_ARG_NONNULL(1);
EVAS_API Evas_GL_API *evas_gl_api_get (Evas_GL *evas_gl) EINA_ARG_NONNULL(1);
/**
* @brief Gets the API for rendering using OpenGL with non standard contexts.
@ -817,7 +793,7 @@ EAPI Evas_GL_API *evas_gl_api_get (Evas_GL *evas_gl) EINA
*
* @since 1.12
*/
EAPI Evas_GL_API *evas_gl_context_api_get (Evas_GL *evas_gl, Evas_GL_Context *ctx) EINA_ARG_NONNULL(1);
EVAS_API Evas_GL_API *evas_gl_context_api_get (Evas_GL *evas_gl, Evas_GL_Context *ctx) EINA_ARG_NONNULL(1);
/**
* @brief Get the current rotation of the view, in degrees.
@ -842,7 +818,7 @@ EAPI Evas_GL_API *evas_gl_context_api_get (Evas_GL *evas_gl, Evas
*
* @since 1.12
*/
EAPI int evas_gl_rotation_get (Evas_GL *evas_gl) EINA_ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT;
EVAS_API int evas_gl_rotation_get (Evas_GL *evas_gl) EINA_ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT;
/**
* @brief Query a surface for its properties
@ -862,7 +838,7 @@ EAPI int evas_gl_rotation_get (Evas_GL *evas_gl) EINA
*
* @since 1.12
*/
EAPI Eina_Bool evas_gl_surface_query (Evas_GL *evas_gl, Evas_GL_Surface *surface, int attribute, void *value) EINA_ARG_NONNULL(1,2);
EVAS_API Eina_Bool evas_gl_surface_query (Evas_GL *evas_gl, Evas_GL_Surface *surface, int attribute, void *value) EINA_ARG_NONNULL(1,2);
/**
* @brief Returns the last error of any evas_gl function called in the current thread.
@ -886,7 +862,7 @@ EAPI Eina_Bool evas_gl_surface_query (Evas_GL *evas_gl, Evas
*
* @since 1.12
*/
EAPI int evas_gl_error_get (Evas_GL *evas_gl) EINA_ARG_NONNULL(1);
EVAS_API int evas_gl_error_get (Evas_GL *evas_gl) EINA_ARG_NONNULL(1);
/**
* @brief Returns the Evas GL context object in use or set by @ref evas_gl_make_current.
@ -898,7 +874,7 @@ EAPI int evas_gl_error_get (Evas_GL *evas_gl) EINA
*
* @since 1.12
*/
EAPI Evas_GL_Context *evas_gl_current_context_get (Evas_GL *evas_gl) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1);
EVAS_API Evas_GL_Context *evas_gl_current_context_get (Evas_GL *evas_gl) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1);
/**
* @brief Returns the Evas GL surface object in use or set by @ref evas_gl_make_current
@ -916,7 +892,7 @@ EAPI Evas_GL_Context *evas_gl_current_context_get (Evas_GL *evas_gl) EIN
*
* @since 1.12
*/
EAPI Evas_GL_Surface *evas_gl_current_surface_get (Evas_GL *evas_gl) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1);
EVAS_API Evas_GL_Surface *evas_gl_current_surface_get (Evas_GL *evas_gl) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1);
/**
* @brief Get current Evas GL
@ -934,7 +910,7 @@ EAPI Evas_GL_Surface *evas_gl_current_surface_get (Evas_GL *evas_gl) EIN
*
* @since 1.16
*/
EAPI Evas_GL *evas_gl_current_evas_gl_get (Evas_GL_Context **context, Evas_GL_Surface **surface) EINA_WARN_UNUSED_RESULT;
EVAS_API Evas_GL *evas_gl_current_evas_gl_get (Evas_GL_Context **context, Evas_GL_Surface **surface) EINA_WARN_UNUSED_RESULT;
/*-------------------------------------------------------------------------
@ -6140,7 +6116,4 @@ EvasGLImage *img = glapi->evasglCreateImageForContext
}
#endif
#undef EAPI
#define EAPI
#endif

View File

@ -2,31 +2,7 @@
#ifndef _EVAS_INTERNAL_H
#define _EVAS_INTERNAL_H
#ifdef EAPI
# undef EAPI
#endif
#ifdef _WIN32
# ifdef EFL_BUILD
# ifdef DLL_EXPORT
# define EAPI __declspec(dllexport)
# else
# define EAPI
# endif
# 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_api.h>
#ifdef __cplusplus
extern "C" {
@ -40,16 +16,16 @@ extern "C" {
typedef struct _Evas_Object_Pointer_Data Evas_Object_Pointer_Data;
EOAPI const Eina_List *efl_input_device_children_get(const Eo *obj);
EVAS_API EVAS_API_WEAK const Eina_List *efl_input_device_children_get(const Eo *obj);
EOAPI void efl_input_device_evas_set(Eo *obj, Evas *e);
EOAPI Evas *efl_input_device_evas_get(const Eo *obj);
EVAS_API EVAS_API_WEAK void efl_input_device_evas_set(Eo *obj, Evas *e);
EVAS_API EVAS_API_WEAK Evas *efl_input_device_evas_get(const Eo *obj);
EOAPI void efl_input_device_subclass_set(Eo *obj, Evas_Device_Subclass sub_clas);
EOAPI Evas_Device_Subclass efl_input_device_subclass_get(const Eo *obj);
EVAS_API EVAS_API_WEAK void efl_input_device_subclass_set(Eo *obj, Evas_Device_Subclass sub_clas);
EVAS_API EVAS_API_WEAK Evas_Device_Subclass efl_input_device_subclass_get(const Eo *obj);
EOAPI void efl_input_device_grab_register(Eo *obj, Efl_Canvas_Object *grab, Evas_Object_Pointer_Data *pdata);
EOAPI void efl_input_device_grab_unregister(Eo *obj, Efl_Canvas_Object *grab, Evas_Object_Pointer_Data *pdata);
EVAS_API EVAS_API_WEAK void efl_input_device_grab_register(Eo *obj, Efl_Canvas_Object *grab, Evas_Object_Pointer_Data *pdata);
EVAS_API EVAS_API_WEAK void efl_input_device_grab_unregister(Eo *obj, Efl_Canvas_Object *grab, Evas_Object_Pointer_Data *pdata);
typedef struct _Efl_Input_Pointer_Data Efl_Input_Pointer_Data;
typedef struct _Efl_Input_Key_Data Efl_Input_Key_Data;
@ -193,23 +169,23 @@ _efl_input_value_mark(Efl_Input_Pointer_Data *pd, Efl_Input_Value key)
typedef struct _Efl_Canvas_Output Efl_Canvas_Output;
EAPI Efl_Canvas_Output *efl_canvas_output_add(Evas *canvas);
EAPI void efl_canvas_output_del(Efl_Canvas_Output *output);
EAPI void efl_canvas_output_view_set(Efl_Canvas_Output *output,
EVAS_API Efl_Canvas_Output *efl_canvas_output_add(Evas *canvas);
EVAS_API void efl_canvas_output_del(Efl_Canvas_Output *output);
EVAS_API void efl_canvas_output_view_set(Efl_Canvas_Output *output,
Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h);
EAPI void efl_canvas_output_view_get(Efl_Canvas_Output *output,
EVAS_API void efl_canvas_output_view_get(Efl_Canvas_Output *output,
Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h);
EAPI Eina_Bool efl_canvas_output_engine_info_set(Efl_Canvas_Output *output,
EVAS_API Eina_Bool efl_canvas_output_engine_info_set(Efl_Canvas_Output *output,
Evas_Engine_Info *info);
EAPI Evas_Engine_Info *efl_canvas_output_engine_info_get(Efl_Canvas_Output *output);
EAPI Eina_Bool efl_canvas_output_lock(Efl_Canvas_Output *output);
EAPI Eina_Bool efl_canvas_output_unlock(Efl_Canvas_Output *output);
EVAS_API Evas_Engine_Info *efl_canvas_output_engine_info_get(Efl_Canvas_Output *output);
EVAS_API Eina_Bool efl_canvas_output_lock(Efl_Canvas_Output *output);
EVAS_API Eina_Bool efl_canvas_output_unlock(Efl_Canvas_Output *output);
EAPI void evas_render_pending_objects_flush(Evas *eo_evas);
EVAS_API void evas_render_pending_objects_flush(Evas *eo_evas);
EAPI void efl_input_pointer_finalize(Efl_Input_Pointer *obj);
EVAS_API void efl_input_pointer_finalize(Efl_Input_Pointer *obj);
EAPI Eina_Iterator *efl_canvas_iterator_create(Eo *obj, Eina_Iterator *real_iterator, Eina_List *list);
EVAS_API Eina_Iterator *efl_canvas_iterator_create(Eo *obj, Eina_Iterator *real_iterator, Eina_List *list);
static inline void
evas_object_size_hint_combined_min_get(const Eo *obj, int *w, int *h)
@ -230,23 +206,23 @@ evas_object_size_hint_combined_max_get(const Eo *obj, int *w, int *h)
}
/* Internal EO APIs */
EAPI Eo *evas_find(const Eo *obj);
EOAPI void efl_canvas_object_legacy_ctor(Eo *obj);
EOAPI void efl_canvas_object_type_set(Eo *obj, const char *type);
EOAPI void efl_canvas_group_add(Eo *obj);
EOAPI void efl_canvas_group_del(Eo *obj);
EOAPI void efl_canvas_group_clipped_set(Eo *obj, Eina_Bool unclipped);
EOAPI void evas_canvas_touch_point_list_nth_xy_get(Eo *obj, unsigned int n, double *x, double *y);
EOAPI void evas_canvas_seat_focus_in(Eo *obj, Efl_Input_Device *seat);
EOAPI void evas_canvas_seat_focus_out(Eo *obj, Efl_Input_Device *seat);
EOAPI Eo* evas_canvas_seat_focus_get(const Eo *obj, Efl_Input_Device *seat);
EVAS_API Eo *evas_find(const Eo *obj);
EVAS_API EVAS_API_WEAK void efl_canvas_object_legacy_ctor(Eo *obj);
EVAS_API EVAS_API_WEAK void efl_canvas_object_type_set(Eo *obj, const char *type);
EVAS_API EVAS_API_WEAK void efl_canvas_group_add(Eo *obj);
EVAS_API EVAS_API_WEAK void efl_canvas_group_del(Eo *obj);
EVAS_API EVAS_API_WEAK void efl_canvas_group_clipped_set(Eo *obj, Eina_Bool unclipped);
EVAS_API EVAS_API_WEAK void evas_canvas_touch_point_list_nth_xy_get(Eo *obj, unsigned int n, double *x, double *y);
EVAS_API EVAS_API_WEAK void evas_canvas_seat_focus_in(Eo *obj, Efl_Input_Device *seat);
EVAS_API EVAS_API_WEAK void evas_canvas_seat_focus_out(Eo *obj, Efl_Input_Device *seat);
EVAS_API EVAS_API_WEAK Eo* evas_canvas_seat_focus_get(const Eo *obj, Efl_Input_Device *seat);
EOAPI void *efl_input_legacy_info_get(const Eo *obj);
EVAS_API EVAS_API_WEAK void *efl_input_legacy_info_get(const Eo *obj);
EOAPI Eo *efl_input_focus_instance_get(Efl_Object *owner, void **priv);
EOAPI Eo *efl_input_hold_instance_get(Efl_Object *owner, void **priv);
EOAPI Eo *efl_input_key_instance_get(Efl_Object *owner, void **priv);
EOAPI Eo *efl_input_pointer_instance_get(Efl_Object *owner, void **priv);
EVAS_API EVAS_API_WEAK Eo *efl_input_focus_instance_get(Efl_Object *owner, void **priv);
EVAS_API EVAS_API_WEAK Eo *efl_input_hold_instance_get(Efl_Object *owner, void **priv);
EVAS_API EVAS_API_WEAK Eo *efl_input_key_instance_get(Efl_Object *owner, void **priv);
EVAS_API EVAS_API_WEAK Eo *efl_input_pointer_instance_get(Efl_Object *owner, void **priv);
/**
* @brief If @c true the object belongs to the window border decorations.
*
@ -264,7 +240,7 @@ EOAPI Eo *efl_input_pointer_instance_get(Efl_Object *owner, void **priv);
*
* @ingroup Efl_Canvas_Object
*/
EOAPI void efl_canvas_object_is_frame_object_set(Eo *obj, Eina_Bool is_frame);
EVAS_API EVAS_API_WEAK void efl_canvas_object_is_frame_object_set(Eo *obj, Eina_Bool is_frame);
/**
* @brief If @c true the object belongs to the window border decorations.
@ -284,18 +260,18 @@ EOAPI void efl_canvas_object_is_frame_object_set(Eo *obj, Eina_Bool is_frame);
*
* @ingroup Efl_Canvas_Object
*/
EOAPI Eina_Bool efl_canvas_object_is_frame_object_get(const Eo *obj);
EVAS_API EVAS_API_WEAK Eina_Bool efl_canvas_object_is_frame_object_get(const Eo *obj);
EWAPI extern const Efl_Event_Description _EVAS_CANVAS_EVENT_RENDER_FLUSH_PRE;
EVAS_API EVAS_API_WEAK extern const Efl_Event_Description _EVAS_CANVAS_EVENT_RENDER_FLUSH_PRE;
#define EVAS_CANVAS_EVENT_RENDER_FLUSH_PRE (&(_EVAS_CANVAS_EVENT_RENDER_FLUSH_PRE))
EWAPI extern const Efl_Event_Description _EVAS_CANVAS_EVENT_RENDER_FLUSH_POST;
EVAS_API EVAS_API_WEAK extern const Efl_Event_Description _EVAS_CANVAS_EVENT_RENDER_FLUSH_POST;
#define EVAS_CANVAS_EVENT_RENDER_FLUSH_POST (&(_EVAS_CANVAS_EVENT_RENDER_FLUSH_POST))
EWAPI extern const Efl_Event_Description _EVAS_CANVAS_EVENT_AXIS_UPDATE;
EVAS_API EVAS_API_WEAK extern const Efl_Event_Description _EVAS_CANVAS_EVENT_AXIS_UPDATE;
#define EVAS_CANVAS_EVENT_AXIS_UPDATE (&(_EVAS_CANVAS_EVENT_AXIS_UPDATE))
EWAPI extern const Efl_Event_Description _EVAS_CANVAS_EVENT_VIEWPORT_RESIZE;
EVAS_API EVAS_API_WEAK extern const Efl_Event_Description _EVAS_CANVAS_EVENT_VIEWPORT_RESIZE;
#define EVAS_CANVAS_EVENT_VIEWPORT_RESIZE (&(_EVAS_CANVAS_EVENT_VIEWPORT_RESIZE))
#define EFL_CANVAS_GROUP_DEL_OPS(kls) EFL_OBJECT_OP_FUNC(efl_canvas_group_del, _##kls##_efl_canvas_group_group_del)
@ -303,7 +279,7 @@ EWAPI extern const Efl_Event_Description _EVAS_CANVAS_EVENT_VIEWPORT_RESIZE;
#define EFL_CANVAS_GROUP_ADD_DEL_OPS(kls) EFL_CANVAS_GROUP_ADD_OPS(kls), EFL_CANVAS_GROUP_DEL_OPS(kls)
/* Efl.Animation.Player */
EWAPI extern const Efl_Event_Description _EFL_ANIMATION_PLAYER_EVENT_PRE_STARTED;
EVAS_API EVAS_API_WEAK extern const Efl_Event_Description _EFL_ANIMATION_PLAYER_EVENT_PRE_STARTED;
#define EFL_ANIMATION_PLAYER_EVENT_PRE_STARTED (&(_EFL_ANIMATION_PLAYER_EVENT_PRE_STARTED))
/* Efl.Animation.Player END */
@ -316,24 +292,21 @@ EWAPI extern const Efl_Event_Description _EFL_ANIMATION_PLAYER_EVENT_PRE_STARTED
* @param cur the cursor.
* @param forward if Eina_True check cluster after cusror position, else before cursor position.
*/
EAPI Eina_Bool evas_textblock_cursor_at_cluster_as_single_glyph(Evas_Textblock_Cursor *cur,Eina_Bool forward);
EVAS_API Eina_Bool evas_textblock_cursor_at_cluster_as_single_glyph(Evas_Textblock_Cursor *cur,Eina_Bool forward);
/*Attribute Factory Internal function*/
EAPI const char * efl_text_formatter_attribute_get(Efl_Text_Attribute_Handle *annotation);
EAPI Eina_Iterator * efl_text_formatter_range_attributes_get(const Efl_Text_Cursor_Object *start, const Efl_Text_Cursor_Object *end);
EAPI void efl_text_formatter_attribute_cursors_get(const Efl_Text_Attribute_Handle *handle, Efl_Text_Cursor_Object *start, Efl_Text_Cursor_Object *end);
EAPI void efl_text_formatter_remove(Efl_Text_Attribute_Handle *annotation);
EAPI Eina_Bool efl_text_formatter_attribute_is_item(Efl_Text_Attribute_Handle *annotation);
EAPI Eina_Bool efl_text_formatter_item_geometry_get(const Efl_Text_Attribute_Handle *annotation, int *x, int *y, int *w, int *h);
EVAS_API const char * efl_text_formatter_attribute_get(Efl_Text_Attribute_Handle *annotation);
EVAS_API Eina_Iterator * efl_text_formatter_range_attributes_get(const Efl_Text_Cursor_Object *start, const Efl_Text_Cursor_Object *end);
EVAS_API void efl_text_formatter_attribute_cursors_get(const Efl_Text_Attribute_Handle *handle, Efl_Text_Cursor_Object *start, Efl_Text_Cursor_Object *end);
EVAS_API void efl_text_formatter_remove(Efl_Text_Attribute_Handle *annotation);
EVAS_API Eina_Bool efl_text_formatter_attribute_is_item(Efl_Text_Attribute_Handle *annotation);
EVAS_API Eina_Bool efl_text_formatter_item_geometry_get(const Efl_Text_Attribute_Handle *annotation, int *x, int *y, int *w, int *h);
#ifdef __cplusplus
}
#endif
#undef EAPI
#define EAPI
#endif

File diff suppressed because it is too large Load Diff

View File

@ -39,31 +39,7 @@
#include "Eina.h"
#include "Emile.h"
#ifdef EAPI
# undef EAPI
#endif
#ifdef _WIN32
# ifdef EFL_BUILD
# ifdef DLL_EXPORT
# define EAPI __declspec(dllexport)
# else
# define EAPI
# endif
# 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_api.h>
#ifdef __cplusplus
extern "C" {
@ -239,10 +215,10 @@ struct _Evas_Image_Load_Func
Eina_Bool do_region;
};
EAPI Eina_Bool evas_module_register (const Evas_Module_Api *module, Evas_Module_Type type);
EAPI Eina_Bool evas_module_unregister (const Evas_Module_Api *module, Evas_Module_Type type);
EVAS_API Eina_Bool evas_module_register (const Evas_Module_Api *module, Evas_Module_Type type);
EVAS_API Eina_Bool evas_module_unregister (const Evas_Module_Api *module, Evas_Module_Type type);
EAPI Eina_Bool evas_module_task_cancelled (void); /**< @since 1.19 */
EVAS_API Eina_Bool evas_module_task_cancelled (void); /**< @since 1.19 */
#define EVAS_MODULE_TASK_CHECK(Count, Mask, Error, Error_Handler) \
do { \
@ -306,7 +282,4 @@ evas_loader_helper_stretch_region_push(uint8_t **region,
}
#endif
#undef EAPI
#define EAPI
#endif

View File

@ -113,62 +113,62 @@ extern "C" {
#endif
EAPI Evas_Cache_Image* evas_cache_image_init(const Evas_Cache_Image_Func *cb);
EAPI void evas_cache_image_shutdown(Evas_Cache_Image *cache);
EAPI Image_Entry* evas_cache_image_request(Evas_Cache_Image *cache, const char *file, const char *key, Evas_Image_Load_Opts *lo, int *error);
EAPI Image_Entry* evas_cache_image_mmap_request(Evas_Cache_Image *cache, Eina_File *f, const char *key, Evas_Image_Load_Opts *lo, int *error);
EAPI void evas_cache_image_ref(Image_Entry *im);
EAPI void evas_cache_image_drop(Image_Entry *im);
EAPI void evas_cache_image_data_not_needed(Image_Entry *im);
EAPI int evas_cache_image_flush(Evas_Cache_Image *cache);
EAPI void evas_cache_private_set(Evas_Cache_Image *cache, const void *data);
EAPI void* evas_cache_private_get(Evas_Cache_Image *cache);
EAPI void* evas_cache_private_from_image_entry_get(Image_Entry *im);
EVAS_API Evas_Cache_Image* evas_cache_image_init(const Evas_Cache_Image_Func *cb);
EVAS_API void evas_cache_image_shutdown(Evas_Cache_Image *cache);
EVAS_API Image_Entry* evas_cache_image_request(Evas_Cache_Image *cache, const char *file, const char *key, Evas_Image_Load_Opts *lo, int *error);
EVAS_API Image_Entry* evas_cache_image_mmap_request(Evas_Cache_Image *cache, Eina_File *f, const char *key, Evas_Image_Load_Opts *lo, int *error);
EVAS_API void evas_cache_image_ref(Image_Entry *im);
EVAS_API void evas_cache_image_drop(Image_Entry *im);
EVAS_API void evas_cache_image_data_not_needed(Image_Entry *im);
EVAS_API int evas_cache_image_flush(Evas_Cache_Image *cache);
EVAS_API void evas_cache_private_set(Evas_Cache_Image *cache, const void *data);
EVAS_API void* evas_cache_private_get(Evas_Cache_Image *cache);
EVAS_API void* evas_cache_private_from_image_entry_get(Image_Entry *im);
EAPI int evas_cache_image_usage_get(Evas_Cache_Image *cache);
EAPI int evas_cache_image_get(Evas_Cache_Image *cache);
EAPI void evas_cache_image_set(Evas_Cache_Image *cache, unsigned int size);
EVAS_API int evas_cache_image_usage_get(Evas_Cache_Image *cache);
EVAS_API int evas_cache_image_get(Evas_Cache_Image *cache);
EVAS_API void evas_cache_image_set(Evas_Cache_Image *cache, unsigned int size);
EAPI Image_Entry* evas_cache_image_alone(Image_Entry *im);
EAPI Image_Entry* evas_cache_image_dirty(Image_Entry *im, unsigned int x, unsigned int y, unsigned int w, unsigned int h);
EAPI int evas_cache_image_load_data(Image_Entry *im);
EAPI void evas_cache_image_unload_data(Image_Entry *im);
EAPI Eina_Bool evas_cache_image_is_loaded(Image_Entry *im);
EAPI void evas_cache_image_unload_all(Evas_Cache_Image *cache);
EAPI void evas_cache_image_surface_alloc(Image_Entry *im, unsigned int w, unsigned int h);
EAPI DATA32* evas_cache_image_pixels(Image_Entry *im);
EAPI Image_Entry* evas_cache_image_copied_data(Evas_Cache_Image *cache, unsigned int w, unsigned int h, DATA32 *image_data, int alpha, Evas_Colorspace cspace);
EAPI Image_Entry* evas_cache_image_data(Evas_Cache_Image *cache, unsigned int w, unsigned int h, DATA32 *image_data, int alpha, Evas_Colorspace cspace);
EAPI void evas_cache_image_colorspace(Image_Entry *im, Evas_Colorspace cspace);
EAPI Image_Entry* evas_cache_image_empty(Evas_Cache_Image *cache);
EAPI Image_Entry* evas_cache_image_size_set(Image_Entry *im, unsigned int w, unsigned int h);
EVAS_API Image_Entry* evas_cache_image_alone(Image_Entry *im);
EVAS_API Image_Entry* evas_cache_image_dirty(Image_Entry *im, unsigned int x, unsigned int y, unsigned int w, unsigned int h);
EVAS_API int evas_cache_image_load_data(Image_Entry *im);
EVAS_API void evas_cache_image_unload_data(Image_Entry *im);
EVAS_API Eina_Bool evas_cache_image_is_loaded(Image_Entry *im);
EVAS_API void evas_cache_image_unload_all(Evas_Cache_Image *cache);
EVAS_API void evas_cache_image_surface_alloc(Image_Entry *im, unsigned int w, unsigned int h);
EVAS_API DATA32* evas_cache_image_pixels(Image_Entry *im);
EVAS_API Image_Entry* evas_cache_image_copied_data(Evas_Cache_Image *cache, unsigned int w, unsigned int h, DATA32 *image_data, int alpha, Evas_Colorspace cspace);
EVAS_API Image_Entry* evas_cache_image_data(Evas_Cache_Image *cache, unsigned int w, unsigned int h, DATA32 *image_data, int alpha, Evas_Colorspace cspace);
EVAS_API void evas_cache_image_colorspace(Image_Entry *im, Evas_Colorspace cspace);
EVAS_API Image_Entry* evas_cache_image_empty(Evas_Cache_Image *cache);
EVAS_API Image_Entry* evas_cache_image_size_set(Image_Entry *im, unsigned int w, unsigned int h);
EAPI Evas_Cache_Engine_Image* evas_cache_engine_image_init(const Evas_Cache_Engine_Image_Func *cb, Evas_Cache_Image *parent);
EAPI void evas_cache_engine_image_shutdown(Evas_Cache_Engine_Image *cache);
EVAS_API Evas_Cache_Engine_Image* evas_cache_engine_image_init(const Evas_Cache_Engine_Image_Func *cb, Evas_Cache_Image *parent);
EVAS_API void evas_cache_engine_image_shutdown(Evas_Cache_Engine_Image *cache);
EAPI int evas_cache_engine_image_usage_get(Evas_Cache_Engine_Image *cache);
EAPI int evas_cache_engine_image_get(Evas_Cache_Engine_Image *cache);
EAPI void evas_cache_engine_image_set(Evas_Cache_Engine_Image *cache, int limit);
EVAS_API int evas_cache_engine_image_usage_get(Evas_Cache_Engine_Image *cache);
EVAS_API int evas_cache_engine_image_get(Evas_Cache_Engine_Image *cache);
EVAS_API void evas_cache_engine_image_set(Evas_Cache_Engine_Image *cache, int limit);
EAPI Engine_Image_Entry* evas_cache_engine_image_request(Evas_Cache_Engine_Image *cache, const char *file, const char *key, Evas_Image_Load_Opts *lo, void *engine_data, int *error);
EAPI void evas_cache_engine_parent_not_needed(Engine_Image_Entry *eim);
EAPI Engine_Image_Entry* evas_cache_engine_image_engine(Evas_Cache_Engine_Image *cache, void *engine_data);
EAPI void evas_cache_engine_image_drop(Engine_Image_Entry *eim);
EAPI Engine_Image_Entry* evas_cache_engine_image_alone(Engine_Image_Entry *eim, void *data);
EAPI Engine_Image_Entry* evas_cache_engine_image_dirty(Engine_Image_Entry *eim, unsigned int x, unsigned int y, unsigned int w, unsigned int h);
EAPI Engine_Image_Entry* evas_cache_engine_image_copied_data(Evas_Cache_Engine_Image *cache, unsigned int w, unsigned int h, DATA32 *image_data, int alpha, Evas_Colorspace cspace, void *engine_data);
EAPI Engine_Image_Entry* evas_cache_engine_image_data(Evas_Cache_Engine_Image *cache, unsigned int w, unsigned int h, DATA32 *image_data, int alpha, Evas_Colorspace cspace, void *engine_data);
EAPI void evas_cache_engine_image_colorspace(Engine_Image_Entry *eim, Evas_Colorspace cspace, void *engine_data);
EAPI Engine_Image_Entry* evas_cache_engine_image_size_set(Engine_Image_Entry *eim, unsigned int w, unsigned int h);
EVAS_API Engine_Image_Entry* evas_cache_engine_image_request(Evas_Cache_Engine_Image *cache, const char *file, const char *key, Evas_Image_Load_Opts *lo, void *engine_data, int *error);
EVAS_API void evas_cache_engine_parent_not_needed(Engine_Image_Entry *eim);
EVAS_API Engine_Image_Entry* evas_cache_engine_image_engine(Evas_Cache_Engine_Image *cache, void *engine_data);
EVAS_API void evas_cache_engine_image_drop(Engine_Image_Entry *eim);
EVAS_API Engine_Image_Entry* evas_cache_engine_image_alone(Engine_Image_Entry *eim, void *data);
EVAS_API Engine_Image_Entry* evas_cache_engine_image_dirty(Engine_Image_Entry *eim, unsigned int x, unsigned int y, unsigned int w, unsigned int h);
EVAS_API Engine_Image_Entry* evas_cache_engine_image_copied_data(Evas_Cache_Engine_Image *cache, unsigned int w, unsigned int h, DATA32 *image_data, int alpha, Evas_Colorspace cspace, void *engine_data);
EVAS_API Engine_Image_Entry* evas_cache_engine_image_data(Evas_Cache_Engine_Image *cache, unsigned int w, unsigned int h, DATA32 *image_data, int alpha, Evas_Colorspace cspace, void *engine_data);
EVAS_API void evas_cache_engine_image_colorspace(Engine_Image_Entry *eim, Evas_Colorspace cspace, void *engine_data);
EVAS_API Engine_Image_Entry* evas_cache_engine_image_size_set(Engine_Image_Entry *eim, unsigned int w, unsigned int h);
EAPI void evas_cache_engine_image_load_data(Engine_Image_Entry *eim);
EVAS_API void evas_cache_engine_image_load_data(Engine_Image_Entry *eim);
EAPI void evas_cache_image_preload_data(Image_Entry *im, const Eo *target, void (*preloaded_cb)(void *data), void *preloaded_data);
EAPI void evas_cache_image_preload_cancel(Image_Entry *im, const Eo *target, Eina_Bool force);
EVAS_API void evas_cache_image_preload_data(Image_Entry *im, const Eo *target, void (*preloaded_cb)(void *data), void *preloaded_data);
EVAS_API void evas_cache_image_preload_cancel(Image_Entry *im, const Eo *target, Eina_Bool force);
EAPI int evas_cache_async_frozen_get(void);
EAPI void evas_cache_async_freeze(void);
EAPI void evas_cache_async_thaw(void);
EVAS_API int evas_cache_async_frozen_get(void);
EVAS_API void evas_cache_async_freeze(void);
EVAS_API void evas_cache_async_thaw(void);
#ifdef __cplusplus
}

View File

@ -137,28 +137,28 @@ _evas_cache_engine_image_dealloc(Evas_Cache_Engine_Image *cache,
}
}
EAPI int
EVAS_API int
evas_cache_engine_image_usage_get(Evas_Cache_Engine_Image *cache)
{
assert(cache != NULL);
return cache->usage;
}
EAPI int
EVAS_API int
evas_cache_engine_image_get(Evas_Cache_Engine_Image *cache)
{
assert(cache != NULL);
return cache->limit;
}
EAPI void
EVAS_API void
evas_cache_engine_image_set(Evas_Cache_Engine_Image *cache, int limit)
{
assert(cache != NULL);
cache->limit = limit;
}
EAPI Evas_Cache_Engine_Image *
EVAS_API Evas_Cache_Engine_Image *
evas_cache_engine_image_init(const Evas_Cache_Engine_Image_Func *cb,
Evas_Cache_Image *parent)
{
@ -185,7 +185,7 @@ evas_cache_engine_image_init(const Evas_Cache_Engine_Image_Func *cb,
return new;
}
EAPI Evas_Cache_Engine_Image *
EVAS_API Evas_Cache_Engine_Image *
evas_cache_engine_image_dup(const Evas_Cache_Engine_Image_Func *cb,
Evas_Cache_Engine_Image *brother)
{
@ -236,7 +236,7 @@ _evas_cache_engine_image_free_cb(EINA_UNUSED const Eina_Hash *hash,
return EINA_TRUE;
}
EAPI void
EVAS_API void
evas_cache_engine_image_flush(Evas_Cache_Engine_Image *cache)
{
assert(cache != NULL);
@ -250,7 +250,7 @@ evas_cache_engine_image_flush(Evas_Cache_Engine_Image *cache)
}
}
EAPI void
EVAS_API void
evas_cache_engine_image_shutdown(Evas_Cache_Engine_Image *cache)
{
Engine_Image_Entry *eim;
@ -288,7 +288,7 @@ evas_cache_engine_image_shutdown(Evas_Cache_Engine_Image *cache)
free(cache);
}
EAPI Engine_Image_Entry *
EVAS_API Engine_Image_Entry *
evas_cache_engine_image_request(Evas_Cache_Engine_Image *cache,
const char *file, const char *key,
Evas_Image_Load_Opts *lo, void *data,
@ -357,7 +357,7 @@ on_error:
return NULL;
}
EAPI void
EVAS_API void
evas_cache_engine_image_drop(Engine_Image_Entry *eim)
{
Evas_Cache_Engine_Image *cache;
@ -383,7 +383,7 @@ evas_cache_engine_image_drop(Engine_Image_Entry *eim)
}
}
EAPI Engine_Image_Entry *
EVAS_API Engine_Image_Entry *
evas_cache_engine_image_dirty(Engine_Image_Entry *eim,
unsigned int x, unsigned int y,
unsigned int w, unsigned int h)
@ -466,7 +466,7 @@ on_error:
return NULL;
}
EAPI Engine_Image_Entry *
EVAS_API Engine_Image_Entry *
evas_cache_engine_image_alone(Engine_Image_Entry *eim, void *data)
{
Evas_Cache_Engine_Image *cache;
@ -517,7 +517,7 @@ on_error:
return NULL;
}
EAPI Engine_Image_Entry *
EVAS_API Engine_Image_Entry *
evas_cache_engine_image_copied_data(Evas_Cache_Engine_Image *cache,
unsigned int w, unsigned int h,
DATA32 *image_data, int alpha,
@ -531,7 +531,7 @@ evas_cache_engine_image_copied_data(Evas_Cache_Engine_Image *cache,
return _evas_cache_engine_image_push_dirty(cache, im, engine_data);
}
EAPI Engine_Image_Entry *
EVAS_API Engine_Image_Entry *
evas_cache_engine_image_data(Evas_Cache_Engine_Image *cache,
unsigned int w, unsigned int h,
DATA32 *image_data, int alpha,
@ -544,7 +544,7 @@ evas_cache_engine_image_data(Evas_Cache_Engine_Image *cache,
return _evas_cache_engine_image_push_dirty(cache, im, engine_data);
}
EAPI Engine_Image_Entry *
EVAS_API Engine_Image_Entry *
evas_cache_engine_image_size_set(Engine_Image_Entry *eim,
unsigned int w, unsigned int h)
{
@ -596,7 +596,7 @@ on_error:
return NULL;
}
EAPI void
EVAS_API void
evas_cache_engine_image_load_data(Engine_Image_Entry *eim)
{
Evas_Cache_Engine_Image *cache;
@ -621,7 +621,7 @@ evas_cache_engine_image_load_data(Engine_Image_Entry *eim)
eim->flags.loaded = 1;
}
EAPI Engine_Image_Entry *
EVAS_API Engine_Image_Entry *
evas_cache_engine_image_engine(Evas_Cache_Engine_Image *cache,
void *engine_data)
{
@ -650,7 +650,7 @@ on_error:
return NULL;
}
EAPI void
EVAS_API void
evas_cache_engine_image_colorspace(Engine_Image_Entry *eim,
Evas_Colorspace cspace, void *engine_data)
{
@ -665,7 +665,7 @@ evas_cache_engine_image_colorspace(Engine_Image_Entry *eim,
cache->func.debug("cosntructor-colorspace-engine", eim);
}
EAPI void
EVAS_API void
evas_cache_engine_parent_not_needed(Engine_Image_Entry *eim)
{
assert(eim);

View File

@ -547,21 +547,21 @@ _evas_cache_image_entry_preload_remove(Image_Entry *ie, const Eo *target, Eina_B
// evas_cache_image_drop(ie);
}
EAPI int
EVAS_API int
evas_cache_image_usage_get(Evas_Cache_Image *cache)
{
if (!cache) return 0;
return cache->usage;
}
EAPI int
EVAS_API int
evas_cache_image_get(Evas_Cache_Image *cache)
{
if (!cache) return 0;
return cache->limit;
}
EAPI void
EVAS_API void
evas_cache_image_set(Evas_Cache_Image *cache, unsigned int limit)
{
if (!cache) return;
@ -573,7 +573,7 @@ evas_cache_image_set(Evas_Cache_Image *cache, unsigned int limit)
evas_cache_image_flush(cache);
}
EAPI Evas_Cache_Image *
EVAS_API Evas_Cache_Image *
evas_cache_image_init(const Evas_Cache_Image_Func *cb)
{
Evas_Cache_Image *cache;
@ -602,7 +602,7 @@ _evas_cache_image_free_cb(EINA_UNUSED const Eina_Hash *hash, EINA_UNUSED const v
return EINA_TRUE;
}
EAPI void
EVAS_API void
evas_cache_image_shutdown(Evas_Cache_Image *cache)
{
Eina_List *delete_list;
@ -750,7 +750,7 @@ _evas_cache_image_loadopts_append(char *hkey, Evas_Image_Load_Opts **plo)
return offset;
}
EAPI Image_Entry *
EVAS_API Image_Entry *
evas_cache_image_mmap_request(Evas_Cache_Image *cache,
Eina_File *f, const char *key,
Evas_Image_Load_Opts *lo, int *error)
@ -849,7 +849,7 @@ evas_cache_image_mmap_request(Evas_Cache_Image *cache,
}
EAPI Image_Entry *
EVAS_API Image_Entry *
evas_cache_image_request(Evas_Cache_Image *cache, const char *file,
const char *key, Evas_Image_Load_Opts *lo, int *error)
{
@ -999,7 +999,7 @@ on_stat_error:
return NULL;
}
EAPI void
EVAS_API void
evas_cache_image_ref(Image_Entry *im)
{
SLKL(engine_lock);
@ -1007,7 +1007,7 @@ evas_cache_image_ref(Image_Entry *im)
SLKU(engine_lock);
}
EAPI void
EVAS_API void
evas_cache_image_drop(Image_Entry *im)
{
Evas_Cache_Image *cache;
@ -1048,7 +1048,7 @@ evas_cache_image_drop(Image_Entry *im)
}
}
EAPI void
EVAS_API void
evas_cache_image_data_not_needed(Image_Entry *im)
{
int references;
@ -1061,7 +1061,7 @@ evas_cache_image_data_not_needed(Image_Entry *im)
SLKU(engine_lock);
}
EAPI Image_Entry *
EVAS_API Image_Entry *
evas_cache_image_dirty(Image_Entry *im, unsigned int x, unsigned int y, unsigned int w, unsigned int h)
{
Image_Entry *im_dirty = im;
@ -1100,7 +1100,7 @@ on_error:
return NULL;
}
EAPI Image_Entry *
EVAS_API Image_Entry *
evas_cache_image_alone(Image_Entry *im)
{
Evas_Cache_Image *cache;
@ -1137,7 +1137,7 @@ on_error:
return NULL;
}
EAPI Image_Entry *
EVAS_API Image_Entry *
evas_cache_image_copied_data(Evas_Cache_Image *cache,
unsigned int w, unsigned int h,
DATA32 *image_data, int alpha,
@ -1172,7 +1172,7 @@ evas_cache_image_copied_data(Evas_Cache_Image *cache,
return im;
}
EAPI Image_Entry *
EVAS_API Image_Entry *
evas_cache_image_data(Evas_Cache_Image *cache, unsigned int w, unsigned int h,
DATA32 *image_data, int alpha, Evas_Colorspace cspace)
{
@ -1205,7 +1205,7 @@ evas_cache_image_data(Evas_Cache_Image *cache, unsigned int w, unsigned int h,
return im;
}
EAPI void
EVAS_API void
evas_cache_image_surface_alloc(Image_Entry *im, unsigned int w, unsigned int h)
{
Evas_Cache_Image *cache = im->cache;
@ -1220,7 +1220,7 @@ evas_cache_image_surface_alloc(Image_Entry *im, unsigned int w, unsigned int h)
if (cache->func.debug) cache->func.debug("surface-alloc", im);
}
EAPI Image_Entry *
EVAS_API Image_Entry *
evas_cache_image_size_set(Image_Entry *im, unsigned int w, unsigned int h)
{
Evas_Cache_Image *cache;
@ -1271,7 +1271,7 @@ on_error:
return NULL;
}
EAPI int
EVAS_API int
evas_cache_image_load_data(Image_Entry *im)
{
Eina_Bool preload = EINA_FALSE;
@ -1329,7 +1329,7 @@ evas_cache_image_load_data(Image_Entry *im)
return error;
}
EAPI void
EVAS_API void
evas_cache_image_unload_data(Image_Entry *im)
{
if (!im->cache) return;
@ -1373,7 +1373,7 @@ _evas_cache_image_unload_cb(EINA_UNUSED const Eina_Hash *hash, EINA_UNUSED const
return EINA_TRUE;
}
EAPI void
EVAS_API void
evas_cache_image_unload_all(Evas_Cache_Image *cache)
{
Image_Entry *im;
@ -1391,32 +1391,32 @@ evas_cache_image_unload_all(Evas_Cache_Image *cache)
static int async_frozen = 0;
EAPI int
EVAS_API int
evas_cache_async_frozen_get(void)
{
return async_frozen;
}
EAPI void
EVAS_API void
evas_cache_async_freeze(void)
{
async_frozen++;
}
EAPI void
EVAS_API void
evas_cache_async_thaw(void)
{
async_frozen--;
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_cache_image_is_loaded(Image_Entry *im)
{
if (im->flags.loaded) return EINA_TRUE;
return EINA_FALSE;
}
EAPI void
EVAS_API void
evas_cache_image_preload_data(Image_Entry *im, const Eo *target, void (*preloaded_cb)(void *), void *preloaded_data)
{
RGBA_Image *img = (RGBA_Image *)im;
@ -1438,7 +1438,7 @@ evas_cache_image_preload_data(Image_Entry *im, const Eo *target, void (*preloade
evas_cache_image_drop(im);
}
EAPI void
EVAS_API void
evas_cache_image_preload_cancel(Image_Entry *im, const Eo *target, Eina_Bool force)
{
if (!target) return;
@ -1497,7 +1497,7 @@ _dump_cache(Evas_Cache_Image *cache)
}
#endif
EAPI int
EVAS_API int
evas_cache_image_flush(Evas_Cache_Image *cache)
{
if (!cache) return 0;
@ -1531,7 +1531,7 @@ evas_cache_image_flush(Evas_Cache_Image *cache)
return cache->usage;
}
EAPI Image_Entry *
EVAS_API Image_Entry *
evas_cache_image_empty(Evas_Cache_Image *cache)
{
int err;
@ -1546,7 +1546,7 @@ evas_cache_image_empty(Evas_Cache_Image *cache)
return im;
}
EAPI void
EVAS_API void
evas_cache_image_colorspace(Image_Entry *im, Evas_Colorspace cspace)
{
if (!im->cache) return;
@ -1559,7 +1559,7 @@ done:
evas_cache_image_drop(im);
}
EAPI void *
EVAS_API void *
evas_cache_private_from_image_entry_get(Image_Entry *im)
{
void *data;
@ -1570,21 +1570,21 @@ evas_cache_private_from_image_entry_get(Image_Entry *im)
return data;
}
EAPI void *
EVAS_API void *
evas_cache_private_get(Evas_Cache_Image *cache)
{
if (!cache) return NULL;
return cache->data;
}
EAPI void
EVAS_API void
evas_cache_private_set(Evas_Cache_Image *cache, const void *data)
{
if (!cache) return;
cache->data = (void *)data;
}
EAPI DATA32 *
EVAS_API DATA32 *
evas_cache_image_pixels(Image_Entry *im)
{
if (!im->cache) return NULL;

View File

@ -400,7 +400,7 @@ _efl_canvas_event_grabber_freeze_when_visible_get(const Eo *eo_obj EINA_UNUSED,
return pd->freeze;
}
EAPI Evas_Object *
EVAS_API Evas_Object *
evas_object_event_grabber_add(Evas *eo_e)
{
eo_e = evas_find(eo_e);

View File

@ -1,11 +1,11 @@
EAPI void
EVAS_API void
evas_object_event_grabber_freeze_when_visible_set(Efl_Canvas_Event_Grabber *obj, Eina_Bool set)
{
efl_canvas_event_grabber_freeze_when_visible_set(obj, set);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_event_grabber_freeze_when_visible_get(const Efl_Canvas_Event_Grabber *obj)
{
return efl_canvas_event_grabber_freeze_when_visible_get(obj);

View File

@ -25,7 +25,7 @@ typedef Eo Efl_Canvas_Event_Grabber;
*
* @ingroup Evas_Object_Event_Grabber_Group
*/
EAPI void evas_object_event_grabber_freeze_when_visible_set(Efl_Canvas_Event_Grabber *obj, Eina_Bool set);
EVAS_API void evas_object_event_grabber_freeze_when_visible_set(Efl_Canvas_Event_Grabber *obj, Eina_Bool set);
/**
* @brief Stops the grabber from updating its internal stacking order while
@ -39,6 +39,6 @@ EAPI void evas_object_event_grabber_freeze_when_visible_set(Efl_Canvas_Event_Gra
*
* @ingroup Evas_Object_Event_Grabber_Group
*/
EAPI Eina_Bool evas_object_event_grabber_freeze_when_visible_get(const Efl_Canvas_Event_Grabber *obj);
EVAS_API Eina_Bool evas_object_event_grabber_freeze_when_visible_get(const Efl_Canvas_Event_Grabber *obj);
#endif

View File

@ -1,29 +1,29 @@
EAPI void
EVAS_API void
evas_object_smart_need_recalculate_set(Efl_Canvas_Group *obj, Eina_Bool value)
{
efl_canvas_group_need_recalculate_set(obj, value);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_smart_need_recalculate_get(const Efl_Canvas_Group *obj)
{
return efl_canvas_group_need_recalculate_get(obj);
}
EAPI void
EVAS_API void
evas_object_smart_changed(Efl_Canvas_Group *obj)
{
efl_canvas_group_change(obj);
}
EAPI void
EVAS_API void
evas_object_smart_calculate(Efl_Canvas_Group *obj)
{
efl_canvas_group_calculate(obj);
}
EAPI Eina_Iterator *
EVAS_API Eina_Iterator *
evas_object_smart_iterator_new(const Efl_Canvas_Group *obj)
{
return efl_canvas_group_members_iterate(obj);

View File

@ -34,7 +34,7 @@ typedef Eo Efl_Canvas_Group;
*
* @ingroup Evas_Object_Smart_Group
*/
EAPI void evas_object_smart_need_recalculate_set(Efl_Canvas_Group *obj, Eina_Bool value);
EVAS_API void evas_object_smart_need_recalculate_set(Efl_Canvas_Group *obj, Eina_Bool value);
/**
* @brief Indicates that the group's layout needs to be recalculated.
@ -57,7 +57,7 @@ EAPI void evas_object_smart_need_recalculate_set(Efl_Canvas_Group *obj, Eina_Boo
*
* @ingroup Evas_Object_Smart_Group
*/
EAPI Eina_Bool evas_object_smart_need_recalculate_get(const Efl_Canvas_Group *obj);
EVAS_API Eina_Bool evas_object_smart_need_recalculate_get(const Efl_Canvas_Group *obj);
/**
* @brief Marks the object as dirty.
@ -69,7 +69,7 @@ EAPI Eina_Bool evas_object_smart_need_recalculate_get(const Efl_Canvas_Group *ob
*
* @ingroup Evas_Object_Smart_Group
*/
EAPI void evas_object_smart_changed(Efl_Canvas_Group *obj);
EVAS_API void evas_object_smart_changed(Efl_Canvas_Group *obj);
/**
* @brief Triggers an immediate recalculation of this object's geometry.
@ -79,7 +79,7 @@ EAPI void evas_object_smart_changed(Efl_Canvas_Group *obj);
*
* @ingroup Evas_Object_Smart_Group
*/
EAPI void evas_object_smart_calculate(Efl_Canvas_Group *obj);
EVAS_API void evas_object_smart_calculate(Efl_Canvas_Group *obj);
/**
* @brief Returns an iterator over the children of this object, which are
@ -95,7 +95,7 @@ EAPI void evas_object_smart_calculate(Efl_Canvas_Group *obj);
*
* @ingroup Evas_Object_Smart_Group
*/
EAPI Eina_Iterator *evas_object_smart_iterator_new(const Efl_Canvas_Group *obj);
EVAS_API Eina_Iterator *evas_object_smart_iterator_new(const Efl_Canvas_Group *obj);

View File

@ -1,102 +1,102 @@
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_pointer_mode_set(Efl_Canvas_Object *obj, Evas_Object_Pointer_Mode pointer_mode)
{
return efl_canvas_object_pointer_mode_set(obj, (Efl_Input_Object_Pointer_Mode)pointer_mode);
}
EAPI Evas_Object_Pointer_Mode
EVAS_API Evas_Object_Pointer_Mode
evas_object_pointer_mode_get(const Efl_Canvas_Object *obj)
{
return (Evas_Object_Pointer_Mode)efl_canvas_object_pointer_mode_get(obj);
}
EAPI void
EVAS_API void
evas_object_clip_set(Efl_Canvas_Object *obj, Efl_Canvas_Object *clipper)
{
efl_canvas_object_clipper_set(obj, clipper);
}
EAPI Efl_Canvas_Object *
EVAS_API Efl_Canvas_Object *
evas_object_clip_get(const Efl_Canvas_Object *obj)
{
return efl_canvas_object_clipper_get(obj);
}
EAPI void
EVAS_API void
evas_object_repeat_events_set(Efl_Canvas_Object *obj, Eina_Bool repeat)
{
efl_canvas_object_repeat_events_set(obj, repeat);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_repeat_events_get(const Efl_Canvas_Object *obj)
{
return efl_canvas_object_repeat_events_get(obj);
}
EAPI void
EVAS_API void
evas_object_focus_set(Efl_Canvas_Object *obj, Eina_Bool focus)
{
efl_canvas_object_key_focus_set(obj, focus);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_focus_get(const Efl_Canvas_Object *obj)
{
return efl_canvas_object_key_focus_get(obj);
}
EAPI void
EVAS_API void
evas_object_precise_is_inside_set(Efl_Canvas_Object *obj, Eina_Bool precise)
{
efl_canvas_object_precise_is_inside_set(obj, precise);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_precise_is_inside_get(const Efl_Canvas_Object *obj)
{
return efl_canvas_object_precise_is_inside_get(obj);
}
EAPI void
EVAS_API void
evas_object_propagate_events_set(Efl_Canvas_Object *obj, Eina_Bool propagate)
{
efl_canvas_object_propagate_events_set(obj, propagate);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_propagate_events_get(const Efl_Canvas_Object *obj)
{
if (!efl_isa(obj, EFL_CANVAS_OBJECT_CLASS)) return EINA_FALSE;
return efl_canvas_object_propagate_events_get(obj);
}
EAPI void
EVAS_API void
evas_object_pass_events_set(Efl_Canvas_Object *obj, Eina_Bool pass)
{
efl_canvas_object_pass_events_set(obj, pass);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_pass_events_get(const Efl_Canvas_Object *obj)
{
return efl_canvas_object_pass_events_get(obj);
}
EAPI void
EVAS_API void
evas_object_anti_alias_set(Efl_Canvas_Object *obj, Eina_Bool anti_alias)
{
efl_canvas_object_anti_alias_set(obj, anti_alias);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_anti_alias_get(const Efl_Canvas_Object *obj)
{
return efl_canvas_object_anti_alias_get(obj);
}
EAPI Efl_Canvas_Object *
EVAS_API Efl_Canvas_Object *
evas_object_smart_parent_get(const Efl_Canvas_Object *obj)
{
return efl_canvas_object_render_parent_get(obj);
@ -134,13 +134,13 @@ _efl_text_bidirectional_type_to_evas_bidi_direction_type(Efl_Text_Bidirectional_
#undef CONVERT_TYPE
}
EAPI void
EVAS_API void
evas_object_paragraph_direction_set(Efl_Canvas_Object *obj, Evas_BiDi_Direction dir)
{
efl_canvas_object_paragraph_direction_set(obj, _evas_bidi_direction_type_to_efl_text_bidirectional_type(dir));
}
EAPI Evas_BiDi_Direction
EVAS_API Evas_BiDi_Direction
evas_object_paragraph_direction_get(const Efl_Canvas_Object *obj)
{
return _efl_text_bidirectional_type_to_evas_bidi_direction_type(efl_canvas_object_paragraph_direction_get(obj));

View File

@ -58,7 +58,7 @@ typedef struct _Efl_Event_Animator_Tick
*
* @ingroup Evas_Object_Group
*/
EAPI Eina_Bool evas_object_pointer_mode_set(Efl_Canvas_Object *obj, Evas_Object_Pointer_Mode pointer_mode);
EVAS_API Eina_Bool evas_object_pointer_mode_set(Efl_Canvas_Object *obj, Evas_Object_Pointer_Mode pointer_mode);
/**
* @brief Low-level pointer behaviour.
@ -85,7 +85,7 @@ EAPI Eina_Bool evas_object_pointer_mode_set(Efl_Canvas_Object *obj, Evas_Object_
*
* @ingroup Evas_Object_Group
*/
EAPI Evas_Object_Pointer_Mode evas_object_pointer_mode_get(const Efl_Canvas_Object *obj);
EVAS_API Evas_Object_Pointer_Mode evas_object_pointer_mode_get(const Efl_Canvas_Object *obj);
@ -131,7 +131,7 @@ EAPI Evas_Object_Pointer_Mode evas_object_pointer_mode_get(const Efl_Canvas_Obje
*
* @ingroup Evas_Object_Group
*/
EAPI void evas_object_clip_set(Efl_Canvas_Object *obj, Efl_Canvas_Object *clip) EINA_ARG_NONNULL(2);
EVAS_API void evas_object_clip_set(Efl_Canvas_Object *obj, Efl_Canvas_Object *clip) EINA_ARG_NONNULL(2);
/**
* @brief Get the object clipping @c obj (if any).
@ -146,7 +146,7 @@ EAPI void evas_object_clip_set(Efl_Canvas_Object *obj, Efl_Canvas_Object *clip)
*
* @ingroup Evas_Object_Group
*/
EAPI Efl_Canvas_Object *evas_object_clip_get(const Efl_Canvas_Object *obj);
EVAS_API Efl_Canvas_Object *evas_object_clip_get(const Efl_Canvas_Object *obj);
/**
* @brief Set whether an Evas object is to repeat events.
@ -164,7 +164,7 @@ EAPI Efl_Canvas_Object *evas_object_clip_get(const Efl_Canvas_Object *obj);
*
* @ingroup Evas_Object_Group
*/
EAPI void evas_object_repeat_events_set(Efl_Canvas_Object *obj, Eina_Bool repeat);
EVAS_API void evas_object_repeat_events_set(Efl_Canvas_Object *obj, Eina_Bool repeat);
/**
* @brief Determine whether an object is set to repeat events.
@ -175,7 +175,7 @@ EAPI void evas_object_repeat_events_set(Efl_Canvas_Object *obj, Eina_Bool repeat
*
* @ingroup Evas_Object_Group
*/
EAPI Eina_Bool evas_object_repeat_events_get(const Efl_Canvas_Object *obj);
EVAS_API Eina_Bool evas_object_repeat_events_get(const Efl_Canvas_Object *obj);
/**
* @brief Indicates that this object is the keyboard event receiver on its
@ -194,7 +194,7 @@ EAPI Eina_Bool evas_object_repeat_events_get(const Efl_Canvas_Object *obj);
*
* @ingroup Evas_Object_Group
*/
EAPI void evas_object_focus_set(Efl_Canvas_Object *obj, Eina_Bool focus);
EVAS_API void evas_object_focus_set(Efl_Canvas_Object *obj, Eina_Bool focus);
/**
* @brief Indicates that this object is the keyboard event receiver on its
@ -214,7 +214,7 @@ EAPI void evas_object_focus_set(Efl_Canvas_Object *obj, Eina_Bool focus);
*
* @ingroup Evas_Object_Group
*/
EAPI Eina_Bool evas_object_focus_get(const Efl_Canvas_Object *obj);
EVAS_API Eina_Bool evas_object_focus_get(const Efl_Canvas_Object *obj);
@ -237,7 +237,7 @@ EAPI Eina_Bool evas_object_focus_get(const Efl_Canvas_Object *obj);
*
* @ingroup Evas_Object_Group
*/
EAPI void evas_object_precise_is_inside_set(Efl_Canvas_Object *obj, Eina_Bool precise);
EVAS_API void evas_object_precise_is_inside_set(Efl_Canvas_Object *obj, Eina_Bool precise);
/**
* @brief Determine whether an object is set to use precise point collision
@ -250,7 +250,7 @@ EAPI void evas_object_precise_is_inside_set(Efl_Canvas_Object *obj, Eina_Bool pr
*
* @ingroup Evas_Object_Group
*/
EAPI Eina_Bool evas_object_precise_is_inside_get(const Efl_Canvas_Object *obj);
EVAS_API Eina_Bool evas_object_precise_is_inside_get(const Efl_Canvas_Object *obj);
/**
* @brief Set whether events on a smart object's member should be propagated up
@ -271,7 +271,7 @@ EAPI Eina_Bool evas_object_precise_is_inside_get(const Efl_Canvas_Object *obj);
*
* @ingroup Evas_Object_Group
*/
EAPI void evas_object_propagate_events_set(Efl_Canvas_Object *obj, Eina_Bool propagate);
EVAS_API void evas_object_propagate_events_set(Efl_Canvas_Object *obj, Eina_Bool propagate);
/**
* @brief Retrieve whether an Evas object is set to propagate events.
@ -285,7 +285,7 @@ EAPI void evas_object_propagate_events_set(Efl_Canvas_Object *obj, Eina_Bool pro
*
* @ingroup Evas_Object_Group
*/
EAPI Eina_Bool evas_object_propagate_events_get(const Efl_Canvas_Object *obj);
EVAS_API Eina_Bool evas_object_propagate_events_get(const Efl_Canvas_Object *obj);
/**
* @brief Set whether an Evas object is to pass (ignore) events.
@ -304,7 +304,7 @@ EAPI Eina_Bool evas_object_propagate_events_get(const Efl_Canvas_Object *obj);
*
* @ingroup Evas_Object_Group
*/
EAPI void evas_object_pass_events_set(Efl_Canvas_Object *obj, Eina_Bool pass);
EVAS_API void evas_object_pass_events_set(Efl_Canvas_Object *obj, Eina_Bool pass);
/**
* @brief Determine whether an object is set to pass (ignore) events.
@ -318,7 +318,7 @@ EAPI void evas_object_pass_events_set(Efl_Canvas_Object *obj, Eina_Bool pass);
*
* @ingroup Evas_Object_Group
*/
EAPI Eina_Bool evas_object_pass_events_get(const Efl_Canvas_Object *obj);
EVAS_API Eina_Bool evas_object_pass_events_get(const Efl_Canvas_Object *obj);
/**
* @brief Sets whether or not the given Evas object is to be drawn
@ -330,7 +330,7 @@ EAPI Eina_Bool evas_object_pass_events_get(const Efl_Canvas_Object *obj);
*
* @ingroup Evas_Object_Group
*/
EAPI void evas_object_anti_alias_set(Efl_Canvas_Object *obj, Eina_Bool anti_alias);
EVAS_API void evas_object_anti_alias_set(Efl_Canvas_Object *obj, Eina_Bool anti_alias);
/**
* @brief Retrieves whether or not the given Evas object is to be drawn
@ -342,7 +342,7 @@ EAPI void evas_object_anti_alias_set(Efl_Canvas_Object *obj, Eina_Bool anti_alia
*
* @ingroup Evas_Object_Group
*/
EAPI Eina_Bool evas_object_anti_alias_get(const Efl_Canvas_Object *obj);
EVAS_API Eina_Bool evas_object_anti_alias_get(const Efl_Canvas_Object *obj);
/**
@ -360,7 +360,7 @@ EAPI Eina_Bool evas_object_anti_alias_get(const Efl_Canvas_Object *obj);
*
* @ingroup Evas_Object_Group
*/
EAPI Efl_Canvas_Object *evas_object_smart_parent_get(const Efl_Canvas_Object *obj);
EVAS_API Efl_Canvas_Object *evas_object_smart_parent_get(const Efl_Canvas_Object *obj);
/**
* @brief This handles text paragraph direction of the given object. Even if
@ -373,7 +373,7 @@ EAPI Efl_Canvas_Object *evas_object_smart_parent_get(const Efl_Canvas_Object *ob
*
* @ingroup Evas_Object_Group
*/
EAPI void evas_object_paragraph_direction_set(Efl_Canvas_Object *obj, Evas_BiDi_Direction dir);
EVAS_API void evas_object_paragraph_direction_set(Efl_Canvas_Object *obj, Evas_BiDi_Direction dir);
/**
* @brief This handles text paragraph direction of the given object. Even if
@ -387,7 +387,7 @@ EAPI void evas_object_paragraph_direction_set(Efl_Canvas_Object *obj, Evas_BiDi_
*
* @ingroup Evas_Object_Group
*/
EAPI Evas_BiDi_Direction evas_object_paragraph_direction_get(const Efl_Canvas_Object *obj);
EVAS_API Evas_BiDi_Direction evas_object_paragraph_direction_get(const Efl_Canvas_Object *obj);
/**
* @brief Test if any object is clipped by @c obj.
@ -400,7 +400,7 @@ EAPI Evas_BiDi_Direction evas_object_paragraph_direction_get(const Efl_Canvas_Ob
*
* @ingroup Evas_Object_Group
*/
EAPI Eina_Bool evas_object_clipees_has(const Efl_Canvas_Object *obj) EINA_WARN_UNUSED_RESULT;
EVAS_API Eina_Bool evas_object_clipees_has(const Efl_Canvas_Object *obj) EINA_WARN_UNUSED_RESULT;

View File

@ -1,41 +1,41 @@
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_textblock_visible_range_get(Efl_Canvas_Textblock *obj EINA_UNUSED, Efl_Text_Cursor_Handle *start, Efl_Text_Cursor_Handle *end)
{
return evas_textblock_cursor_visible_range_get(start, end);
}
EAPI void
EVAS_API void
evas_object_textblock_style_insets_get(const Efl_Canvas_Textblock *obj, int *l, int *r, int *t, int *b)
{
efl_canvas_textblock_style_insets_get(obj, l, r, t, b);
}
EAPI void
EVAS_API void
evas_object_textblock_bidi_delimiters_set(Efl_Canvas_Textblock *obj, const char *delim)
{
efl_canvas_textblock_bidi_delimiters_set(obj, delim);
}
EAPI const char *
EVAS_API const char *
evas_object_textblock_bidi_delimiters_get(const Efl_Canvas_Textblock *obj)
{
return efl_canvas_textblock_bidi_delimiters_get(obj);
}
EAPI void
EVAS_API void
evas_object_textblock_legacy_newline_set(Efl_Canvas_Textblock *obj, Eina_Bool mode)
{
efl_canvas_textblock_newline_as_paragraph_separator_set(obj, mode);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_textblock_legacy_newline_get(const Efl_Canvas_Textblock *obj)
{
return efl_canvas_textblock_newline_as_paragraph_separator_get(obj);
}
EAPI void
EVAS_API void
evas_object_textblock_size_formatted_get(const Efl_Canvas_Textblock *obj, int *w, int *h)
{
Eina_Size2D size;
@ -44,7 +44,7 @@ evas_object_textblock_size_formatted_get(const Efl_Canvas_Textblock *obj, int *w
if (h) *h = size.h;
}
EAPI void
EVAS_API void
evas_object_textblock_size_native_get(const Efl_Canvas_Textblock *obj, int *w, int *h)
{
Eina_Size2D size;
@ -53,19 +53,19 @@ evas_object_textblock_size_native_get(const Efl_Canvas_Textblock *obj, int *w, i
if (h) *h = size.h;
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_textblock_obstacle_add(Efl_Canvas_Textblock *obj, Efl_Canvas_Object *eo_obs)
{
return efl_canvas_textblock_obstacle_add(obj, eo_obs);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_textblock_obstacle_del(Efl_Canvas_Textblock *obj, Efl_Canvas_Object *eo_obs)
{
return efl_canvas_textblock_obstacle_del(obj, eo_obs);
}
EAPI void
EVAS_API void
evas_object_textblock_obstacles_update(Efl_Canvas_Textblock *obj)
{
efl_canvas_textblock_obstacles_update(obj);

View File

@ -33,7 +33,7 @@ typedef Efl_Canvas_Textblock Efl_Canvas_Text;
*
* @ingroup Evas_Object_Textblock_Group
*/
EAPI Eina_Bool evas_object_textblock_visible_range_get(Efl_Canvas_Textblock *obj, Efl_Text_Cursor_Handle *start, Efl_Text_Cursor_Handle *end);
EVAS_API Eina_Bool evas_object_textblock_visible_range_get(Efl_Canvas_Textblock *obj, Efl_Text_Cursor_Handle *start, Efl_Text_Cursor_Handle *end);
/**
* @brief Gets the left, right, top and bottom insets of the text.
@ -50,7 +50,7 @@ EAPI Eina_Bool evas_object_textblock_visible_range_get(Efl_Canvas_Textblock *obj
*
* @ingroup Evas_Object_Textblock_Group
*/
EAPI void evas_object_textblock_style_insets_get(const Efl_Canvas_Textblock *obj, int *left, int *right, int *top, int *bottom);
EVAS_API void evas_object_textblock_style_insets_get(const Efl_Canvas_Textblock *obj, int *left, int *right, int *top, int *bottom);
/**
* @brief BiDi delimiters are used for in-paragraph separation of bidi
@ -65,7 +65,7 @@ EAPI void evas_object_textblock_style_insets_get(const Efl_Canvas_Textblock *obj
*
* @ingroup Evas_Object_Textblock_Group
*/
EAPI void evas_object_textblock_bidi_delimiters_set(Efl_Canvas_Textblock *obj, const char *delim);
EVAS_API void evas_object_textblock_bidi_delimiters_set(Efl_Canvas_Textblock *obj, const char *delim);
/**
* @brief BiDi delimiters are used for in-paragraph separation of bidi
@ -80,7 +80,7 @@ EAPI void evas_object_textblock_bidi_delimiters_set(Efl_Canvas_Textblock *obj, c
*
* @ingroup Evas_Object_Textblock_Group
*/
EAPI const char *evas_object_textblock_bidi_delimiters_get(const Efl_Canvas_Textblock *obj);
EVAS_API const char *evas_object_textblock_bidi_delimiters_get(const Efl_Canvas_Textblock *obj);
/**
* @brief When @c true, newline character will behave as a paragraph separator.
@ -92,7 +92,7 @@ EAPI const char *evas_object_textblock_bidi_delimiters_get(const Efl_Canvas_Text
*
* @ingroup Evas_Object_Textblock_Group
*/
EAPI void evas_object_textblock_legacy_newline_set(Efl_Canvas_Textblock *obj, Eina_Bool mode);
EVAS_API void evas_object_textblock_legacy_newline_set(Efl_Canvas_Textblock *obj, Eina_Bool mode);
/**
* @brief When @c true, newline character will behave as a paragraph separator.
@ -105,7 +105,7 @@ EAPI void evas_object_textblock_legacy_newline_set(Efl_Canvas_Textblock *obj, Ei
*
* @ingroup Evas_Object_Textblock_Group
*/
EAPI Eina_Bool evas_object_textblock_legacy_newline_get(const Efl_Canvas_Textblock *obj);
EVAS_API Eina_Bool evas_object_textblock_legacy_newline_get(const Efl_Canvas_Textblock *obj);
@ -134,7 +134,7 @@ EAPI Eina_Bool evas_object_textblock_legacy_newline_get(const Efl_Canvas_Textblo
*
* @ingroup Evas_Object_Textblock_Group
*/
EAPI void evas_object_textblock_size_formatted_get(const Efl_Canvas_Textblock *obj, int *width, int *height);
EVAS_API void evas_object_textblock_size_formatted_get(const Efl_Canvas_Textblock *obj, int *width, int *height);
/**
* @brief The native width and height.
@ -162,7 +162,7 @@ EAPI void evas_object_textblock_size_formatted_get(const Efl_Canvas_Textblock *o
*
* @ingroup Evas_Object_Textblock_Group
*/
EAPI void evas_object_textblock_size_native_get(const Efl_Canvas_Textblock *obj, int *width, int *height);
EVAS_API void evas_object_textblock_size_native_get(const Efl_Canvas_Textblock *obj, int *width, int *height);
@ -184,7 +184,7 @@ EAPI void evas_object_textblock_size_native_get(const Efl_Canvas_Textblock *obj,
*
* @ingroup Evas_Object_Textblock_Group
*/
EAPI Eina_Bool evas_object_textblock_obstacle_add(Efl_Canvas_Textblock *obj, Efl_Canvas_Object *eo_obs);
EVAS_API Eina_Bool evas_object_textblock_obstacle_add(Efl_Canvas_Textblock *obj, Efl_Canvas_Object *eo_obs);
/**
* @brief Removes @c eo_obs from observation during text layout.
@ -198,7 +198,7 @@ EAPI Eina_Bool evas_object_textblock_obstacle_add(Efl_Canvas_Textblock *obj, Efl
*
* @ingroup Evas_Object_Textblock_Group
*/
EAPI Eina_Bool evas_object_textblock_obstacle_del(Efl_Canvas_Textblock *obj, Efl_Canvas_Object *eo_obs);
EVAS_API Eina_Bool evas_object_textblock_obstacle_del(Efl_Canvas_Textblock *obj, Efl_Canvas_Object *eo_obs);
/**
* @brief Triggers for relayout due to obstacles' state change.
@ -217,7 +217,7 @@ EAPI Eina_Bool evas_object_textblock_obstacle_del(Efl_Canvas_Textblock *obj, Efl
*
* @ingroup Evas_Object_Textblock_Group
*/
EAPI void evas_object_textblock_obstacles_update(Efl_Canvas_Textblock *obj);
EVAS_API void evas_object_textblock_obstacles_update(Efl_Canvas_Textblock *obj);
#endif

View File

@ -257,31 +257,7 @@ _evas_textblock_annotations_node_format_remove(Evas_Object *o, Evas_Object_Textb
void
_evas_textblock_relayout_if_needed(Evas_Object *o);
#ifdef EAPI
# undef EAPI
#endif
#ifdef _WIN32
# ifdef EFL_BUILD
# ifdef DLL_EXPORT
# define EAPI __declspec(dllexport)
# else
# define EAPI
# endif
# 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_api.h>
/**
* Internally sets given text_object into cursor object.
@ -290,7 +266,7 @@ _evas_textblock_relayout_if_needed(Evas_Object *o);
* @param canvas_text_obj the canvas text object, where cursor methods will take effect.
* @param text_obj the text_object that user can get using cursor text_object property.
*/
EAPI void efl_text_cursor_object_text_object_set(Eo *cursor, Eo *canvas_text_obj, Eo *text_obj);
EVAS_API void efl_text_cursor_object_text_object_set(Eo *cursor, Eo *canvas_text_obj, Eo *text_obj);
/**
@ -298,7 +274,7 @@ EAPI void efl_text_cursor_object_text_object_set(Eo *cursor, Eo *canvas_text_obj
*
* @param parent the parent of the cursor object.
*/
EAPI Eo* efl_text_cursor_object_create(Eo *parent);
EVAS_API Eo* efl_text_cursor_object_create(Eo *parent);
/**
@ -307,7 +283,7 @@ EAPI Eo* efl_text_cursor_object_create(Eo *parent);
* @param obj the cursor object.
* @param handle the text cursor handle.
*/
EAPI void efl_text_cursor_object_handle_set(Eo *obj, Efl_Text_Cursor_Handle *handle);
EVAS_API void efl_text_cursor_object_handle_set(Eo *obj, Efl_Text_Cursor_Handle *handle);
/**
* Internally gets cursor handle(legacy textblock cursor) from cursor object.
@ -315,9 +291,6 @@ EAPI void efl_text_cursor_object_handle_set(Eo *obj, Efl_Text_Cursor_Handle *han
* @param obj the cursor object.
* @return the internal text cursor handle.
*/
EAPI Efl_Text_Cursor_Handle *efl_text_cursor_object_handle_get(const Eo *obj);
#undef EAPI
#define EAPI
EVAS_API Efl_Text_Cursor_Handle *efl_text_cursor_object_handle_get(const Eo *obj);
#endif//#ifndef _EFL_CANVAS_TEXTBLOCK_INTERNAL_H

View File

@ -527,7 +527,7 @@ efl_canvas_vg_container_blend_buffer_clear(Efl_VG *obj EINA_UNUSED, Efl_Canvas_V
cd->blend.buffer = NULL;
}
EAPI Evas_Vg_Container *
EVAS_API Evas_Vg_Container *
evas_vg_container_add(Evas_Object *parent)
{
/* Warn it because the usage has been changed.

View File

@ -1,11 +1,11 @@
EAPI Evas_Vg_Node *
EVAS_API Evas_Vg_Node *
evas_vg_container_child_get(Evas_Vg_Container *obj, const char *name)
{
return efl_canvas_vg_container_child_get(obj, name);
}
EAPI Eina_Iterator *
EVAS_API Eina_Iterator *
evas_vg_container_children_get(Evas_Vg_Container *obj)
{
return efl_canvas_vg_container_children_get(obj);

View File

@ -26,7 +26,7 @@ typedef Eo Evas_Vg_Container;
*
* @ingroup Evas_Vg_Container_Group
*/
EAPI Evas_Vg_Node *evas_vg_container_child_get(Evas_Vg_Container *obj, const char *name);
EVAS_API Evas_Vg_Node *evas_vg_container_child_get(Evas_Vg_Container *obj, const char *name);
/**
* @brief Get all children of container.
@ -39,6 +39,6 @@ EAPI Evas_Vg_Node *evas_vg_container_child_get(Evas_Vg_Container *obj, const cha
*
* @ingroup Evas_Vg_Container_Group
*/
EAPI Eina_Iterator *evas_vg_container_children_get(Evas_Vg_Container *obj) EINA_WARN_UNUSED_RESULT;
EVAS_API Eina_Iterator *evas_vg_container_children_get(Evas_Vg_Container *obj) EINA_WARN_UNUSED_RESULT;
#endif

View File

@ -117,25 +117,25 @@ _efl_canvas_vg_gradient_efl_duplicate_duplicate(const Eo *obj, Efl_Canvas_Vg_Gra
return cn;
}
EAPI void
EVAS_API void
evas_vg_gradient_stop_set(Evas_Vg_Gradient *obj, const Evas_Vg_Gradient_Stop *colors, unsigned int length)
{
efl_gfx_gradient_stop_set(obj, (const Efl_Gfx_Gradient_Stop *)colors, length);
}
EAPI void
EVAS_API void
evas_vg_gradient_stop_get(Evas_Vg_Gradient *obj, const Evas_Vg_Gradient_Stop **colors, unsigned int *length)
{
efl_gfx_gradient_stop_get(obj, (const Efl_Gfx_Gradient_Stop **)colors, length);
}
EAPI void
EVAS_API void
evas_vg_gradient_spread_set(Evas_Vg_Gradient *obj, Evas_Vg_Gradient_Spread s)
{
efl_gfx_gradient_spread_set(obj, (Efl_Gfx_Gradient_Spread)s);
}
EAPI Evas_Vg_Gradient_Spread
EVAS_API Evas_Vg_Gradient_Spread
evas_vg_gradient_spread_get(Evas_Vg_Gradient *obj)
{
return (Evas_Vg_Gradient_Spread)efl_gfx_gradient_spread_get(obj);

View File

@ -171,31 +171,31 @@ _efl_canvas_vg_gradient_linear_efl_duplicate_duplicate(const Eo *obj, Efl_Canvas
return cn;
}
EAPI void
EVAS_API void
evas_vg_gradient_linear_start_set(Evas_Vg_Gradient_Linear *obj, double x, double y)
{
efl_gfx_gradient_linear_start_set(obj, x, y);
}
EAPI void
EVAS_API void
evas_vg_gradient_linear_start_get(Evas_Vg_Gradient_Linear *obj, double *x, double *y)
{
efl_gfx_gradient_linear_start_get(obj, x, y);
}
EAPI void
EVAS_API void
evas_vg_gradient_linear_end_set(Evas_Vg_Gradient_Linear *obj, double x, double y)
{
efl_gfx_gradient_linear_end_set(obj, x, y);
}
EAPI void
EVAS_API void
evas_vg_gradient_linear_end_get(Evas_Vg_Gradient_Linear *obj, double *x, double *y)
{
efl_gfx_gradient_linear_end_get(obj, x, y);
}
EAPI Evas_Vg_Gradient_Linear *
EVAS_API Evas_Vg_Gradient_Linear *
evas_vg_gradient_linear_add(Evas_Vg_Container *parent)
{
return efl_add(EFL_CANVAS_VG_GRADIENT_LINEAR_CLASS, parent);

View File

@ -193,43 +193,43 @@ _efl_canvas_vg_gradient_radial_efl_duplicate_duplicate(const Eo *obj, Efl_Canvas
return cn;
}
EAPI void
EVAS_API void
evas_vg_gradient_radial_center_set(Evas_Vg_Gradient_Radial *obj, double x, double y)
{
efl_gfx_gradient_radial_center_set(obj, x, y);
}
EAPI void
EVAS_API void
evas_vg_gradient_radial_center_get(Evas_Vg_Gradient_Radial *obj, double *x, double *y)
{
efl_gfx_gradient_radial_center_get(obj, x, y);
}
EAPI void
EVAS_API void
evas_vg_gradient_radial_radius_set(Evas_Vg_Gradient_Radial *obj, double r)
{
efl_gfx_gradient_radial_radius_set(obj, r);
}
EAPI double
EVAS_API double
evas_vg_gradient_radial_radius_get(Evas_Vg_Gradient_Radial *obj)
{
return efl_gfx_gradient_radial_radius_get(obj);
}
EAPI void
EVAS_API void
evas_vg_gradient_radial_focal_set(Evas_Vg_Gradient_Radial *obj, double x, double y)
{
efl_gfx_gradient_radial_focal_set(obj, x, y);
}
EAPI void
EVAS_API void
evas_vg_gradient_radial_focal_get(Evas_Vg_Gradient_Radial *obj, double *x, double *y)
{
efl_gfx_gradient_radial_focal_get(obj, x, y);
}
EAPI Evas_Vg_Gradient_Radial*
EVAS_API Evas_Vg_Gradient_Radial*
evas_vg_gradient_radial_add(Evas_Vg_Container *parent)
{
return efl_add(EFL_CANVAS_VG_GRADIENT_RADIAL_CLASS, parent);

View File

@ -709,31 +709,31 @@ _efl_canvas_vg_node_efl_duplicate_duplicate(const Eo *obj, Efl_Canvas_Vg_Node_Da
return node;
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_vg_node_visible_get(Evas_Vg_Node *obj)
{
return efl_gfx_entity_visible_get(obj);
}
EAPI void
EVAS_API void
evas_vg_node_visible_set(Evas_Vg_Node *obj, Eina_Bool v)
{
efl_gfx_entity_visible_set(obj, v);
}
EAPI void
EVAS_API void
evas_vg_node_color_get(Evas_Vg_Node *obj, int *r, int *g, int *b, int *a)
{
efl_gfx_color_get(obj, r, g, b, a);
}
EAPI void
EVAS_API void
evas_vg_node_color_set(Evas_Vg_Node *obj, int r, int g, int b, int a)
{
efl_gfx_color_set(obj, r, g, b, a);
}
EAPI void
EVAS_API void
evas_vg_node_geometry_get(Evas_Vg_Node *obj, int *x, int *y, int *w, int *h)
{
Eina_Rect r;
@ -746,32 +746,32 @@ evas_vg_node_geometry_get(Evas_Vg_Node *obj, int *x, int *y, int *w, int *h)
}
/* deprecated */
EAPI void
EVAS_API void
evas_vg_node_geometry_set(Evas_Vg_Node *obj, int x, int y, int w, int h)
{
efl_gfx_entity_position_set(obj, EINA_POSITION2D(x, y));
efl_gfx_entity_size_set(obj, EINA_SIZE2D(w, h));
}
EAPI void
EVAS_API void
evas_vg_node_stack_below(Evas_Vg_Node *obj, Eo *below)
{
efl_gfx_stack_below(obj, below);
}
EAPI void
EVAS_API void
evas_vg_node_stack_above(Evas_Vg_Node *obj, Eo *above)
{
efl_gfx_stack_above(obj, above);
}
EAPI void
EVAS_API void
evas_vg_node_raise(Evas_Vg_Node *obj)
{
efl_gfx_stack_raise_to_top(obj);
}
EAPI void
EVAS_API void
evas_vg_node_lower(Evas_Vg_Node *obj)
{
efl_gfx_stack_lower_to_bottom(obj);

View File

@ -1,29 +1,29 @@
EAPI void
EVAS_API void
evas_vg_node_transformation_set(Evas_Vg_Node *obj, const Eina_Matrix3 *m)
{
efl_canvas_vg_node_transformation_set(obj, m);
}
EAPI const Eina_Matrix3 *
EVAS_API const Eina_Matrix3 *
evas_vg_node_transformation_get(const Evas_Vg_Node *obj)
{
return efl_canvas_vg_node_transformation_get(obj);
}
EAPI void
EVAS_API void
evas_vg_node_origin_set(Evas_Vg_Node *obj, double x, double y)
{
efl_canvas_vg_node_origin_set(obj, x, y);
}
EAPI void
EVAS_API void
evas_vg_node_origin_get(const Evas_Vg_Node *obj, double *x, double *y)
{
efl_canvas_vg_node_origin_get(obj, x, y);
}
EAPI void
EVAS_API void
evas_vg_node_mask_set(Evas_Vg_Node *obj, Evas_Vg_Node *mask, int op EINA_UNUSED)
{
efl_canvas_vg_node_comp_method_set(obj, mask, 0);

View File

@ -31,7 +31,7 @@ typedef Eo Evas_Vg_Node;
*
* @ingroup Evas_Vg_Node_Group
*/
EAPI void evas_vg_node_transformation_set(Evas_Vg_Node *obj, const Eina_Matrix3 *m);
EVAS_API void evas_vg_node_transformation_set(Evas_Vg_Node *obj, const Eina_Matrix3 *m);
/**
* @brief Gets the transformation matrix used for this node object.
@ -43,7 +43,7 @@ EAPI void evas_vg_node_transformation_set(Evas_Vg_Node *obj, const Eina_Matrix3
*
* @ingroup Evas_Vg_Node_Group
*/
EAPI const Eina_Matrix3 *evas_vg_node_transformation_get(const Evas_Vg_Node *obj);
EVAS_API const Eina_Matrix3 *evas_vg_node_transformation_get(const Evas_Vg_Node *obj);
/**
* @brief Sets the origin position of the node object.
@ -58,7 +58,7 @@ EAPI const Eina_Matrix3 *evas_vg_node_transformation_get(const Evas_Vg_Node *obj
*
* @ingroup Evas_Vg_Node_Group
*/
EAPI void evas_vg_node_origin_set(Evas_Vg_Node *obj, double x, double y);
EVAS_API void evas_vg_node_origin_set(Evas_Vg_Node *obj, double x, double y);
/**
* @brief Gets the origin position of the node object.
@ -71,7 +71,7 @@ EAPI void evas_vg_node_origin_set(Evas_Vg_Node *obj, double x, double y);
*
* @ingroup Evas_Vg_Node_Group
*/
EAPI void evas_vg_node_origin_get(const Evas_Vg_Node *obj, double *x, double *y);
EVAS_API void evas_vg_node_origin_get(const Evas_Vg_Node *obj, double *x, double *y);
/**
* @brief Set Mask Node to this renderer
@ -84,6 +84,6 @@ EAPI void evas_vg_node_origin_get(const Evas_Vg_Node *obj, double *x, double *y)
*
* @ingroup Evas_Vg_Node_Group
*/
EAPI void evas_vg_node_mask_set(Evas_Vg_Node *obj, Evas_Vg_Node *mask, int op);
EVAS_API void evas_vg_node_mask_set(Evas_Vg_Node *obj, Evas_Vg_Node *mask, int op);
#endif

View File

@ -1116,7 +1116,7 @@ _efl_canvas_vg_object_wrap_mode_set(Eo *obj EINA_UNUSED,
}
/* the actual api call to add a vector graphic object */
EAPI Eo *
EVAS_API Eo *
evas_object_vg_add(Evas *e)
{
e = evas_find(e);
@ -1125,31 +1125,31 @@ evas_object_vg_add(Evas *e)
return efl_add(MY_CLASS, e, efl_canvas_object_legacy_ctor(efl_added));
}
EAPI int
EVAS_API int
evas_object_vg_animated_frame_get(const Evas_Object *obj)
{
return efl_gfx_frame_controller_frame_get(obj);
}
EAPI double
EVAS_API double
evas_object_vg_animated_frame_duration_get(const Evas_Object *obj, int start_frame, int frame_num)
{
return efl_gfx_frame_controller_frame_duration_get(obj, start_frame, frame_num);
}
EAPI int
EVAS_API int
evas_object_vg_animated_frame_count_get(const Evas_Object *obj)
{
return efl_gfx_frame_controller_frame_count_get(obj);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_vg_animated_frame_set(Evas_Object *obj, int frame_index)
{
return efl_gfx_frame_controller_frame_set(obj, frame_index);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_vg_file_set(Evas_Object *obj, const char *file, const char *key)
{
return efl_file_simple_load(obj, file, key);
@ -1187,13 +1187,13 @@ _efl_ui_canvas_object_vg_fill_mode_to_evas_object_vg_fill_mode(Efl_Canvas_Vg_Fil
return EVAS_OBJECT_VG_FILL_MODE_NONE;
}
EAPI void
EVAS_API void
evas_object_vg_fill_mode_set(Evas_Object *obj, Evas_Object_Vg_Fill_Mode fill_mode)
{
efl_canvas_vg_object_fill_mode_set(obj, _evas_object_vg_fill_mode_to_efl_ui_canvas_object_vg_fill_mode(fill_mode));
}
EAPI Evas_Object_Vg_Fill_Mode
EVAS_API Evas_Object_Vg_Fill_Mode
evas_object_vg_fill_mode_get(const Evas_Object *obj)
{
return _efl_ui_canvas_object_vg_fill_mode_to_evas_object_vg_fill_mode(efl_canvas_vg_object_fill_mode_get(obj));

View File

@ -1,35 +1,35 @@
EAPI void
EVAS_API void
evas_object_vg_viewbox_set(Evas_Object *obj, Eina_Rect viewbox)
{
efl_canvas_vg_object_viewbox_set(obj, viewbox);
}
EAPI Eina_Rect
EVAS_API Eina_Rect
evas_object_vg_viewbox_get(const Evas_Object *obj)
{
return efl_canvas_vg_object_viewbox_get(obj);
}
EAPI void
EVAS_API void
evas_object_vg_viewbox_align_set(Evas_Object *obj, double align_x, double align_y)
{
efl_canvas_vg_object_viewbox_align_set(obj, align_x, align_y);
}
EAPI void
EVAS_API void
evas_object_vg_viewbox_align_get(const Evas_Object *obj, double *align_x, double *align_y)
{
efl_canvas_vg_object_viewbox_align_get(obj, align_x, align_y);
}
EAPI void
EVAS_API void
evas_object_vg_root_node_set(Evas_Object *obj, Efl_Canvas_Vg_Node *root)
{
efl_canvas_vg_object_root_node_set(obj, root);
}
EAPI Efl_Canvas_Vg_Node *
EVAS_API Efl_Canvas_Vg_Node *
evas_object_vg_root_node_get(const Evas_Object *obj)
{
return efl_canvas_vg_object_root_node_get(obj);

View File

@ -43,7 +43,7 @@ typedef enum
* @since 1.24
* @ingroup Evas_Object_Vg_Group
*/
EAPI void evas_object_vg_fill_mode_set(Evas_Object *obj, Evas_Object_Vg_Fill_Mode fill_mode);
EVAS_API void evas_object_vg_fill_mode_set(Evas_Object *obj, Evas_Object_Vg_Fill_Mode fill_mode);
/**
* @brief Control how the viewbox is mapped to the vg canvas's viewport.
@ -55,7 +55,7 @@ EAPI void evas_object_vg_fill_mode_set(Evas_Object *obj, Evas_Object_Vg_Fill_Mod
* @since 1.24
* @ingroup Evas_Object_Vg_Group
*/
EAPI Evas_Object_Vg_Fill_Mode evas_object_vg_fill_mode_get(const Evas_Object *obj);
EVAS_API Evas_Object_Vg_Fill_Mode evas_object_vg_fill_mode_get(const Evas_Object *obj);
/**
* @brief Sets the viewbox for the evas vg canvas. viewbox if set should be
@ -67,7 +67,7 @@ EAPI Evas_Object_Vg_Fill_Mode evas_object_vg_fill_mode_get(const Evas_Object *ob
* @since 1.24
* @ingroup Evas_Object_Vg_Group
*/
EAPI void evas_object_vg_viewbox_set(Evas_Object *obj, Eina_Rect viewbox);
EVAS_API void evas_object_vg_viewbox_set(Evas_Object *obj, Eina_Rect viewbox);
/**
* @brief Get the current viewbox from the evas_object_vg
@ -79,7 +79,7 @@ EAPI void evas_object_vg_viewbox_set(Evas_Object *obj, Eina_Rect viewbox);
* @since 1.24
* @ingroup Evas_Object_Vg_Group
*/
EAPI Eina_Rect evas_object_vg_viewbox_get(const Evas_Object *obj);
EVAS_API Eina_Rect evas_object_vg_viewbox_get(const Evas_Object *obj);
/**
* @brief Control how the viewbox is positioned inside the viewport.
@ -91,7 +91,7 @@ EAPI Eina_Rect evas_object_vg_viewbox_get(const Evas_Object *obj);
* @since 1.24
* @ingroup Evas_Object_Vg_Group
*/
EAPI void evas_object_vg_viewbox_align_set(Evas_Object *obj, double align_x, double align_y);
EVAS_API void evas_object_vg_viewbox_align_set(Evas_Object *obj, double align_x, double align_y);
/**
* @brief Control how the viewbox is positioned inside the viewport.
@ -103,7 +103,7 @@ EAPI void evas_object_vg_viewbox_align_set(Evas_Object *obj, double align_x, dou
* @since 1.24
* @ingroup Evas_Object_Vg_Group
*/
EAPI void evas_object_vg_viewbox_align_get(const Evas_Object *obj, double *align_x, double *align_y);
EVAS_API void evas_object_vg_viewbox_align_get(const Evas_Object *obj, double *align_x, double *align_y);
/**
* @brief Set the root node of the evas_object_vg.
@ -119,7 +119,7 @@ EAPI void evas_object_vg_viewbox_align_get(const Evas_Object *obj, double *align
* @since 1.24
* @ingroup Evas_Object_Vg_Group
*/
EAPI void evas_object_vg_root_node_set(Evas_Object *obj, Evas_Vg_Node *root);
EVAS_API void evas_object_vg_root_node_set(Evas_Object *obj, Evas_Vg_Node *root);
/**
* @brief Get the root node of the evas_object_vg.
@ -132,6 +132,6 @@ EAPI void evas_object_vg_root_node_set(Evas_Object *obj, Evas_Vg_Node *root);
*
* @ingroup Evas_Object_Vg_Group
*/
EAPI Evas_Vg_Node *evas_object_vg_root_node_get(const Evas_Object *obj);
EVAS_API Evas_Vg_Node *evas_object_vg_root_node_get(const Evas_Object *obj);
#endif

View File

@ -235,227 +235,227 @@ _efl_canvas_vg_shape_efl_duplicate_duplicate(const Eo *obj, Efl_Canvas_Vg_Shape_
return node;
}
EAPI double
EVAS_API double
evas_vg_shape_stroke_scale_get(Evas_Vg_Shape *obj)
{
return efl_gfx_shape_stroke_scale_get(obj);
}
EAPI void
EVAS_API void
evas_vg_shape_stroke_scale_set(Evas_Vg_Shape *obj, double s)
{
efl_gfx_shape_stroke_scale_set(obj, s);
efl_canvas_vg_node_change(obj);
}
EAPI void
EVAS_API void
evas_vg_shape_stroke_color_get(Evas_Vg_Shape *obj, int *r, int *g, int *b, int *a)
{
efl_gfx_shape_stroke_color_get(obj, r, g, b, a);
}
EAPI void
EVAS_API void
evas_vg_shape_stroke_color_set(Evas_Vg_Shape *obj, int r, int g, int b, int a)
{
efl_gfx_shape_stroke_color_set(obj, r, g, b, a);
efl_canvas_vg_node_change(obj);
}
EAPI double
EVAS_API double
evas_vg_shape_stroke_width_get(Evas_Vg_Shape *obj)
{
return efl_gfx_shape_stroke_width_get(obj);
}
EAPI void
EVAS_API void
evas_vg_shape_stroke_width_set(Evas_Vg_Shape *obj, double w)
{
efl_gfx_shape_stroke_width_set(obj, w);
efl_canvas_vg_node_change(obj);
}
EAPI double
EVAS_API double
evas_vg_shape_stroke_location_get(Evas_Vg_Shape *obj)
{
return efl_gfx_shape_stroke_location_get(obj);
}
EAPI void
EVAS_API void
evas_vg_shape_stroke_location_set(Evas_Vg_Shape *obj, double centered)
{
efl_gfx_shape_stroke_location_set(obj, centered);
efl_canvas_vg_node_change(obj);
}
EAPI void
EVAS_API void
evas_vg_shape_stroke_dash_get(Evas_Vg_Shape *obj, const Evas_Vg_Dash **dash, unsigned int *length)
{
efl_gfx_shape_stroke_dash_get(obj, (const Efl_Gfx_Dash **)dash, length);
}
EAPI void
EVAS_API void
evas_vg_shape_stroke_dash_set(Evas_Vg_Shape *obj, const Evas_Vg_Dash *dash, unsigned int length)
{
efl_gfx_shape_stroke_dash_set(obj, (const Efl_Gfx_Dash *)dash, length);
efl_canvas_vg_node_change(obj);
}
EAPI Evas_Vg_Cap
EVAS_API Evas_Vg_Cap
evas_vg_shape_stroke_cap_get(Evas_Vg_Shape *obj)
{
return (Evas_Vg_Cap)efl_gfx_shape_stroke_cap_get(obj);
}
EAPI void
EVAS_API void
evas_vg_shape_stroke_cap_set(Evas_Vg_Shape *obj, Evas_Vg_Cap c)
{
efl_gfx_shape_stroke_cap_set(obj, (Efl_Gfx_Cap)c);
efl_canvas_vg_node_change(obj);
}
EAPI Evas_Vg_Join
EVAS_API Evas_Vg_Join
evas_vg_shape_stroke_join_get(Evas_Vg_Shape *obj)
{
return (Evas_Vg_Join)efl_gfx_shape_stroke_join_get(obj);
}
EAPI void
EVAS_API void
evas_vg_shape_stroke_join_set(Evas_Vg_Shape *obj, Evas_Vg_Join j)
{
efl_gfx_shape_stroke_join_set(obj, (Efl_Gfx_Join)j);
efl_canvas_vg_node_change(obj);
}
EAPI void
EVAS_API void
evas_vg_shape_path_set(Evas_Vg_Shape *obj, const Evas_Vg_Path_Command *op, const double *points)
{
efl_gfx_path_set(obj, (const Efl_Gfx_Path_Command *)op, points);
efl_canvas_vg_node_change(obj);
}
EAPI void
EVAS_API void
evas_vg_shape_path_get(Evas_Vg_Shape *obj, const Evas_Vg_Path_Command **op, const double **points)
{
efl_gfx_path_get(obj, (const Efl_Gfx_Path_Command **)op, points);
}
EAPI void
EVAS_API void
evas_vg_shape_path_length_get(Evas_Vg_Shape *obj, unsigned int *commands, unsigned int *points)
{
efl_gfx_path_length_get(obj, commands, points);
}
EAPI void
EVAS_API void
evas_vg_shape_current_get(Evas_Vg_Shape *obj, double *x, double *y)
{
efl_gfx_path_current_get(obj, x, y);
}
EAPI void
EVAS_API void
evas_vg_shape_current_ctrl_get(Evas_Vg_Shape *obj, double *x, double *y)
{
efl_gfx_path_current_ctrl_get(obj, x, y);
}
EAPI void
EVAS_API void
evas_vg_shape_dup(Evas_Vg_Shape *obj, Evas_Vg_Shape *dup_from)
{
efl_gfx_path_copy_from(obj, dup_from);
efl_canvas_vg_node_change(obj);
}
EAPI void
EVAS_API void
evas_vg_shape_reset(Evas_Vg_Shape *obj)
{
efl_gfx_path_reset(obj);
efl_canvas_vg_node_change(obj);
}
EAPI void
EVAS_API void
evas_vg_shape_append_move_to(Evas_Vg_Shape *obj, double x, double y)
{
efl_gfx_path_append_move_to(obj, x, y);
efl_canvas_vg_node_change(obj);
}
EAPI void
EVAS_API void
evas_vg_shape_append_line_to(Evas_Vg_Shape *obj, double x, double y)
{
efl_gfx_path_append_line_to(obj, x, y);
efl_canvas_vg_node_change(obj);
}
EAPI void
EVAS_API void
evas_vg_shape_append_quadratic_to(Evas_Vg_Shape *obj, double x, double y, double ctrl_x, double ctrl_y)
{
efl_gfx_path_append_quadratic_to(obj, x, y, ctrl_x, ctrl_y);
efl_canvas_vg_node_change(obj);
}
EAPI void
EVAS_API void
evas_vg_shape_append_squadratic_to(Evas_Vg_Shape *obj, double x, double y)
{
efl_gfx_path_append_squadratic_to(obj, x, y);
efl_canvas_vg_node_change(obj);
}
EAPI void
EVAS_API void
evas_vg_shape_append_cubic_to(Evas_Vg_Shape *obj, double x, double y, double ctrl_x0, double ctrl_y0, double ctrl_x1, double ctrl_y1)
{
efl_gfx_path_append_cubic_to(obj, ctrl_x0, ctrl_y0, ctrl_x1, ctrl_y1, x, y);
efl_canvas_vg_node_change(obj);
}
EAPI void
EVAS_API void
evas_vg_shape_append_scubic_to(Evas_Vg_Shape *obj, double x, double y, double ctrl_x, double ctrl_y)
{
efl_gfx_path_append_scubic_to(obj, x, y, ctrl_x, ctrl_y);
efl_canvas_vg_node_change(obj);
}
EAPI void
EVAS_API void
evas_vg_shape_append_arc_to(Evas_Vg_Shape *obj, double x, double y, double rx, double ry, double angle, Eina_Bool large_arc, Eina_Bool sweep)
{
efl_gfx_path_append_arc_to(obj, x, y, rx, ry, angle, large_arc, sweep);
efl_canvas_vg_node_change(obj);
}
EAPI void
EVAS_API void
evas_vg_shape_append_arc(Evas_Vg_Shape *obj, double x, double y, double w, double h, double start_angle, double sweep_length)
{
efl_gfx_path_append_arc(obj, x, y, w, h, start_angle, sweep_length);
efl_canvas_vg_node_change(obj);
}
EAPI void
EVAS_API void
evas_vg_shape_append_close(Evas_Vg_Shape *obj)
{
efl_gfx_path_append_close(obj);
efl_canvas_vg_node_change(obj);
}
EAPI void
EVAS_API void
evas_vg_shape_append_circle(Evas_Vg_Shape *obj, double x, double y, double radius)
{
efl_gfx_path_append_circle(obj, x, y, radius);
efl_canvas_vg_node_change(obj);
}
EAPI void
EVAS_API void
evas_vg_shape_append_rect(Evas_Vg_Shape *obj, double x, double y, double w, double h, double rx, double ry)
{
efl_gfx_path_append_rect(obj, x, y, w, h, rx, ry);
efl_canvas_vg_node_change(obj);
}
EAPI void
EVAS_API void
evas_vg_shape_append_svg_path(Evas_Vg_Shape *obj, const char *svg_path_data)
{
efl_gfx_path_append_svg_path(obj, svg_path_data);
efl_canvas_vg_node_change(obj);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_vg_shape_interpolate(Evas_Vg_Shape *obj, const Evas_Vg_Shape *from, const Evas_Vg_Shape *to, double pos_map)
{
Eina_Bool ret = efl_gfx_path_interpolate(obj, from, to, pos_map);
@ -463,13 +463,13 @@ evas_vg_shape_interpolate(Evas_Vg_Shape *obj, const Evas_Vg_Shape *from, const E
return ret;
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_vg_shape_equal_commands(Evas_Vg_Shape *obj, const Evas_Vg_Shape *with)
{
return efl_gfx_path_equal_commands(obj, with);
}
EAPI Efl_Canvas_Vg_Shape*
EVAS_API Efl_Canvas_Vg_Shape*
evas_vg_shape_add(Efl_Canvas_Vg_Node *parent)
{
/* Warn it because the usage has been changed.

View File

@ -1,35 +1,35 @@
EAPI void
EVAS_API void
evas_vg_shape_fill_set(Efl_Canvas_Vg_Shape *obj, Efl_Canvas_Vg_Node *f)
{
efl_canvas_vg_shape_fill_set(obj, f);
}
EAPI Efl_Canvas_Vg_Node *
EVAS_API Efl_Canvas_Vg_Node *
evas_vg_shape_fill_get(const Efl_Canvas_Vg_Shape *obj)
{
return efl_canvas_vg_shape_fill_get(obj);
}
EAPI void
EVAS_API void
evas_vg_shape_stroke_fill_set(Efl_Canvas_Vg_Shape *obj, Efl_Canvas_Vg_Node *f)
{
efl_canvas_vg_shape_stroke_fill_set(obj, f);
}
EAPI Efl_Canvas_Vg_Node *
EVAS_API Efl_Canvas_Vg_Node *
evas_vg_shape_stroke_fill_get(const Efl_Canvas_Vg_Shape *obj)
{
return efl_canvas_vg_shape_stroke_fill_get(obj);
}
EAPI void
EVAS_API void
evas_vg_shape_stroke_marker_set(Efl_Canvas_Vg_Shape *obj, Efl_Canvas_Vg_Node *m)
{
efl_canvas_vg_shape_stroke_marker_set(obj, m);
}
EAPI Efl_Canvas_Vg_Node *
EVAS_API Efl_Canvas_Vg_Node *
evas_vg_shape_stroke_marker_get(const Efl_Canvas_Vg_Shape *obj)
{
return efl_canvas_vg_shape_stroke_marker_get(obj);

View File

@ -28,7 +28,7 @@ typedef Eo Evas_Vg_Shape;
*
* @ingroup Evas_Vg_Shape_Group
*/
EAPI void evas_vg_shape_fill_set(Evas_Vg_Shape *obj, Evas_Vg_Node *f);
EVAS_API void evas_vg_shape_fill_set(Evas_Vg_Shape *obj, Evas_Vg_Node *f);
/**
* @brief Fill of the shape object.
@ -40,7 +40,7 @@ EAPI void evas_vg_shape_fill_set(Evas_Vg_Shape *obj, Evas_Vg_Node *f);
*
* @ingroup Evas_Vg_Shape_Group
*/
EAPI Evas_Vg_Node *evas_vg_shape_fill_get(const Evas_Vg_Shape *obj);
EVAS_API Evas_Vg_Node *evas_vg_shape_fill_get(const Evas_Vg_Shape *obj);
/**
* @brief Stroke fill of the shape object.
@ -52,7 +52,7 @@ EAPI Evas_Vg_Node *evas_vg_shape_fill_get(const Evas_Vg_Shape *obj);
*
* @ingroup Evas_Vg_Shape_Group
*/
EAPI void evas_vg_shape_stroke_fill_set(Evas_Vg_Shape *obj, Evas_Vg_Node *f);
EVAS_API void evas_vg_shape_stroke_fill_set(Evas_Vg_Shape *obj, Evas_Vg_Node *f);
/**
* @brief Stroke fill of the shape object.
@ -64,7 +64,7 @@ EAPI void evas_vg_shape_stroke_fill_set(Evas_Vg_Shape *obj, Evas_Vg_Node *f);
*
* @ingroup Evas_Vg_Shape_Group
*/
EAPI Evas_Vg_Node *evas_vg_shape_stroke_fill_get(const Evas_Vg_Shape *obj);
EVAS_API Evas_Vg_Node *evas_vg_shape_stroke_fill_get(const Evas_Vg_Shape *obj);
/**
* @brief Stroke marker of the shape object
@ -76,7 +76,7 @@ EAPI Evas_Vg_Node *evas_vg_shape_stroke_fill_get(const Evas_Vg_Shape *obj);
*
* @ingroup Evas_Vg_Shape_Group
*/
EAPI void evas_vg_shape_stroke_marker_set(Evas_Vg_Shape *obj, Evas_Vg_Node *m);
EVAS_API void evas_vg_shape_stroke_marker_set(Evas_Vg_Shape *obj, Evas_Vg_Node *m);
/**
* @brief Stroke marker of the shape object
@ -88,6 +88,6 @@ EAPI void evas_vg_shape_stroke_marker_set(Evas_Vg_Shape *obj, Evas_Vg_Node *m);
*
* @ingroup Evas_Vg_Shape_Group
*/
EAPI Evas_Vg_Node *evas_vg_shape_stroke_marker_get(const Evas_Vg_Shape *obj);
EVAS_API Evas_Vg_Node *evas_vg_shape_stroke_marker_get(const Evas_Vg_Shape *obj);
#endif

View File

@ -60,7 +60,7 @@ _efl_gfx_vg_value_provider_transform_get(const Eo *obj EINA_UNUSED, Efl_Gfx_Vg_V
return pd->m;
}
EOAPI void
EVAS_API EVAS_API_WEAK void
_efl_gfx_vg_value_provider_fill_color_set(Eo *obj EINA_UNUSED, Efl_Gfx_Vg_Value_Provider_Data *pd, int r, int g, int b, int a)
{
pd->flag = pd->flag | EFL_GFX_VG_VALUE_PROVIDER_FLAGS_FILL_COLOR;
@ -71,7 +71,7 @@ _efl_gfx_vg_value_provider_fill_color_set(Eo *obj EINA_UNUSED, Efl_Gfx_Vg_Value_
pd->fill.a = a;
}
EOAPI void
EVAS_API EVAS_API_WEAK void
_efl_gfx_vg_value_provider_fill_color_get(const Eo *obj EINA_UNUSED, Efl_Gfx_Vg_Value_Provider_Data *pd, int *r, int *g, int *b, int *a)
{
if (r) *r = pd->fill.r;
@ -80,7 +80,7 @@ _efl_gfx_vg_value_provider_fill_color_get(const Eo *obj EINA_UNUSED, Efl_Gfx_Vg_
if (a) *a = pd->fill.a;
}
EOAPI void
EVAS_API EVAS_API_WEAK void
_efl_gfx_vg_value_provider_stroke_color_set(Eo *obj EINA_UNUSED, Efl_Gfx_Vg_Value_Provider_Data *pd, int r, int g, int b, int a)
{
pd->flag = pd->flag | EFL_GFX_VG_VALUE_PROVIDER_FLAGS_STROKE_COLOR;
@ -91,7 +91,7 @@ _efl_gfx_vg_value_provider_stroke_color_set(Eo *obj EINA_UNUSED, Efl_Gfx_Vg_Valu
pd->stroke.a = a;
}
EOAPI void
EVAS_API EVAS_API_WEAK void
_efl_gfx_vg_value_provider_stroke_color_get(const Eo *obj EINA_UNUSED, Efl_Gfx_Vg_Value_Provider_Data *pd, int *r, int *g, int *b, int *a)
{
if (r) *r = pd->stroke.r;
@ -100,7 +100,7 @@ _efl_gfx_vg_value_provider_stroke_color_get(const Eo *obj EINA_UNUSED, Efl_Gfx_V
if (a) *a = pd->stroke.a;
}
EOAPI void
EVAS_API EVAS_API_WEAK void
_efl_gfx_vg_value_provider_stroke_width_set(Eo *obj EINA_UNUSED, Efl_Gfx_Vg_Value_Provider_Data *pd, double w)
{
if (w < 0) return ;
@ -109,13 +109,13 @@ _efl_gfx_vg_value_provider_stroke_width_set(Eo *obj EINA_UNUSED, Efl_Gfx_Vg_Valu
pd->stroke.width = w;
}
EOAPI double
EVAS_API EVAS_API_WEAK double
_efl_gfx_vg_value_provider_stroke_width_get(const Eo *obj EINA_UNUSED, Efl_Gfx_Vg_Value_Provider_Data *pd)
{
return pd->stroke.width;
}
EOAPI Efl_Gfx_Vg_Value_Provider_Flags
EVAS_API EVAS_API_WEAK Efl_Gfx_Vg_Value_Provider_Flags
_efl_gfx_vg_value_provider_updated_get(const Eo *obj EINA_UNUSED, Efl_Gfx_Vg_Value_Provider_Data *pd)
{
return pd->flag;

View File

@ -255,7 +255,7 @@ _efl_input_device_children_get(const Eo *obj EINA_UNUSED, Efl_Input_Device_Data
return pd->children;
}
EOAPI EFL_FUNC_BODY_CONST(efl_input_device_children_get, const Eina_List *, NULL);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODY_CONST(efl_input_device_children_get, const Eina_List *, NULL);
static Evas *
_efl_input_device_evas_get(const Eo *obj EINA_UNUSED, Efl_Input_Device_Data *pd)
@ -263,7 +263,7 @@ _efl_input_device_evas_get(const Eo *obj EINA_UNUSED, Efl_Input_Device_Data *pd)
return pd->evas;
}
EOAPI EFL_FUNC_BODY_CONST(efl_input_device_evas_get, Evas *, NULL);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODY_CONST(efl_input_device_evas_get, Evas *, NULL);
static void
_efl_input_device_evas_set(Eo *obj EINA_UNUSED, Efl_Input_Device_Data *pd, Evas *e)
@ -271,7 +271,7 @@ _efl_input_device_evas_set(Eo *obj EINA_UNUSED, Efl_Input_Device_Data *pd, Evas
pd->evas = e;
}
EOAPI EFL_VOID_FUNC_BODYV(efl_input_device_evas_set, EFL_FUNC_CALL(e), Evas *e);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV(efl_input_device_evas_set, EFL_FUNC_CALL(e), Evas *e);
static Evas_Device_Subclass
_efl_input_device_subclass_get(const Eo *obj EINA_UNUSED, Efl_Input_Device_Data *pd)
@ -279,7 +279,7 @@ _efl_input_device_subclass_get(const Eo *obj EINA_UNUSED, Efl_Input_Device_Data
return pd->subclass;
}
EOAPI EFL_FUNC_BODY_CONST(efl_input_device_subclass_get, Evas_Device_Subclass, 0);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODY_CONST(efl_input_device_subclass_get, Evas_Device_Subclass, 0);
static void
_efl_input_device_subclass_set(Eo *obj EINA_UNUSED, Efl_Input_Device_Data *pd,
@ -288,7 +288,7 @@ _efl_input_device_subclass_set(Eo *obj EINA_UNUSED, Efl_Input_Device_Data *pd,
pd->subclass = sub_clas;
}
EOAPI EFL_VOID_FUNC_BODYV(efl_input_device_subclass_set, EFL_FUNC_CALL(sub_clas), Evas_Device_Subclass sub_clas);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV(efl_input_device_subclass_set, EFL_FUNC_CALL(sub_clas), Evas_Device_Subclass sub_clas);
static void
_grab_del(void *data)
@ -306,7 +306,7 @@ _efl_input_device_grab_register(Eo *obj EINA_UNUSED, Efl_Input_Device_Data *pd,
eina_hash_add(pd->grabs, &grab, pdata);
}
EOAPI EFL_VOID_FUNC_BODYV(efl_input_device_grab_register, EFL_FUNC_CALL(grab, pdata),
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV(efl_input_device_grab_register, EFL_FUNC_CALL(grab, pdata),
Efl_Canvas_Object *grab, Evas_Object_Pointer_Data *pdata);
static void
@ -316,7 +316,7 @@ _efl_input_device_grab_unregister(Eo *obj EINA_UNUSED, Efl_Input_Device_Data *pd
eina_hash_del(pd->grabs, &grab, pdata);
}
EOAPI EFL_VOID_FUNC_BODYV(efl_input_device_grab_unregister, EFL_FUNC_CALL(grab, pdata),
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV(efl_input_device_grab_unregister, EFL_FUNC_CALL(grab, pdata),
Efl_Canvas_Object *grab, Evas_Object_Pointer_Data *pdata);
#define EFL_INPUT_DEVICE_EXTRA_OPS \

View File

@ -133,7 +133,7 @@ efl_input_event_instance_clean(Eo *klass)
/* Internal EO APIs */
EOAPI EFL_FUNC_BODY_CONST(efl_input_legacy_info_get, void *, NULL)
EVAS_API EVAS_API_WEAK EFL_FUNC_BODY_CONST(efl_input_legacy_info_get, void *, NULL)
#define EFL_INPUT_EVENT_EXTRA_OPS \
EFL_OBJECT_OP_FUNC(efl_input_legacy_info_get, NULL)

View File

@ -97,7 +97,7 @@ _efl_input_focus_efl_duplicate_duplicate(const Eo *obj, Efl_Input_Focus_Data *pd
}
EOAPI Eo*
EVAS_API EVAS_API_WEAK Eo*
efl_input_focus_instance_get(Efl_Object *owner, void **priv)
{
Efl_Input_Focus_Data *ev;

View File

@ -80,7 +80,7 @@ _efl_input_hold_efl_object_destructor(Eo *obj, Efl_Input_Hold_Data *pd)
}
EOAPI Eo*
EVAS_API EVAS_API_WEAK Eo*
efl_input_hold_instance_get(Efl_Object *owner, void **priv)
{
Efl_Input_Event *evt = efl_input_event_instance_get(EFL_INPUT_HOLD_CLASS, owner);;

View File

@ -9,7 +9,7 @@
#define MY_CLASS EFL_INPUT_KEY_CLASS
EOAPI Eo*
EVAS_API EVAS_API_WEAK Eo*
efl_input_key_instance_get(Efl_Object *owner, void **priv)
{
Efl_Input_Key_Data *ev;

View File

@ -21,7 +21,7 @@
*/
/* internal eo */
EOAPI Eo*
EVAS_API EVAS_API_WEAK Eo*
efl_input_pointer_instance_get(Efl_Object *owner, void **priv)
{
Efl_Input_Pointer_Data *ev;
@ -43,7 +43,7 @@ _efl_input_pointer_class_destructor(Efl_Class *klass)
efl_input_event_instance_clean(klass);
}
EAPI void
EVAS_API void
efl_input_pointer_finalize(Efl_Input_Pointer *obj)
{
const Evas_Pointer_Data *pdata;

View File

@ -417,7 +417,7 @@ _efl_text_cursor_object_range_delete(Eo *obj EINA_UNUSED, Efl_Text_Cursor_Object
evas_textblock_cursor_range_delete(pd->handle, efl_text_cursor_object_handle_get(cur2));
}
EAPI void
EVAS_API void
efl_text_cursor_object_handle_set(Eo *obj, Efl_Text_Cursor_Handle *handle)
{
Efl_Text_Cursor_Object_Data *pd = efl_data_scope_safe_get(obj, MY_CLASS);
@ -435,7 +435,7 @@ efl_text_cursor_object_handle_set(Eo *obj, Efl_Text_Cursor_Handle *handle)
}
}
EAPI Efl_Text_Cursor_Handle *
EVAS_API Efl_Text_Cursor_Handle *
efl_text_cursor_object_handle_get(const Eo *obj)
{
Efl_Text_Cursor_Object_Data *pd = efl_data_scope_safe_get(obj, MY_CLASS);

View File

@ -171,13 +171,13 @@ evas_async_events_shutdown(void)
return _init_evas_event;
}
EAPI int
EVAS_API int
evas_async_events_fd_get(void)
{
return -1;
}
EAPI int
EVAS_API int
evas_async_events_process(void)
{
int count = 0;
@ -207,7 +207,7 @@ _evas_async_events_fd_blocking_set(Eina_Bool blocking)
#endif
}
EAPI int
EVAS_API int
evas_async_events_process_blocking(void)
{
int ret;
@ -224,7 +224,7 @@ evas_async_events_process_blocking(void)
return ret;
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_async_events_put(const void *target, Evas_Callback_Type type, void *event_info, Evas_Async_Events_Put_Cb func)
{
Evas_Event_Async *ev;
@ -295,7 +295,7 @@ _evas_thread_main_loop_lock(void *target EINA_UNUSED,
free(call);
}
EAPI int
EVAS_API int
evas_thread_main_loop_begin(void)
{
Evas_Safe_Call *order;
@ -334,7 +334,7 @@ evas_thread_main_loop_begin(void)
return _thread_loop;
}
EAPI int
EVAS_API int
evas_thread_main_loop_end(void)
{
int current_id;

View File

@ -1,163 +1,163 @@
EWAPI const Efl_Event_Description _EVAS_BOX_EVENT_CHILD_ADDED =
EVAS_API EVAS_API_WEAK const Efl_Event_Description _EVAS_BOX_EVENT_CHILD_ADDED =
EFL_EVENT_DESCRIPTION("child,added");
EWAPI const Efl_Event_Description _EVAS_BOX_EVENT_CHILD_REMOVED =
EVAS_API EVAS_API_WEAK const Efl_Event_Description _EVAS_BOX_EVENT_CHILD_REMOVED =
EFL_EVENT_DESCRIPTION("child,removed");
void _evas_box_align_set(Eo *obj, Evas_Object_Box_Data *pd, double horizontal, double vertical);
EOAPI EFL_VOID_FUNC_BODYV(evas_obj_box_align_set, EFL_FUNC_CALL(horizontal, vertical), double horizontal, double vertical);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV(evas_obj_box_align_set, EFL_FUNC_CALL(horizontal, vertical), double horizontal, double vertical);
void _evas_box_align_get(const Eo *obj, Evas_Object_Box_Data *pd, double *horizontal, double *vertical);
EOAPI EFL_VOID_FUNC_BODYV_CONST(evas_obj_box_align_get, EFL_FUNC_CALL(horizontal, vertical), double *horizontal, double *vertical);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV_CONST(evas_obj_box_align_get, EFL_FUNC_CALL(horizontal, vertical), double *horizontal, double *vertical);
void _evas_box_padding_set(Eo *obj, Evas_Object_Box_Data *pd, int horizontal, int vertical);
EOAPI EFL_VOID_FUNC_BODYV(evas_obj_box_padding_set, EFL_FUNC_CALL(horizontal, vertical), int horizontal, int vertical);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV(evas_obj_box_padding_set, EFL_FUNC_CALL(horizontal, vertical), int horizontal, int vertical);
void _evas_box_padding_get(const Eo *obj, Evas_Object_Box_Data *pd, int *horizontal, int *vertical);
EOAPI EFL_VOID_FUNC_BODYV_CONST(evas_obj_box_padding_get, EFL_FUNC_CALL(horizontal, vertical), int *horizontal, int *vertical);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV_CONST(evas_obj_box_padding_get, EFL_FUNC_CALL(horizontal, vertical), int *horizontal, int *vertical);
void _evas_box_layout_set(Eo *obj, Evas_Object_Box_Data *pd, Evas_Object_Box_Layout cb, const void *data, Eina_Free_Cb free_data);
EOAPI EFL_VOID_FUNC_BODYV(evas_obj_box_layout_set, EFL_FUNC_CALL(cb, data, free_data), Evas_Object_Box_Layout cb, const void *data, Eina_Free_Cb free_data);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV(evas_obj_box_layout_set, EFL_FUNC_CALL(cb, data, free_data), Evas_Object_Box_Layout cb, const void *data, Eina_Free_Cb free_data);
void _evas_box_layout_horizontal(Eo *obj, Evas_Object_Box_Data *pd, Evas_Object_Box_Data *priv, void *data);
EOAPI EFL_VOID_FUNC_BODYV(evas_obj_box_layout_horizontal, EFL_FUNC_CALL(priv, data), Evas_Object_Box_Data *priv, void *data);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV(evas_obj_box_layout_horizontal, EFL_FUNC_CALL(priv, data), Evas_Object_Box_Data *priv, void *data);
void _evas_box_layout_vertical(Eo *obj, Evas_Object_Box_Data *pd, Evas_Object_Box_Data *priv, void *data);
EOAPI EFL_VOID_FUNC_BODYV(evas_obj_box_layout_vertical, EFL_FUNC_CALL(priv, data), Evas_Object_Box_Data *priv, void *data);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV(evas_obj_box_layout_vertical, EFL_FUNC_CALL(priv, data), Evas_Object_Box_Data *priv, void *data);
void _evas_box_layout_homogeneous_max_size_horizontal(Eo *obj, Evas_Object_Box_Data *pd, Evas_Object_Box_Data *priv, void *data);
EOAPI EFL_VOID_FUNC_BODYV(evas_obj_box_layout_homogeneous_max_size_horizontal, EFL_FUNC_CALL(priv, data), Evas_Object_Box_Data *priv, void *data);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV(evas_obj_box_layout_homogeneous_max_size_horizontal, EFL_FUNC_CALL(priv, data), Evas_Object_Box_Data *priv, void *data);
Efl_Canvas_Object *_evas_box_internal_remove(Eo *obj, Evas_Object_Box_Data *pd, Efl_Canvas_Object *child);
EOAPI EFL_FUNC_BODYV(evas_obj_box_internal_remove, Efl_Canvas_Object *, NULL, EFL_FUNC_CALL(child), Efl_Canvas_Object *child);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODYV(evas_obj_box_internal_remove, Efl_Canvas_Object *, NULL, EFL_FUNC_CALL(child), Efl_Canvas_Object *child);
void _evas_box_layout_flow_vertical(Eo *obj, Evas_Object_Box_Data *pd, Evas_Object_Box_Data *priv, void *data);
EOAPI EFL_VOID_FUNC_BODYV(evas_obj_box_layout_flow_vertical, EFL_FUNC_CALL(priv, data), Evas_Object_Box_Data *priv, void *data);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV(evas_obj_box_layout_flow_vertical, EFL_FUNC_CALL(priv, data), Evas_Object_Box_Data *priv, void *data);
void _evas_box_internal_option_free(Eo *obj, Evas_Object_Box_Data *pd, Evas_Object_Box_Option *opt);
EOAPI EFL_VOID_FUNC_BODYV(evas_obj_box_internal_option_free, EFL_FUNC_CALL(opt), Evas_Object_Box_Option *opt);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV(evas_obj_box_internal_option_free, EFL_FUNC_CALL(opt), Evas_Object_Box_Option *opt);
Evas_Object_Box_Option *_evas_box_insert_after(Eo *obj, Evas_Object_Box_Data *pd, Efl_Canvas_Object *child, const Efl_Canvas_Object *reference);
EOAPI EFL_FUNC_BODYV(evas_obj_box_insert_after, Evas_Object_Box_Option *, NULL, EFL_FUNC_CALL(child, reference), Efl_Canvas_Object *child, const Efl_Canvas_Object *reference);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODYV(evas_obj_box_insert_after, Evas_Object_Box_Option *, NULL, EFL_FUNC_CALL(child, reference), Efl_Canvas_Object *child, const Efl_Canvas_Object *reference);
Eina_Bool _evas_box_remove_all(Eo *obj, Evas_Object_Box_Data *pd, Eina_Bool clear);
EOAPI EFL_FUNC_BODYV(evas_obj_box_remove_all, Eina_Bool, 0, EFL_FUNC_CALL(clear), Eina_Bool clear);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODYV(evas_obj_box_remove_all, Eina_Bool, 0, EFL_FUNC_CALL(clear), Eina_Bool clear);
Eina_Iterator *_evas_box_iterator_new(const Eo *obj, Evas_Object_Box_Data *pd);
EOAPI EFL_FUNC_BODY_CONST(evas_obj_box_iterator_new, Eina_Iterator *, NULL);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODY_CONST(evas_obj_box_iterator_new, Eina_Iterator *, NULL);
Efl_Canvas_Object *_evas_box_add_to(Eo *obj, Evas_Object_Box_Data *pd);
EOAPI EFL_FUNC_BODY(evas_obj_box_add_to, Efl_Canvas_Object *, NULL);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODY(evas_obj_box_add_to, Efl_Canvas_Object *, NULL);
Evas_Object_Box_Option *_evas_box_append(Eo *obj, Evas_Object_Box_Data *pd, Efl_Canvas_Object *child);
EOAPI EFL_FUNC_BODYV(evas_obj_box_append, Evas_Object_Box_Option *, NULL, EFL_FUNC_CALL(child), Efl_Canvas_Object *child);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODYV(evas_obj_box_append, Evas_Object_Box_Option *, NULL, EFL_FUNC_CALL(child), Efl_Canvas_Object *child);
int _evas_box_option_property_id_get(const Eo *obj, Evas_Object_Box_Data *pd, const char *name);
EOAPI EFL_FUNC_BODYV_CONST(evas_obj_box_option_property_id_get, int, 0, EFL_FUNC_CALL(name), const char *name);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODYV_CONST(evas_obj_box_option_property_id_get, int, 0, EFL_FUNC_CALL(name), const char *name);
Evas_Object_Box_Option *_evas_box_prepend(Eo *obj, Evas_Object_Box_Data *pd, Efl_Canvas_Object *child);
EOAPI EFL_FUNC_BODYV(evas_obj_box_prepend, Evas_Object_Box_Option *, NULL, EFL_FUNC_CALL(child), Efl_Canvas_Object *child);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODYV(evas_obj_box_prepend, Evas_Object_Box_Option *, NULL, EFL_FUNC_CALL(child), Efl_Canvas_Object *child);
Eina_Accessor *_evas_box_accessor_new(const Eo *obj, Evas_Object_Box_Data *pd);
EOAPI EFL_FUNC_BODY_CONST(evas_obj_box_accessor_new, Eina_Accessor *, NULL);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODY_CONST(evas_obj_box_accessor_new, Eina_Accessor *, NULL);
Evas_Object_Box_Option *_evas_box_internal_append(Eo *obj, Evas_Object_Box_Data *pd, Efl_Canvas_Object *child);
EOAPI EFL_FUNC_BODYV(evas_obj_box_internal_append, Evas_Object_Box_Option *, NULL, EFL_FUNC_CALL(child), Efl_Canvas_Object *child);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODYV(evas_obj_box_internal_append, Evas_Object_Box_Option *, NULL, EFL_FUNC_CALL(child), Efl_Canvas_Object *child);
Eina_Bool _evas_box_option_property_vset(Eo *obj, Evas_Object_Box_Data *pd, Evas_Object_Box_Option *opt, int property, va_list *args);
EOAPI EFL_FUNC_BODYV(evas_obj_box_option_property_vset, Eina_Bool, 0, EFL_FUNC_CALL(opt, property, args), Evas_Object_Box_Option *opt, int property, va_list *args);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODYV(evas_obj_box_option_property_vset, Eina_Bool, 0, EFL_FUNC_CALL(opt, property, args), Evas_Object_Box_Option *opt, int property, va_list *args);
Efl_Canvas_Object *_evas_box_internal_remove_at(Eo *obj, Evas_Object_Box_Data *pd, unsigned int pos);
EOAPI EFL_FUNC_BODYV(evas_obj_box_internal_remove_at, Efl_Canvas_Object *, NULL, EFL_FUNC_CALL(pos), unsigned int pos);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODYV(evas_obj_box_internal_remove_at, Efl_Canvas_Object *, NULL, EFL_FUNC_CALL(pos), unsigned int pos);
Eina_Bool _evas_box_remove_at(Eo *obj, Evas_Object_Box_Data *pd, unsigned int pos);
EOAPI EFL_FUNC_BODYV(evas_obj_box_remove_at, Eina_Bool, 0, EFL_FUNC_CALL(pos), unsigned int pos);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODYV(evas_obj_box_remove_at, Eina_Bool, 0, EFL_FUNC_CALL(pos), unsigned int pos);
Eina_Bool _evas_box_option_property_vget(const Eo *obj, Evas_Object_Box_Data *pd, Evas_Object_Box_Option *opt, int property, va_list *args);
EOAPI EFL_FUNC_BODYV_CONST(evas_obj_box_option_property_vget, Eina_Bool, 0, EFL_FUNC_CALL(opt, property, args), Evas_Object_Box_Option *opt, int property, va_list *args);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODYV_CONST(evas_obj_box_option_property_vget, Eina_Bool, 0, EFL_FUNC_CALL(opt, property, args), Evas_Object_Box_Option *opt, int property, va_list *args);
Evas_Object_Box_Option *_evas_box_internal_insert_at(Eo *obj, Evas_Object_Box_Data *pd, Efl_Canvas_Object *child, unsigned int pos);
EOAPI EFL_FUNC_BODYV(evas_obj_box_internal_insert_at, Evas_Object_Box_Option *, NULL, EFL_FUNC_CALL(child, pos), Efl_Canvas_Object *child, unsigned int pos);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODYV(evas_obj_box_internal_insert_at, Evas_Object_Box_Option *, NULL, EFL_FUNC_CALL(child, pos), Efl_Canvas_Object *child, unsigned int pos);
Evas_Object_Box_Option *_evas_box_insert_before(Eo *obj, Evas_Object_Box_Data *pd, Efl_Canvas_Object *child, const Efl_Canvas_Object *reference);
EOAPI EFL_FUNC_BODYV(evas_obj_box_insert_before, Evas_Object_Box_Option *, NULL, EFL_FUNC_CALL(child, reference), Efl_Canvas_Object *child, const Efl_Canvas_Object *reference);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODYV(evas_obj_box_insert_before, Evas_Object_Box_Option *, NULL, EFL_FUNC_CALL(child, reference), Efl_Canvas_Object *child, const Efl_Canvas_Object *reference);
const char *_evas_box_option_property_name_get(const Eo *obj, Evas_Object_Box_Data *pd, int property);
EOAPI EFL_FUNC_BODYV_CONST(evas_obj_box_option_property_name_get, const char *, NULL, EFL_FUNC_CALL(property), int property);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODYV_CONST(evas_obj_box_option_property_name_get, const char *, NULL, EFL_FUNC_CALL(property), int property);
Evas_Object_Box_Option *_evas_box_internal_insert_before(Eo *obj, Evas_Object_Box_Data *pd, Efl_Canvas_Object *child, const Efl_Canvas_Object *reference);
EOAPI EFL_FUNC_BODYV(evas_obj_box_internal_insert_before, Evas_Object_Box_Option *, NULL, EFL_FUNC_CALL(child, reference), Efl_Canvas_Object *child, const Efl_Canvas_Object *reference);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODYV(evas_obj_box_internal_insert_before, Evas_Object_Box_Option *, NULL, EFL_FUNC_CALL(child, reference), Efl_Canvas_Object *child, const Efl_Canvas_Object *reference);
void _evas_box_layout_homogeneous_horizontal(Eo *obj, Evas_Object_Box_Data *pd, Evas_Object_Box_Data *priv, void *data);
EOAPI EFL_VOID_FUNC_BODYV(evas_obj_box_layout_homogeneous_horizontal, EFL_FUNC_CALL(priv, data), Evas_Object_Box_Data *priv, void *data);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV(evas_obj_box_layout_homogeneous_horizontal, EFL_FUNC_CALL(priv, data), Evas_Object_Box_Data *priv, void *data);
Evas_Object_Box_Option *_evas_box_internal_option_new(Eo *obj, Evas_Object_Box_Data *pd, Efl_Canvas_Object *child);
EOAPI EFL_FUNC_BODYV(evas_obj_box_internal_option_new, Evas_Object_Box_Option *, NULL, EFL_FUNC_CALL(child), Efl_Canvas_Object *child);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODYV(evas_obj_box_internal_option_new, Evas_Object_Box_Option *, NULL, EFL_FUNC_CALL(child), Efl_Canvas_Object *child);
void _evas_box_layout_homogeneous_max_size_vertical(Eo *obj, Evas_Object_Box_Data *pd, Evas_Object_Box_Data *priv, void *data);
EOAPI EFL_VOID_FUNC_BODYV(evas_obj_box_layout_homogeneous_max_size_vertical, EFL_FUNC_CALL(priv, data), Evas_Object_Box_Data *priv, void *data);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV(evas_obj_box_layout_homogeneous_max_size_vertical, EFL_FUNC_CALL(priv, data), Evas_Object_Box_Data *priv, void *data);
Evas_Object_Box_Option *_evas_box_internal_insert_after(Eo *obj, Evas_Object_Box_Data *pd, Efl_Canvas_Object *child, const Efl_Canvas_Object *reference);
EOAPI EFL_FUNC_BODYV(evas_obj_box_internal_insert_after, Evas_Object_Box_Option *, NULL, EFL_FUNC_CALL(child, reference), Efl_Canvas_Object *child, const Efl_Canvas_Object *reference);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODYV(evas_obj_box_internal_insert_after, Evas_Object_Box_Option *, NULL, EFL_FUNC_CALL(child, reference), Efl_Canvas_Object *child, const Efl_Canvas_Object *reference);
Evas_Object_Box_Option *_evas_box_insert_at(Eo *obj, Evas_Object_Box_Data *pd, Efl_Canvas_Object *child, unsigned int pos);
EOAPI EFL_FUNC_BODYV(evas_obj_box_insert_at, Evas_Object_Box_Option *, NULL, EFL_FUNC_CALL(child, pos), Efl_Canvas_Object *child, unsigned int pos);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODYV(evas_obj_box_insert_at, Evas_Object_Box_Option *, NULL, EFL_FUNC_CALL(child, pos), Efl_Canvas_Object *child, unsigned int pos);
Evas_Object_Box_Option *_evas_box_internal_prepend(Eo *obj, Evas_Object_Box_Data *pd, Efl_Canvas_Object *child);
EOAPI EFL_FUNC_BODYV(evas_obj_box_internal_prepend, Evas_Object_Box_Option *, NULL, EFL_FUNC_CALL(child), Efl_Canvas_Object *child);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODYV(evas_obj_box_internal_prepend, Evas_Object_Box_Option *, NULL, EFL_FUNC_CALL(child), Efl_Canvas_Object *child);
Eina_Bool _evas_box_remove(Eo *obj, Evas_Object_Box_Data *pd, Efl_Canvas_Object *child);
EOAPI EFL_FUNC_BODYV(evas_obj_box_remove, Eina_Bool, 0, EFL_FUNC_CALL(child), Efl_Canvas_Object *child);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODYV(evas_obj_box_remove, Eina_Bool, 0, EFL_FUNC_CALL(child), Efl_Canvas_Object *child);
void _evas_box_layout_stack(Eo *obj, Evas_Object_Box_Data *pd, Evas_Object_Box_Data *priv, void *data);
EOAPI EFL_VOID_FUNC_BODYV(evas_obj_box_layout_stack, EFL_FUNC_CALL(priv, data), Evas_Object_Box_Data *priv, void *data);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV(evas_obj_box_layout_stack, EFL_FUNC_CALL(priv, data), Evas_Object_Box_Data *priv, void *data);
void _evas_box_layout_homogeneous_vertical(Eo *obj, Evas_Object_Box_Data *pd, Evas_Object_Box_Data *priv, void *data);
EOAPI EFL_VOID_FUNC_BODYV(evas_obj_box_layout_homogeneous_vertical, EFL_FUNC_CALL(priv, data), Evas_Object_Box_Data *priv, void *data);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV(evas_obj_box_layout_homogeneous_vertical, EFL_FUNC_CALL(priv, data), Evas_Object_Box_Data *priv, void *data);
void _evas_box_layout_flow_horizontal(Eo *obj, Evas_Object_Box_Data *pd, Evas_Object_Box_Data *priv, void *data);
EOAPI EFL_VOID_FUNC_BODYV(evas_obj_box_layout_flow_horizontal, EFL_FUNC_CALL(priv, data), Evas_Object_Box_Data *priv, void *data);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV(evas_obj_box_layout_flow_horizontal, EFL_FUNC_CALL(priv, data), Evas_Object_Box_Data *priv, void *data);
int _evas_box_count(Eo *obj, Evas_Object_Box_Data *pd);
EOAPI EFL_FUNC_BODY(evas_obj_box_count, int, 0);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODY(evas_obj_box_count, int, 0);
Efl_Object *_evas_box_efl_object_constructor(Eo *obj, Evas_Object_Box_Data *pd);

View File

@ -19,7 +19,7 @@ typedef Eo Evas_Box;
*/
#define EVAS_BOX_CLASS evas_box_class_get()
EWAPI const Efl_Class *evas_box_class_get(void) EINA_CONST;
EVAS_API EVAS_API_WEAK const Efl_Class *evas_box_class_get(void) EINA_CONST;
/**
* @brief Set the alignment of the whole bounding box of contents, for a given
@ -41,7 +41,7 @@ EWAPI const Efl_Class *evas_box_class_get(void) EINA_CONST;
*
* @ingroup Evas_Box
*/
EOAPI void evas_obj_box_align_set(Eo *obj, double horizontal, double vertical);
EVAS_API EVAS_API_WEAK void evas_obj_box_align_set(Eo *obj, double horizontal, double vertical);
/**
* @brief Get the alignment of the whole bounding box of contents, for a given
@ -55,7 +55,7 @@ EOAPI void evas_obj_box_align_set(Eo *obj, double horizontal, double vertical);
*
* @ingroup Evas_Box
*/
EOAPI void evas_obj_box_align_get(const Eo *obj, double *horizontal, double *vertical);
EVAS_API EVAS_API_WEAK void evas_obj_box_align_get(const Eo *obj, double *horizontal, double *vertical);
/**
* @brief Set the (space) padding between cells set for a given box object.
@ -70,7 +70,7 @@ EOAPI void evas_obj_box_align_get(const Eo *obj, double *horizontal, double *ver
*
* @ingroup Evas_Box
*/
EOAPI void evas_obj_box_padding_set(Eo *obj, int horizontal, int vertical);
EVAS_API EVAS_API_WEAK void evas_obj_box_padding_set(Eo *obj, int horizontal, int vertical);
/**
* @brief Get the (space) padding between cells set for a given box object.
@ -83,7 +83,7 @@ EOAPI void evas_obj_box_padding_set(Eo *obj, int horizontal, int vertical);
*
* @ingroup Evas_Box
*/
EOAPI void evas_obj_box_padding_get(const Eo *obj, int *horizontal, int *vertical);
EVAS_API EVAS_API_WEAK void evas_obj_box_padding_get(const Eo *obj, int *horizontal, int *vertical);
/**
* @brief Set a new layouting function to a given box object
@ -110,7 +110,7 @@ EOAPI void evas_obj_box_padding_get(const Eo *obj, int *horizontal, int *vertica
*
* @ingroup Evas_Box
*/
EOAPI void evas_obj_box_layout_set(Eo *obj, Evas_Object_Box_Layout cb, const void *data, Eina_Free_Cb free_data) EINA_ARG_NONNULL(2);
EVAS_API EVAS_API_WEAK void evas_obj_box_layout_set(Eo *obj, Evas_Object_Box_Layout cb, const void *data, Eina_Free_Cb free_data) EINA_ARG_NONNULL(2);
/**
* @brief Layout function which sets the box o to a (basic) horizontal box
@ -161,7 +161,7 @@ EOAPI void evas_obj_box_layout_set(Eo *obj, Evas_Object_Box_Layout cb, const voi
*
* @ingroup Evas_Box
*/
EOAPI void evas_obj_box_layout_horizontal(Eo *obj, Evas_Object_Box_Data *priv, void *data);
EVAS_API EVAS_API_WEAK void evas_obj_box_layout_horizontal(Eo *obj, Evas_Object_Box_Data *priv, void *data);
/**
* @brief Layout function which sets the box o to a (basic) vertical box
@ -176,7 +176,7 @@ EOAPI void evas_obj_box_layout_horizontal(Eo *obj, Evas_Object_Box_Data *priv, v
*
* @ingroup Evas_Box
*/
EOAPI void evas_obj_box_layout_vertical(Eo *obj, Evas_Object_Box_Data *priv, void *data);
EVAS_API EVAS_API_WEAK void evas_obj_box_layout_vertical(Eo *obj, Evas_Object_Box_Data *priv, void *data);
/**
* @brief Layout function which sets the box o to a maximum size, homogeneous
@ -221,10 +221,10 @@ EOAPI void evas_obj_box_layout_vertical(Eo *obj, Evas_Object_Box_Data *priv, voi
*
* @ingroup Evas_Box
*/
EOAPI void evas_obj_box_layout_homogeneous_max_size_horizontal(Eo *obj, Evas_Object_Box_Data *priv, void *data);
EVAS_API EVAS_API_WEAK void evas_obj_box_layout_homogeneous_max_size_horizontal(Eo *obj, Evas_Object_Box_Data *priv, void *data);
/**
* @brief No description supplied by the EAPI.
* @brief No description supplied by the EVAS_API.
*
* @param[in] obj The object.
* @param[in] child Child object to be removed
@ -233,7 +233,7 @@ EOAPI void evas_obj_box_layout_homogeneous_max_size_horizontal(Eo *obj, Evas_Obj
*
* @ingroup Evas_Box
*/
EOAPI Efl_Canvas_Object *evas_obj_box_internal_remove(Eo *obj, Efl_Canvas_Object *child);
EVAS_API EVAS_API_WEAK Efl_Canvas_Object *evas_obj_box_internal_remove(Eo *obj, Efl_Canvas_Object *child);
/**
* @brief Layout function which sets the box o to a flow vertical box.
@ -248,17 +248,17 @@ EOAPI Efl_Canvas_Object *evas_obj_box_internal_remove(Eo *obj, Efl_Canvas_Object
*
* @ingroup Evas_Box
*/
EOAPI void evas_obj_box_layout_flow_vertical(Eo *obj, Evas_Object_Box_Data *priv, void *data);
EVAS_API EVAS_API_WEAK void evas_obj_box_layout_flow_vertical(Eo *obj, Evas_Object_Box_Data *priv, void *data);
/**
* @brief No description supplied by the EAPI.
* @brief No description supplied by the EVAS_API.
*
* @param[in] obj The object.
* @param[in] opt Box option to be freed
*
* @ingroup Evas_Box
*/
EOAPI void evas_obj_box_internal_option_free(Eo *obj, Evas_Object_Box_Option *opt);
EVAS_API EVAS_API_WEAK void evas_obj_box_internal_option_free(Eo *obj, Evas_Object_Box_Option *opt);
/**
* @brief Insert a new child object after another existing one, in a given box
@ -283,7 +283,7 @@ EOAPI void evas_obj_box_internal_option_free(Eo *obj, Evas_Object_Box_Option *op
*
* @ingroup Evas_Box
*/
EOAPI Evas_Object_Box_Option *evas_obj_box_insert_after(Eo *obj, Efl_Canvas_Object *child, const Efl_Canvas_Object *reference) EINA_ARG_NONNULL(2, 3);
EVAS_API EVAS_API_WEAK Evas_Object_Box_Option *evas_obj_box_insert_after(Eo *obj, Efl_Canvas_Object *child, const Efl_Canvas_Object *reference) EINA_ARG_NONNULL(2, 3);
/**
* @brief Remove all child objects from a box object, unparenting them again.
@ -299,7 +299,7 @@ EOAPI Evas_Object_Box_Option *evas_obj_box_insert_after(Eo *obj, Efl_Canvas_Obje
*
* @ingroup Evas_Box
*/
EOAPI Eina_Bool evas_obj_box_remove_all(Eo *obj, Eina_Bool clear);
EVAS_API EVAS_API_WEAK Eina_Bool evas_obj_box_remove_all(Eo *obj, Eina_Bool clear);
/**
* @brief Get an iterator to walk the list of children of a given box object.
@ -313,7 +313,7 @@ EOAPI Eina_Bool evas_obj_box_remove_all(Eo *obj, Eina_Bool clear);
*
* @ingroup Evas_Box
*/
EOAPI Eina_Iterator *evas_obj_box_iterator_new(const Eo *obj) EINA_WARN_UNUSED_RESULT;
EVAS_API EVAS_API_WEAK Eina_Iterator *evas_obj_box_iterator_new(const Eo *obj) EINA_WARN_UNUSED_RESULT;
/**
* @brief Add a new box as a child of a given smart object.
@ -327,7 +327,7 @@ EOAPI Eina_Iterator *evas_obj_box_iterator_new(const Eo *obj) EINA_WARN_UNUSED_R
*
* @ingroup Evas_Box
*/
EOAPI Efl_Canvas_Object *evas_obj_box_add_to(Eo *obj) EINA_WARN_UNUSED_RESULT;
EVAS_API EVAS_API_WEAK Efl_Canvas_Object *evas_obj_box_add_to(Eo *obj) EINA_WARN_UNUSED_RESULT;
/**
* @brief Append a new child object to the given box object o.
@ -349,7 +349,7 @@ EOAPI Efl_Canvas_Object *evas_obj_box_add_to(Eo *obj) EINA_WARN_UNUSED_RESULT;
*
* @ingroup Evas_Box
*/
EOAPI Evas_Object_Box_Option *evas_obj_box_append(Eo *obj, Efl_Canvas_Object *child) EINA_ARG_NONNULL(2);
EVAS_API EVAS_API_WEAK Evas_Object_Box_Option *evas_obj_box_append(Eo *obj, Efl_Canvas_Object *child) EINA_ARG_NONNULL(2);
/**
* @brief Get the numerical identifier of the property of the child elements of
@ -369,7 +369,7 @@ EOAPI Evas_Object_Box_Option *evas_obj_box_append(Eo *obj, Efl_Canvas_Object *ch
*
* @ingroup Evas_Box
*/
EOAPI int evas_obj_box_option_property_id_get(const Eo *obj, const char *name) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(2);
EVAS_API EVAS_API_WEAK int evas_obj_box_option_property_id_get(const Eo *obj, const char *name) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(2);
/**
* @brief Prepend a new child object to the given box object o.
@ -391,7 +391,7 @@ EOAPI int evas_obj_box_option_property_id_get(const Eo *obj, const char *name) E
*
* @ingroup Evas_Box
*/
EOAPI Evas_Object_Box_Option *evas_obj_box_prepend(Eo *obj, Efl_Canvas_Object *child) EINA_ARG_NONNULL(2);
EVAS_API EVAS_API_WEAK Evas_Object_Box_Option *evas_obj_box_prepend(Eo *obj, Efl_Canvas_Object *child) EINA_ARG_NONNULL(2);
/**
* @brief Get an accessor (a structure providing random items access) to the
@ -406,10 +406,10 @@ EOAPI Evas_Object_Box_Option *evas_obj_box_prepend(Eo *obj, Efl_Canvas_Object *c
*
* @ingroup Evas_Box
*/
EOAPI Eina_Accessor *evas_obj_box_accessor_new(const Eo *obj) EINA_WARN_UNUSED_RESULT;
EVAS_API EVAS_API_WEAK Eina_Accessor *evas_obj_box_accessor_new(const Eo *obj) EINA_WARN_UNUSED_RESULT;
/**
* @brief No description supplied by the EAPI.
* @brief No description supplied by the EVAS_API.
*
* @param[in] obj The object.
* @param[in] child Child object to be appended
@ -418,7 +418,7 @@ EOAPI Eina_Accessor *evas_obj_box_accessor_new(const Eo *obj) EINA_WARN_UNUSED_R
*
* @ingroup Evas_Box
*/
EOAPI Evas_Object_Box_Option *evas_obj_box_internal_append(Eo *obj, Efl_Canvas_Object *child);
EVAS_API EVAS_API_WEAK Evas_Object_Box_Option *evas_obj_box_internal_append(Eo *obj, Efl_Canvas_Object *child);
/**
* @brief Set a property value (by its given numerical identifier), on a given
@ -438,10 +438,10 @@ EOAPI Evas_Object_Box_Option *evas_obj_box_internal_append(Eo *obj, Efl_Canvas_O
*
* @ingroup Evas_Box
*/
EOAPI Eina_Bool evas_obj_box_option_property_vset(Eo *obj, Evas_Object_Box_Option *opt, int property, va_list *args) EINA_ARG_NONNULL(2);
EVAS_API EVAS_API_WEAK Eina_Bool evas_obj_box_option_property_vset(Eo *obj, Evas_Object_Box_Option *opt, int property, va_list *args) EINA_ARG_NONNULL(2);
/**
* @brief No description supplied by the EAPI.
* @brief No description supplied by the EVAS_API.
*
* @param[in] obj The object.
* @param[in] pos Position of object to be removed
@ -450,7 +450,7 @@ EOAPI Eina_Bool evas_obj_box_option_property_vset(Eo *obj, Evas_Object_Box_Optio
*
* @ingroup Evas_Box
*/
EOAPI Efl_Canvas_Object *evas_obj_box_internal_remove_at(Eo *obj, unsigned int pos);
EVAS_API EVAS_API_WEAK Efl_Canvas_Object *evas_obj_box_internal_remove_at(Eo *obj, unsigned int pos);
/**
* @brief Remove an object, bound to a given position in a box object,
@ -475,7 +475,7 @@ EOAPI Efl_Canvas_Object *evas_obj_box_internal_remove_at(Eo *obj, unsigned int p
*
* @ingroup Evas_Box
*/
EOAPI Eina_Bool evas_obj_box_remove_at(Eo *obj, unsigned int pos);
EVAS_API EVAS_API_WEAK Eina_Bool evas_obj_box_remove_at(Eo *obj, unsigned int pos);
/**
* @brief Get a property's value (by its given numerical identifier), on a
@ -496,10 +496,10 @@ EOAPI Eina_Bool evas_obj_box_remove_at(Eo *obj, unsigned int pos);
*
* @ingroup Evas_Box
*/
EOAPI Eina_Bool evas_obj_box_option_property_vget(const Eo *obj, Evas_Object_Box_Option *opt, int property, va_list *args) EINA_ARG_NONNULL(2);
EVAS_API EVAS_API_WEAK Eina_Bool evas_obj_box_option_property_vget(const Eo *obj, Evas_Object_Box_Option *opt, int property, va_list *args) EINA_ARG_NONNULL(2);
/**
* @brief No description supplied by the EAPI.
* @brief No description supplied by the EVAS_API.
*
* @param[in] obj The object.
* @param[in] child Child object to be inserted
@ -509,7 +509,7 @@ EOAPI Eina_Bool evas_obj_box_option_property_vget(const Eo *obj, Evas_Object_Box
*
* @ingroup Evas_Box
*/
EOAPI Evas_Object_Box_Option *evas_obj_box_internal_insert_at(Eo *obj, Efl_Canvas_Object *child, unsigned int pos);
EVAS_API EVAS_API_WEAK Evas_Object_Box_Option *evas_obj_box_internal_insert_at(Eo *obj, Efl_Canvas_Object *child, unsigned int pos);
/**
* @brief Insert a new child object before another existing one, in a given box
@ -534,7 +534,7 @@ EOAPI Evas_Object_Box_Option *evas_obj_box_internal_insert_at(Eo *obj, Efl_Canva
*
* @ingroup Evas_Box
*/
EOAPI Evas_Object_Box_Option *evas_obj_box_insert_before(Eo *obj, Efl_Canvas_Object *child, const Efl_Canvas_Object *reference) EINA_ARG_NONNULL(2, 3);
EVAS_API EVAS_API_WEAK Evas_Object_Box_Option *evas_obj_box_insert_before(Eo *obj, Efl_Canvas_Object *child, const Efl_Canvas_Object *reference) EINA_ARG_NONNULL(2, 3);
/**
* @brief Get the name of the property of the child elements of the box o which
@ -555,10 +555,10 @@ EOAPI Evas_Object_Box_Option *evas_obj_box_insert_before(Eo *obj, Efl_Canvas_Obj
*
* @ingroup Evas_Box
*/
EOAPI const char *evas_obj_box_option_property_name_get(const Eo *obj, int property) EINA_WARN_UNUSED_RESULT;
EVAS_API EVAS_API_WEAK const char *evas_obj_box_option_property_name_get(const Eo *obj, int property) EINA_WARN_UNUSED_RESULT;
/**
* @brief No description supplied by the EAPI.
* @brief No description supplied by the EVAS_API.
*
* @param[in] obj The object.
* @param[in] child Object to be inserted
@ -568,7 +568,7 @@ EOAPI const char *evas_obj_box_option_property_name_get(const Eo *obj, int prope
*
* @ingroup Evas_Box
*/
EOAPI Evas_Object_Box_Option *evas_obj_box_internal_insert_before(Eo *obj, Efl_Canvas_Object *child, const Efl_Canvas_Object *reference);
EVAS_API EVAS_API_WEAK Evas_Object_Box_Option *evas_obj_box_internal_insert_before(Eo *obj, Efl_Canvas_Object *child, const Efl_Canvas_Object *reference);
/**
* @brief Layout function which sets the box o to a homogeneous horizontal box
@ -605,10 +605,10 @@ EOAPI Evas_Object_Box_Option *evas_obj_box_internal_insert_before(Eo *obj, Efl_C
*
* @ingroup Evas_Box
*/
EOAPI void evas_obj_box_layout_homogeneous_horizontal(Eo *obj, Evas_Object_Box_Data *priv, void *data);
EVAS_API EVAS_API_WEAK void evas_obj_box_layout_homogeneous_horizontal(Eo *obj, Evas_Object_Box_Data *priv, void *data);
/**
* @brief No description supplied by the EAPI.
* @brief No description supplied by the EVAS_API.
*
* @param[in] obj The object.
* @param[in] child New box object
@ -617,7 +617,7 @@ EOAPI void evas_obj_box_layout_homogeneous_horizontal(Eo *obj, Evas_Object_Box_D
*
* @ingroup Evas_Box
*/
EOAPI Evas_Object_Box_Option *evas_obj_box_internal_option_new(Eo *obj, Efl_Canvas_Object *child);
EVAS_API EVAS_API_WEAK Evas_Object_Box_Option *evas_obj_box_internal_option_new(Eo *obj, Efl_Canvas_Object *child);
/**
* @brief Layout function which sets the box o to a maximum size, homogeneous
@ -633,10 +633,10 @@ EOAPI Evas_Object_Box_Option *evas_obj_box_internal_option_new(Eo *obj, Efl_Canv
*
* @ingroup Evas_Box
*/
EOAPI void evas_obj_box_layout_homogeneous_max_size_vertical(Eo *obj, Evas_Object_Box_Data *priv, void *data);
EVAS_API EVAS_API_WEAK void evas_obj_box_layout_homogeneous_max_size_vertical(Eo *obj, Evas_Object_Box_Data *priv, void *data);
/**
* @brief No description supplied by the EAPI.
* @brief No description supplied by the EVAS_API.
*
* @param[in] obj The object.
* @param[in] child Object to be inserted
@ -646,7 +646,7 @@ EOAPI void evas_obj_box_layout_homogeneous_max_size_vertical(Eo *obj, Evas_Objec
*
* @ingroup Evas_Box
*/
EOAPI Evas_Object_Box_Option *evas_obj_box_internal_insert_after(Eo *obj, Efl_Canvas_Object *child, const Efl_Canvas_Object *reference);
EVAS_API EVAS_API_WEAK Evas_Object_Box_Option *evas_obj_box_internal_insert_after(Eo *obj, Efl_Canvas_Object *child, const Efl_Canvas_Object *reference);
/**
* @brief Insert a new child object at a given position, in a given box object
@ -673,10 +673,10 @@ EOAPI Evas_Object_Box_Option *evas_obj_box_internal_insert_after(Eo *obj, Efl_Ca
*
* @ingroup Evas_Box
*/
EOAPI Evas_Object_Box_Option *evas_obj_box_insert_at(Eo *obj, Efl_Canvas_Object *child, unsigned int pos) EINA_ARG_NONNULL(2);
EVAS_API EVAS_API_WEAK Evas_Object_Box_Option *evas_obj_box_insert_at(Eo *obj, Efl_Canvas_Object *child, unsigned int pos) EINA_ARG_NONNULL(2);
/**
* @brief No description supplied by the EAPI.
* @brief No description supplied by the EVAS_API.
*
* @param[in] obj The object.
* @param[in] child Object to be prepended
@ -685,7 +685,7 @@ EOAPI Evas_Object_Box_Option *evas_obj_box_insert_at(Eo *obj, Efl_Canvas_Object
*
* @ingroup Evas_Box
*/
EOAPI Evas_Object_Box_Option *evas_obj_box_internal_prepend(Eo *obj, Efl_Canvas_Object *child);
EVAS_API EVAS_API_WEAK Evas_Object_Box_Option *evas_obj_box_internal_prepend(Eo *obj, Efl_Canvas_Object *child);
/**
* @brief Remove a given object from a box object, unparenting it again.
@ -705,7 +705,7 @@ EOAPI Evas_Object_Box_Option *evas_obj_box_internal_prepend(Eo *obj, Efl_Canvas_
*
* @ingroup Evas_Box
*/
EOAPI Eina_Bool evas_obj_box_remove(Eo *obj, Efl_Canvas_Object *child) EINA_ARG_NONNULL(2);
EVAS_API EVAS_API_WEAK Eina_Bool evas_obj_box_remove(Eo *obj, Efl_Canvas_Object *child) EINA_ARG_NONNULL(2);
/**
* @brief Layout function which sets the box o to a stacking box
@ -731,7 +731,7 @@ EOAPI Eina_Bool evas_obj_box_remove(Eo *obj, Efl_Canvas_Object *child) EINA_ARG_
*
* @ingroup Evas_Box
*/
EOAPI void evas_obj_box_layout_stack(Eo *obj, Evas_Object_Box_Data *priv, void *data);
EVAS_API EVAS_API_WEAK void evas_obj_box_layout_stack(Eo *obj, Evas_Object_Box_Data *priv, void *data);
/**
* @brief Layout function which sets the box o to a homogeneous vertical box.
@ -746,7 +746,7 @@ EOAPI void evas_obj_box_layout_stack(Eo *obj, Evas_Object_Box_Data *priv, void *
*
* @ingroup Evas_Box
*/
EOAPI void evas_obj_box_layout_homogeneous_vertical(Eo *obj, Evas_Object_Box_Data *priv, void *data);
EVAS_API EVAS_API_WEAK void evas_obj_box_layout_homogeneous_vertical(Eo *obj, Evas_Object_Box_Data *priv, void *data);
/**
* @brief Layout function which sets the box o to a flow horizontal box.
@ -784,7 +784,7 @@ EOAPI void evas_obj_box_layout_homogeneous_vertical(Eo *obj, Evas_Object_Box_Dat
*
* @ingroup Evas_Box
*/
EOAPI void evas_obj_box_layout_flow_horizontal(Eo *obj, Evas_Object_Box_Data *priv, void *data);
EVAS_API EVAS_API_WEAK void evas_obj_box_layout_flow_horizontal(Eo *obj, Evas_Object_Box_Data *priv, void *data);
/**
* @brief Returns the number of items in the box.
@ -795,9 +795,9 @@ EOAPI void evas_obj_box_layout_flow_horizontal(Eo *obj, Evas_Object_Box_Data *pr
*
* @ingroup Evas_Box
*/
EOAPI int evas_obj_box_count(Eo *obj);
EVAS_API EVAS_API_WEAK int evas_obj_box_count(Eo *obj);
EWAPI extern const Efl_Event_Description _EVAS_BOX_EVENT_CHILD_ADDED;
EVAS_API EVAS_API_WEAK extern const Efl_Event_Description _EVAS_BOX_EVENT_CHILD_ADDED;
/** Called when a child object was added to the box
* @return Evas_Object_Box_Option *
@ -806,7 +806,7 @@ EWAPI extern const Efl_Event_Description _EVAS_BOX_EVENT_CHILD_ADDED;
*/
#define EVAS_BOX_EVENT_CHILD_ADDED (&(_EVAS_BOX_EVENT_CHILD_ADDED))
EWAPI extern const Efl_Event_Description _EVAS_BOX_EVENT_CHILD_REMOVED;
EVAS_API EVAS_API_WEAK extern const Efl_Event_Description _EVAS_BOX_EVENT_CHILD_REMOVED;
/** Called when a child object was removed from the box
* @return Efl_Canvas_Object *

View File

@ -1,161 +1,161 @@
EAPI void
EVAS_API void
evas_object_box_align_set(Evas_Box *obj, double horizontal, double vertical)
{
evas_obj_box_align_set(obj, horizontal, vertical);
}
EAPI void
EVAS_API void
evas_object_box_align_get(const Evas_Box *obj, double *horizontal, double *vertical)
{
evas_obj_box_align_get(obj, horizontal, vertical);
}
EAPI void
EVAS_API void
evas_object_box_padding_set(Evas_Box *obj, int horizontal, int vertical)
{
evas_obj_box_padding_set(obj, horizontal, vertical);
}
EAPI void
EVAS_API void
evas_object_box_padding_get(const Evas_Box *obj, int *horizontal, int *vertical)
{
evas_obj_box_padding_get(obj, horizontal, vertical);
}
EAPI void
EVAS_API void
evas_object_box_layout_set(Evas_Box *obj, Evas_Object_Box_Layout cb, const void *data, Eina_Free_Cb free_data)
{
evas_obj_box_layout_set(obj, cb, data, free_data);
}
EAPI void
EVAS_API void
evas_object_box_layout_horizontal(Evas_Box *obj, Evas_Object_Box_Data *priv, void *data)
{
evas_obj_box_layout_horizontal(obj, priv, data);
}
EAPI void
EVAS_API void
evas_object_box_layout_vertical(Evas_Box *obj, Evas_Object_Box_Data *priv, void *data)
{
evas_obj_box_layout_vertical(obj, priv, data);
}
EAPI void
EVAS_API void
evas_object_box_layout_homogeneous_max_size_horizontal(Evas_Box *obj, Evas_Object_Box_Data *priv, void *data)
{
evas_obj_box_layout_homogeneous_max_size_horizontal(obj, priv, data);
}
EAPI void
EVAS_API void
evas_object_box_layout_flow_vertical(Evas_Box *obj, Evas_Object_Box_Data *priv, void *data)
{
evas_obj_box_layout_flow_vertical(obj, priv, data);
}
EAPI Evas_Object_Box_Option *
EVAS_API Evas_Object_Box_Option *
evas_object_box_insert_after(Evas_Box *obj, Efl_Canvas_Object *child, const Efl_Canvas_Object *reference)
{
return evas_obj_box_insert_after(obj, child, reference);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_box_remove_all(Evas_Box *obj, Eina_Bool clear)
{
return evas_obj_box_remove_all(obj, clear);
}
EAPI Eina_Iterator *
EVAS_API Eina_Iterator *
evas_object_box_iterator_new(const Evas_Box *obj)
{
return evas_obj_box_iterator_new(obj);
}
EAPI Efl_Canvas_Object *
EVAS_API Efl_Canvas_Object *
evas_object_box_add_to(Evas_Box *obj)
{
return evas_obj_box_add_to(obj);
}
EAPI Evas_Object_Box_Option *
EVAS_API Evas_Object_Box_Option *
evas_object_box_append(Evas_Box *obj, Efl_Canvas_Object *child)
{
return evas_obj_box_append(obj, child);
}
EAPI int
EVAS_API int
evas_object_box_option_property_id_get(const Evas_Box *obj, const char *name)
{
return evas_obj_box_option_property_id_get(obj, name);
}
EAPI Evas_Object_Box_Option *
EVAS_API Evas_Object_Box_Option *
evas_object_box_prepend(Evas_Box *obj, Efl_Canvas_Object *child)
{
return evas_obj_box_prepend(obj, child);
}
EAPI Eina_Accessor *
EVAS_API Eina_Accessor *
evas_object_box_accessor_new(const Evas_Box *obj)
{
return evas_obj_box_accessor_new(obj);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_box_remove_at(Evas_Box *obj, unsigned int pos)
{
return evas_obj_box_remove_at(obj, pos);
}
EAPI Evas_Object_Box_Option *
EVAS_API Evas_Object_Box_Option *
evas_object_box_insert_before(Evas_Box *obj, Efl_Canvas_Object *child, const Efl_Canvas_Object *reference)
{
return evas_obj_box_insert_before(obj, child, reference);
}
EAPI const char *
EVAS_API const char *
evas_object_box_option_property_name_get(const Evas_Box *obj, int property)
{
return evas_obj_box_option_property_name_get(obj, property);
}
EAPI void
EVAS_API void
evas_object_box_layout_homogeneous_horizontal(Evas_Box *obj, Evas_Object_Box_Data *priv, void *data)
{
evas_obj_box_layout_homogeneous_horizontal(obj, priv, data);
}
EAPI void
EVAS_API void
evas_object_box_layout_homogeneous_max_size_vertical(Evas_Box *obj, Evas_Object_Box_Data *priv, void *data)
{
evas_obj_box_layout_homogeneous_max_size_vertical(obj, priv, data);
}
EAPI Evas_Object_Box_Option *
EVAS_API Evas_Object_Box_Option *
evas_object_box_insert_at(Evas_Box *obj, Efl_Canvas_Object *child, unsigned int pos)
{
return evas_obj_box_insert_at(obj, child, pos);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_box_remove(Evas_Box *obj, Efl_Canvas_Object *child)
{
return evas_obj_box_remove(obj, child);
}
EAPI void
EVAS_API void
evas_object_box_layout_stack(Evas_Box *obj, Evas_Object_Box_Data *priv, void *data)
{
evas_obj_box_layout_stack(obj, priv, data);
}
EAPI void
EVAS_API void
evas_object_box_layout_homogeneous_vertical(Evas_Box *obj, Evas_Object_Box_Data *priv, void *data)
{
evas_obj_box_layout_homogeneous_vertical(obj, priv, data);
}
EAPI void
EVAS_API void
evas_object_box_layout_flow_horizontal(Evas_Box *obj, Evas_Object_Box_Data *priv, void *data)
{
evas_obj_box_layout_flow_horizontal(obj, priv, data);

View File

@ -34,7 +34,7 @@ typedef Eo Evas_Box;
*
* @ingroup Evas_Object_Box_Group
*/
EAPI void evas_object_box_align_set(Evas_Box *obj, double horizontal, double vertical);
EVAS_API void evas_object_box_align_set(Evas_Box *obj, double horizontal, double vertical);
/**
* @brief Get the alignment of the whole bounding box of contents, for a given
@ -48,7 +48,7 @@ EAPI void evas_object_box_align_set(Evas_Box *obj, double horizontal, double ver
*
* @ingroup Evas_Object_Box_Group
*/
EAPI void evas_object_box_align_get(const Evas_Box *obj, double *horizontal, double *vertical);
EVAS_API void evas_object_box_align_get(const Evas_Box *obj, double *horizontal, double *vertical);
/**
* @brief Set the (space) padding between cells set for a given box object.
@ -63,7 +63,7 @@ EAPI void evas_object_box_align_get(const Evas_Box *obj, double *horizontal, dou
*
* @ingroup Evas_Object_Box_Group
*/
EAPI void evas_object_box_padding_set(Evas_Box *obj, int horizontal, int vertical);
EVAS_API void evas_object_box_padding_set(Evas_Box *obj, int horizontal, int vertical);
/**
* @brief Get the (space) padding between cells set for a given box object.
@ -76,7 +76,7 @@ EAPI void evas_object_box_padding_set(Evas_Box *obj, int horizontal, int vertica
*
* @ingroup Evas_Object_Box_Group
*/
EAPI void evas_object_box_padding_get(const Evas_Box *obj, int *horizontal, int *vertical);
EVAS_API void evas_object_box_padding_get(const Evas_Box *obj, int *horizontal, int *vertical);
/**
* @brief Set a new layouting function to a given box object
@ -105,7 +105,7 @@ EAPI void evas_object_box_padding_get(const Evas_Box *obj, int *horizontal, int
*
* @ingroup Evas_Object_Box_Group
*/
EAPI void evas_object_box_layout_set(Evas_Box *obj, Evas_Object_Box_Layout cb, const void *data, Eina_Free_Cb free_data) EINA_ARG_NONNULL(2);
EVAS_API void evas_object_box_layout_set(Evas_Box *obj, Evas_Object_Box_Layout cb, const void *data, Eina_Free_Cb free_data) EINA_ARG_NONNULL(2);
/**
* @brief Layout function which sets the box o to a (basic) horizontal box
@ -156,7 +156,7 @@ EAPI void evas_object_box_layout_set(Evas_Box *obj, Evas_Object_Box_Layout cb, c
*
* @ingroup Evas_Object_Box_Group
*/
EAPI void evas_object_box_layout_horizontal(Evas_Box *obj, Evas_Object_Box_Data *priv, void *data);
EVAS_API void evas_object_box_layout_horizontal(Evas_Box *obj, Evas_Object_Box_Data *priv, void *data);
/**
* @brief Layout function which sets the box o to a (basic) vertical box
@ -171,7 +171,7 @@ EAPI void evas_object_box_layout_horizontal(Evas_Box *obj, Evas_Object_Box_Data
*
* @ingroup Evas_Object_Box_Group
*/
EAPI void evas_object_box_layout_vertical(Evas_Box *obj, Evas_Object_Box_Data *priv, void *data);
EVAS_API void evas_object_box_layout_vertical(Evas_Box *obj, Evas_Object_Box_Data *priv, void *data);
/**
* @brief Layout function which sets the box o to a maximum size, homogeneous
@ -216,7 +216,7 @@ EAPI void evas_object_box_layout_vertical(Evas_Box *obj, Evas_Object_Box_Data *p
*
* @ingroup Evas_Object_Box_Group
*/
EAPI void evas_object_box_layout_homogeneous_max_size_horizontal(Evas_Box *obj, Evas_Object_Box_Data *priv, void *data);
EVAS_API void evas_object_box_layout_homogeneous_max_size_horizontal(Evas_Box *obj, Evas_Object_Box_Data *priv, void *data);
/**
@ -232,7 +232,7 @@ EAPI void evas_object_box_layout_homogeneous_max_size_horizontal(Evas_Box *obj,
*
* @ingroup Evas_Object_Box_Group
*/
EAPI void evas_object_box_layout_flow_vertical(Evas_Box *obj, Evas_Object_Box_Data *priv, void *data);
EVAS_API void evas_object_box_layout_flow_vertical(Evas_Box *obj, Evas_Object_Box_Data *priv, void *data);
/**
@ -258,7 +258,7 @@ EAPI void evas_object_box_layout_flow_vertical(Evas_Box *obj, Evas_Object_Box_Da
*
* @ingroup Evas_Object_Box_Group
*/
EAPI Evas_Object_Box_Option *evas_object_box_insert_after(Evas_Box *obj, Efl_Canvas_Object *child, const Efl_Canvas_Object *reference) EINA_ARG_NONNULL(2, 3);
EVAS_API Evas_Object_Box_Option *evas_object_box_insert_after(Evas_Box *obj, Efl_Canvas_Object *child, const Efl_Canvas_Object *reference) EINA_ARG_NONNULL(2, 3);
/**
* @brief Remove all child objects from a box object, unparenting them again.
@ -274,7 +274,7 @@ EAPI Evas_Object_Box_Option *evas_object_box_insert_after(Evas_Box *obj, Efl_Can
*
* @ingroup Evas_Object_Box_Group
*/
EAPI Eina_Bool evas_object_box_remove_all(Evas_Box *obj, Eina_Bool clear);
EVAS_API Eina_Bool evas_object_box_remove_all(Evas_Box *obj, Eina_Bool clear);
/**
* @brief Get an iterator to walk the list of children of a given box object.
@ -288,7 +288,7 @@ EAPI Eina_Bool evas_object_box_remove_all(Evas_Box *obj, Eina_Bool clear);
*
* @ingroup Evas_Object_Box_Group
*/
EAPI Eina_Iterator *evas_object_box_iterator_new(const Evas_Box *obj) EINA_WARN_UNUSED_RESULT;
EVAS_API Eina_Iterator *evas_object_box_iterator_new(const Evas_Box *obj) EINA_WARN_UNUSED_RESULT;
/**
* @brief Add a new box as a child of a given smart object.
@ -302,7 +302,7 @@ EAPI Eina_Iterator *evas_object_box_iterator_new(const Evas_Box *obj) EINA_WARN_
*
* @ingroup Evas_Object_Box_Group
*/
EAPI Efl_Canvas_Object *evas_object_box_add_to(Evas_Box *obj) EINA_WARN_UNUSED_RESULT;
EVAS_API Efl_Canvas_Object *evas_object_box_add_to(Evas_Box *obj) EINA_WARN_UNUSED_RESULT;
/**
* @brief Append a new child object to the given box object o.
@ -324,7 +324,7 @@ EAPI Efl_Canvas_Object *evas_object_box_add_to(Evas_Box *obj) EINA_WARN_UNUSED_R
*
* @ingroup Evas_Object_Box_Group
*/
EAPI Evas_Object_Box_Option *evas_object_box_append(Evas_Box *obj, Efl_Canvas_Object *child) EINA_ARG_NONNULL(2);
EVAS_API Evas_Object_Box_Option *evas_object_box_append(Evas_Box *obj, Efl_Canvas_Object *child) EINA_ARG_NONNULL(2);
/**
* @brief Get the numerical identifier of the property of the child elements of
@ -344,7 +344,7 @@ EAPI Evas_Object_Box_Option *evas_object_box_append(Evas_Box *obj, Efl_Canvas_Ob
*
* @ingroup Evas_Object_Box_Group
*/
EAPI int evas_object_box_option_property_id_get(const Evas_Box *obj, const char *name) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(2);
EVAS_API int evas_object_box_option_property_id_get(const Evas_Box *obj, const char *name) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(2);
/**
* @brief Prepend a new child object to the given box object o.
@ -366,7 +366,7 @@ EAPI int evas_object_box_option_property_id_get(const Evas_Box *obj, const char
*
* @ingroup Evas_Object_Box_Group
*/
EAPI Evas_Object_Box_Option *evas_object_box_prepend(Evas_Box *obj, Efl_Canvas_Object *child) EINA_ARG_NONNULL(2);
EVAS_API Evas_Object_Box_Option *evas_object_box_prepend(Evas_Box *obj, Efl_Canvas_Object *child) EINA_ARG_NONNULL(2);
/**
* @brief Get an accessor (a structure providing random items access) to the
@ -381,7 +381,7 @@ EAPI Evas_Object_Box_Option *evas_object_box_prepend(Evas_Box *obj, Efl_Canvas_O
*
* @ingroup Evas_Object_Box_Group
*/
EAPI Eina_Accessor *evas_object_box_accessor_new(const Evas_Box *obj) EINA_WARN_UNUSED_RESULT;
EVAS_API Eina_Accessor *evas_object_box_accessor_new(const Evas_Box *obj) EINA_WARN_UNUSED_RESULT;
@ -409,7 +409,7 @@ EAPI Eina_Accessor *evas_object_box_accessor_new(const Evas_Box *obj) EINA_WARN_
*
* @ingroup Evas_Object_Box_Group
*/
EAPI Eina_Bool evas_object_box_remove_at(Evas_Box *obj, unsigned int pos);
EVAS_API Eina_Bool evas_object_box_remove_at(Evas_Box *obj, unsigned int pos);
@ -436,7 +436,7 @@ EAPI Eina_Bool evas_object_box_remove_at(Evas_Box *obj, unsigned int pos);
*
* @ingroup Evas_Object_Box_Group
*/
EAPI Evas_Object_Box_Option *evas_object_box_insert_before(Evas_Box *obj, Efl_Canvas_Object *child, const Efl_Canvas_Object *reference) EINA_ARG_NONNULL(2, 3);
EVAS_API Evas_Object_Box_Option *evas_object_box_insert_before(Evas_Box *obj, Efl_Canvas_Object *child, const Efl_Canvas_Object *reference) EINA_ARG_NONNULL(2, 3);
/**
* @brief Get the name of the property of the child elements of the box o which
@ -457,7 +457,7 @@ EAPI Evas_Object_Box_Option *evas_object_box_insert_before(Evas_Box *obj, Efl_Ca
*
* @ingroup Evas_Object_Box_Group
*/
EAPI const char *evas_object_box_option_property_name_get(const Evas_Box *obj, int property) EINA_WARN_UNUSED_RESULT;
EVAS_API const char *evas_object_box_option_property_name_get(const Evas_Box *obj, int property) EINA_WARN_UNUSED_RESULT;
/**
@ -495,7 +495,7 @@ EAPI const char *evas_object_box_option_property_name_get(const Evas_Box *obj, i
*
* @ingroup Evas_Object_Box_Group
*/
EAPI void evas_object_box_layout_homogeneous_horizontal(Evas_Box *obj, Evas_Object_Box_Data *priv, void *data);
EVAS_API void evas_object_box_layout_homogeneous_horizontal(Evas_Box *obj, Evas_Object_Box_Data *priv, void *data);
/**
@ -512,7 +512,7 @@ EAPI void evas_object_box_layout_homogeneous_horizontal(Evas_Box *obj, Evas_Obje
*
* @ingroup Evas_Object_Box_Group
*/
EAPI void evas_object_box_layout_homogeneous_max_size_vertical(Evas_Box *obj, Evas_Object_Box_Data *priv, void *data);
EVAS_API void evas_object_box_layout_homogeneous_max_size_vertical(Evas_Box *obj, Evas_Object_Box_Data *priv, void *data);
/**
@ -540,7 +540,7 @@ EAPI void evas_object_box_layout_homogeneous_max_size_vertical(Evas_Box *obj, Ev
*
* @ingroup Evas_Object_Box_Group
*/
EAPI Evas_Object_Box_Option *evas_object_box_insert_at(Evas_Box *obj, Efl_Canvas_Object *child, unsigned int pos) EINA_ARG_NONNULL(2);
EVAS_API Evas_Object_Box_Option *evas_object_box_insert_at(Evas_Box *obj, Efl_Canvas_Object *child, unsigned int pos) EINA_ARG_NONNULL(2);
/**
@ -561,7 +561,7 @@ EAPI Evas_Object_Box_Option *evas_object_box_insert_at(Evas_Box *obj, Efl_Canvas
*
* @ingroup Evas_Object_Box_Group
*/
EAPI Eina_Bool evas_object_box_remove(Evas_Box *obj, Efl_Canvas_Object *child) EINA_ARG_NONNULL(2);
EVAS_API Eina_Bool evas_object_box_remove(Evas_Box *obj, Efl_Canvas_Object *child) EINA_ARG_NONNULL(2);
/**
* @brief Layout function which sets the box o to a stacking box
@ -587,7 +587,7 @@ EAPI Eina_Bool evas_object_box_remove(Evas_Box *obj, Efl_Canvas_Object *child) E
*
* @ingroup Evas_Object_Box_Group
*/
EAPI void evas_object_box_layout_stack(Evas_Box *obj, Evas_Object_Box_Data *priv, void *data);
EVAS_API void evas_object_box_layout_stack(Evas_Box *obj, Evas_Object_Box_Data *priv, void *data);
/**
* @brief Layout function which sets the box o to a homogeneous vertical box.
@ -602,7 +602,7 @@ EAPI void evas_object_box_layout_stack(Evas_Box *obj, Evas_Object_Box_Data *priv
*
* @ingroup Evas_Object_Box_Group
*/
EAPI void evas_object_box_layout_homogeneous_vertical(Evas_Box *obj, Evas_Object_Box_Data *priv, void *data);
EVAS_API void evas_object_box_layout_homogeneous_vertical(Evas_Box *obj, Evas_Object_Box_Data *priv, void *data);
/**
* @brief Layout function which sets the box o to a flow horizontal box.
@ -640,7 +640,7 @@ EAPI void evas_object_box_layout_homogeneous_vertical(Evas_Box *obj, Evas_Object
*
* @ingroup Evas_Object_Box_Group
*/
EAPI void evas_object_box_layout_flow_horizontal(Evas_Box *obj, Evas_Object_Box_Data *priv, void *data);
EVAS_API void evas_object_box_layout_flow_horizontal(Evas_Box *obj, Evas_Object_Box_Data *priv, void *data);
#endif

View File

@ -474,14 +474,14 @@ nothing_here:
_evas_unwalk(e);
}
EAPI void
EVAS_API void
evas_object_event_callback_add(Evas_Object *eo_obj, Evas_Callback_Type type, Evas_Object_Event_Cb func, const void *data)
{
evas_object_event_callback_priority_add(eo_obj, type,
EVAS_CALLBACK_PRIORITY_DEFAULT, func, data);
}
EAPI void
EVAS_API void
evas_object_event_callback_priority_add(Evas_Object *eo_obj, Evas_Callback_Type type, Evas_Callback_Priority priority, Evas_Object_Event_Cb func, const void *data)
{
Evas_Object_Protected_Data *obj;
@ -509,7 +509,7 @@ evas_object_event_callback_priority_add(Evas_Object *eo_obj, Evas_Callback_Type
eina_inlist_append(obj->callbacks, EINA_INLIST_GET(cb_info));
}
EAPI void *
EVAS_API void *
evas_object_event_callback_del(Evas_Object *eo_obj, Evas_Callback_Type type, Evas_Object_Event_Cb func)
{
Evas_Object_Protected_Data *obj;
@ -539,7 +539,7 @@ evas_object_event_callback_del(Evas_Object *eo_obj, Evas_Callback_Type type, Eva
return NULL;
}
EAPI void *
EVAS_API void *
evas_object_event_callback_del_full(Evas_Object *eo_obj, Evas_Callback_Type type, Evas_Object_Event_Cb func, const void *data)
{
Evas_Object_Protected_Data *obj;
@ -569,7 +569,7 @@ evas_object_event_callback_del_full(Evas_Object *eo_obj, Evas_Callback_Type type
return NULL;
}
EAPI void
EVAS_API void
evas_event_callback_add(Evas *eo_e, Evas_Callback_Type type, Evas_Event_Cb func, const void *data)
{
evas_event_callback_priority_add(eo_e, type, EVAS_CALLBACK_PRIORITY_DEFAULT,
@ -594,7 +594,7 @@ _deferred_callbacks_process(Evas *eo_e, Evas_Public_Data *e)
}
}
EAPI void
EVAS_API void
evas_event_callback_priority_add(Evas *eo_e, Evas_Callback_Type type, Evas_Callback_Priority priority, Evas_Event_Cb func, const void *data)
{
Evas_Public_Data *e;
@ -630,7 +630,7 @@ evas_event_callback_priority_add(Evas *eo_e, Evas_Callback_Type type, Evas_Callb
}
}
EAPI void *
EVAS_API void *
evas_event_callback_del(Evas *eo_e, Evas_Callback_Type type, Evas_Event_Cb func)
{
Evas_Public_Data *e;
@ -674,7 +674,7 @@ evas_event_callback_del(Evas *eo_e, Evas_Callback_Type type, Evas_Event_Cb func)
return NULL;
}
EAPI void *
EVAS_API void *
evas_event_callback_del_full(Evas *eo_e, Evas_Callback_Type type, Evas_Event_Cb func, const void *data)
{
Evas_Public_Data *e;
@ -718,7 +718,7 @@ evas_event_callback_del_full(Evas *eo_e, Evas_Callback_Type type, Evas_Event_Cb
return NULL;
}
EAPI void
EVAS_API void
evas_post_event_callback_push(Evas *eo_e, Evas_Object_Event_Post_Cb func, const void *data)
{
Evas_Public_Data *e;
@ -747,7 +747,7 @@ evas_post_event_callback_push(Evas *eo_e, Evas_Object_Event_Post_Cb func, const
e->post_events = eina_list_prepend(e->post_events, pc);
}
EAPI void
EVAS_API void
evas_post_event_callback_remove(Evas *eo_e, Evas_Object_Event_Post_Cb func)
{
Evas_Public_Data *e;
@ -768,7 +768,7 @@ evas_post_event_callback_remove(Evas *eo_e, Evas_Object_Event_Post_Cb func)
}
}
EAPI void
EVAS_API void
evas_post_event_callback_remove_full(Evas *eo_e, Evas_Object_Event_Post_Cb func, const void *data)
{
Evas_Public_Data *e;

View File

@ -17,7 +17,7 @@ __eolian_evas_canvas_image_cache_set_reflect(Eo *obj, Eina_Value val)
return r;
}
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_image_cache_set, EFL_FUNC_CALL(size), int size);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV(evas_canvas_image_cache_set, EFL_FUNC_CALL(size), int size);
int _evas_canvas_image_cache_get(const Eo *obj, Evas_Public_Data *pd);
@ -29,15 +29,15 @@ __eolian_evas_canvas_image_cache_get_reflect(const Eo *obj)
return eina_value_int_init(val);
}
EOAPI EFL_FUNC_BODY_CONST(evas_canvas_image_cache_get, int, 0);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODY_CONST(evas_canvas_image_cache_get, int, 0);
void _evas_canvas_event_default_flags_set(Eo *obj, Evas_Public_Data *pd, Evas_Event_Flags flags);
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_event_default_flags_set, EFL_FUNC_CALL(flags), Evas_Event_Flags flags);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV(evas_canvas_event_default_flags_set, EFL_FUNC_CALL(flags), Evas_Event_Flags flags);
Evas_Event_Flags _evas_canvas_event_default_flags_get(const Eo *obj, Evas_Public_Data *pd);
EOAPI EFL_FUNC_BODY_CONST(evas_canvas_event_default_flags_get, Evas_Event_Flags, 0);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODY_CONST(evas_canvas_event_default_flags_get, Evas_Event_Flags, 0);
void _evas_canvas_font_cache_set(Eo *obj, Evas_Public_Data *pd, int size);
@ -57,7 +57,7 @@ __eolian_evas_canvas_font_cache_set_reflect(Eo *obj, Eina_Value val)
return r;
}
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_font_cache_set, EFL_FUNC_CALL(size), int size);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV(evas_canvas_font_cache_set, EFL_FUNC_CALL(size), int size);
int _evas_canvas_font_cache_get(const Eo *obj, Evas_Public_Data *pd);
@ -69,251 +69,251 @@ __eolian_evas_canvas_font_cache_get_reflect(const Eo *obj)
return eina_value_int_init(val);
}
EOAPI EFL_FUNC_BODY_CONST(evas_canvas_font_cache_get, int, 0);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODY_CONST(evas_canvas_font_cache_get, int, 0);
void _evas_canvas_data_attach_set(Eo *obj, Evas_Public_Data *pd, void *data);
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_data_attach_set, EFL_FUNC_CALL(data), void *data);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV(evas_canvas_data_attach_set, EFL_FUNC_CALL(data), void *data);
void *_evas_canvas_data_attach_get(const Eo *obj, Evas_Public_Data *pd);
EOAPI EFL_FUNC_BODY_CONST(evas_canvas_data_attach_get, void *, NULL);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODY_CONST(evas_canvas_data_attach_get, void *, NULL);
Efl_Canvas_Object *_evas_canvas_focus_get(const Eo *obj, Evas_Public_Data *pd);
EOAPI EFL_FUNC_BODY_CONST(evas_canvas_focus_get, Efl_Canvas_Object *, NULL);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODY_CONST(evas_canvas_focus_get, Efl_Canvas_Object *, NULL);
Efl_Canvas_Object *_evas_canvas_seat_focus_get(const Eo *obj, Evas_Public_Data *pd, Evas_Device *seat);
EOAPI EFL_FUNC_BODYV_CONST(evas_canvas_seat_focus_get, Efl_Canvas_Object *, NULL, EFL_FUNC_CALL(seat), Evas_Device *seat);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODYV_CONST(evas_canvas_seat_focus_get, Efl_Canvas_Object *, NULL, EFL_FUNC_CALL(seat), Evas_Device *seat);
Efl_Canvas_Object *_evas_canvas_object_top_get(const Eo *obj, Evas_Public_Data *pd);
EOAPI EFL_FUNC_BODY_CONST(evas_canvas_object_top_get, Efl_Canvas_Object *, NULL);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODY_CONST(evas_canvas_object_top_get, Efl_Canvas_Object *, NULL);
void _evas_canvas_pointer_canvas_xy_by_device_get(const Eo *obj, Evas_Public_Data *pd, Evas_Device *dev, int *x, int *y);
EOAPI EFL_VOID_FUNC_BODYV_CONST(evas_canvas_pointer_canvas_xy_by_device_get, EFL_FUNC_CALL(dev, x, y), Evas_Device *dev, int *x, int *y);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV_CONST(evas_canvas_pointer_canvas_xy_by_device_get, EFL_FUNC_CALL(dev, x, y), Evas_Device *dev, int *x, int *y);
void _evas_canvas_pointer_canvas_xy_get(const Eo *obj, Evas_Public_Data *pd, int *x, int *y);
EOAPI EFL_VOID_FUNC_BODYV_CONST(evas_canvas_pointer_canvas_xy_get, EFL_FUNC_CALL(x, y), int *x, int *y);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV_CONST(evas_canvas_pointer_canvas_xy_get, EFL_FUNC_CALL(x, y), int *x, int *y);
int _evas_canvas_event_down_count_get(const Eo *obj, Evas_Public_Data *pd);
EOAPI EFL_FUNC_BODY_CONST(evas_canvas_event_down_count_get, int, 0);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODY_CONST(evas_canvas_event_down_count_get, int, 0);
int _evas_canvas_smart_objects_calculate_count_get(const Eo *obj, Evas_Public_Data *pd);
EOAPI EFL_FUNC_BODY_CONST(evas_canvas_smart_objects_calculate_count_get, int, 0);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODY_CONST(evas_canvas_smart_objects_calculate_count_get, int, 0);
Eina_Bool _evas_canvas_focus_state_get(const Eo *obj, Evas_Public_Data *pd);
EOAPI EFL_FUNC_BODY_CONST(evas_canvas_focus_state_get, Eina_Bool, 0);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODY_CONST(evas_canvas_focus_state_get, Eina_Bool, 0);
Eina_Bool _evas_canvas_seat_focus_state_get(const Eo *obj, Evas_Public_Data *pd, Evas_Device *seat);
EOAPI EFL_FUNC_BODYV_CONST(evas_canvas_seat_focus_state_get, Eina_Bool, 0, EFL_FUNC_CALL(seat), Evas_Device *seat);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODYV_CONST(evas_canvas_seat_focus_state_get, Eina_Bool, 0, EFL_FUNC_CALL(seat), Evas_Device *seat);
Eina_Bool _evas_canvas_changed_get(const Eo *obj, Evas_Public_Data *pd);
EOAPI EFL_FUNC_BODY_CONST(evas_canvas_changed_get, Eina_Bool, 0);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODY_CONST(evas_canvas_changed_get, Eina_Bool, 0);
void _evas_canvas_pointer_output_xy_by_device_get(const Eo *obj, Evas_Public_Data *pd, Evas_Device *dev, int *x, int *y);
EOAPI EFL_VOID_FUNC_BODYV_CONST(evas_canvas_pointer_output_xy_by_device_get, EFL_FUNC_CALL(dev, x, y), Evas_Device *dev, int *x, int *y);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV_CONST(evas_canvas_pointer_output_xy_by_device_get, EFL_FUNC_CALL(dev, x, y), Evas_Device *dev, int *x, int *y);
void _evas_canvas_pointer_output_xy_get(const Eo *obj, Evas_Public_Data *pd, int *x, int *y);
EOAPI EFL_VOID_FUNC_BODYV_CONST(evas_canvas_pointer_output_xy_get, EFL_FUNC_CALL(x, y), int *x, int *y);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV_CONST(evas_canvas_pointer_output_xy_get, EFL_FUNC_CALL(x, y), int *x, int *y);
Efl_Canvas_Object *_evas_canvas_object_bottom_get(const Eo *obj, Evas_Public_Data *pd);
EOAPI EFL_FUNC_BODY_CONST(evas_canvas_object_bottom_get, Efl_Canvas_Object *, NULL);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODY_CONST(evas_canvas_object_bottom_get, Efl_Canvas_Object *, NULL);
unsigned int _evas_canvas_pointer_button_down_mask_by_device_get(const Eo *obj, Evas_Public_Data *pd, Evas_Device *dev);
EOAPI EFL_FUNC_BODYV_CONST(evas_canvas_pointer_button_down_mask_by_device_get, unsigned int, 0, EFL_FUNC_CALL(dev), Evas_Device *dev);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODYV_CONST(evas_canvas_pointer_button_down_mask_by_device_get, unsigned int, 0, EFL_FUNC_CALL(dev), Evas_Device *dev);
unsigned int _evas_canvas_pointer_button_down_mask_get(const Eo *obj, Evas_Public_Data *pd);
EOAPI EFL_FUNC_BODY_CONST(evas_canvas_pointer_button_down_mask_get, unsigned int, 0);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODY_CONST(evas_canvas_pointer_button_down_mask_get, unsigned int, 0);
Eina_List *_evas_canvas_tree_objects_at_xy_get(Eo *obj, Evas_Public_Data *pd, Efl_Canvas_Object *stop, int x, int y);
EOAPI EFL_FUNC_BODYV(evas_canvas_tree_objects_at_xy_get, Eina_List *, NULL, EFL_FUNC_CALL(stop, x, y), Efl_Canvas_Object *stop, int x, int y);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODYV(evas_canvas_tree_objects_at_xy_get, Eina_List *, NULL, EFL_FUNC_CALL(stop, x, y), Efl_Canvas_Object *stop, int x, int y);
void _evas_canvas_key_lock_on(Eo *obj, Evas_Public_Data *pd, const char *keyname);
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_key_lock_on, EFL_FUNC_CALL(keyname), const char *keyname);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV(evas_canvas_key_lock_on, EFL_FUNC_CALL(keyname), const char *keyname);
void _evas_canvas_seat_key_lock_on(Eo *obj, Evas_Public_Data *pd, const char *keyname, Evas_Device *seat);
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_seat_key_lock_on, EFL_FUNC_CALL(keyname, seat), const char *keyname, Evas_Device *seat);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV(evas_canvas_seat_key_lock_on, EFL_FUNC_CALL(keyname, seat), const char *keyname, Evas_Device *seat);
void _evas_canvas_seat_key_lock_off(Eo *obj, Evas_Public_Data *pd, const char *keyname, Evas_Device *seat);
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_seat_key_lock_off, EFL_FUNC_CALL(keyname, seat), const char *keyname, Evas_Device *seat);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV(evas_canvas_seat_key_lock_off, EFL_FUNC_CALL(keyname, seat), const char *keyname, Evas_Device *seat);
void _evas_canvas_key_modifier_add(Eo *obj, Evas_Public_Data *pd, const char *keyname);
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_key_modifier_add, EFL_FUNC_CALL(keyname), const char *keyname);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV(evas_canvas_key_modifier_add, EFL_FUNC_CALL(keyname), const char *keyname);
void _evas_canvas_key_modifier_off(Eo *obj, Evas_Public_Data *pd, const char *keyname);
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_key_modifier_off, EFL_FUNC_CALL(keyname), const char *keyname);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV(evas_canvas_key_modifier_off, EFL_FUNC_CALL(keyname), const char *keyname);
Eina_Bool _evas_canvas_render_async(Eo *obj, Evas_Public_Data *pd);
EOAPI EFL_FUNC_BODY(evas_canvas_render_async, Eina_Bool, 0);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODY(evas_canvas_render_async, Eina_Bool, 0);
void _evas_canvas_focus_out(Eo *obj, Evas_Public_Data *pd);
EOAPI EFL_VOID_FUNC_BODY(evas_canvas_focus_out);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODY(evas_canvas_focus_out);
void _evas_canvas_norender(Eo *obj, Evas_Public_Data *pd);
EOAPI EFL_VOID_FUNC_BODY(evas_canvas_norender);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODY(evas_canvas_norender);
void _evas_canvas_nochange_pop(Eo *obj, Evas_Public_Data *pd);
EOAPI EFL_VOID_FUNC_BODY(evas_canvas_nochange_pop);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODY(evas_canvas_nochange_pop);
void _evas_canvas_key_lock_off(Eo *obj, Evas_Public_Data *pd, const char *keyname);
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_key_lock_off, EFL_FUNC_CALL(keyname), const char *keyname);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV(evas_canvas_key_lock_off, EFL_FUNC_CALL(keyname), const char *keyname);
void _evas_canvas_nochange_push(Eo *obj, Evas_Public_Data *pd);
EOAPI EFL_VOID_FUNC_BODY(evas_canvas_nochange_push);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODY(evas_canvas_nochange_push);
void _evas_canvas_font_cache_flush(Eo *obj, Evas_Public_Data *pd);
EOAPI EFL_VOID_FUNC_BODY(evas_canvas_font_cache_flush);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODY(evas_canvas_font_cache_flush);
void _evas_canvas_key_modifier_on(Eo *obj, Evas_Public_Data *pd, const char *keyname);
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_key_modifier_on, EFL_FUNC_CALL(keyname), const char *keyname);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV(evas_canvas_key_modifier_on, EFL_FUNC_CALL(keyname), const char *keyname);
void _evas_canvas_seat_key_modifier_on(Eo *obj, Evas_Public_Data *pd, const char *keyname, Evas_Device *seat);
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_seat_key_modifier_on, EFL_FUNC_CALL(keyname, seat), const char *keyname, Evas_Device *seat);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV(evas_canvas_seat_key_modifier_on, EFL_FUNC_CALL(keyname, seat), const char *keyname, Evas_Device *seat);
void _evas_canvas_seat_key_modifier_off(Eo *obj, Evas_Public_Data *pd, const char *keyname, Evas_Device *seat);
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_seat_key_modifier_off, EFL_FUNC_CALL(keyname, seat), const char *keyname, Evas_Device *seat);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV(evas_canvas_seat_key_modifier_off, EFL_FUNC_CALL(keyname, seat), const char *keyname, Evas_Device *seat);
Eina_List *_evas_canvas_font_available_list(const Eo *obj, Evas_Public_Data *pd);
EOAPI EFL_FUNC_BODY_CONST(evas_canvas_font_available_list, Eina_List *, NULL);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODY_CONST(evas_canvas_font_available_list, Eina_List *, NULL);
Efl_Canvas_Object *_evas_canvas_object_name_find(const Eo *obj, Evas_Public_Data *pd, const char *name);
EOAPI EFL_FUNC_BODYV_CONST(evas_canvas_object_name_find, Efl_Canvas_Object *, NULL, EFL_FUNC_CALL(name), const char *name);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODYV_CONST(evas_canvas_object_name_find, Efl_Canvas_Object *, NULL, EFL_FUNC_CALL(name), const char *name);
void _evas_canvas_font_path_append(Eo *obj, Evas_Public_Data *pd, const char *path);
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_font_path_append, EFL_FUNC_CALL(path), const char *path);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV(evas_canvas_font_path_append, EFL_FUNC_CALL(path), const char *path);
void _evas_canvas_font_path_clear(Eo *obj, Evas_Public_Data *pd);
EOAPI EFL_VOID_FUNC_BODY(evas_canvas_font_path_clear);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODY(evas_canvas_font_path_clear);
void _evas_canvas_touch_point_list_nth_xy_get(Eo *obj, Evas_Public_Data *pd, unsigned int n, double *x, double *y);
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_touch_point_list_nth_xy_get, EFL_FUNC_CALL(n, x, y), unsigned int n, double *x, double *y);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV(evas_canvas_touch_point_list_nth_xy_get, EFL_FUNC_CALL(n, x, y), unsigned int n, double *x, double *y);
void _evas_canvas_key_lock_del(Eo *obj, Evas_Public_Data *pd, const char *keyname);
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_key_lock_del, EFL_FUNC_CALL(keyname), const char *keyname);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV(evas_canvas_key_lock_del, EFL_FUNC_CALL(keyname), const char *keyname);
void _evas_canvas_damage_rectangle_add(Eo *obj, Evas_Public_Data *pd, int x, int y, int w, int h);
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_damage_rectangle_add, EFL_FUNC_CALL(x, y, w, h), int x, int y, int w, int h);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV(evas_canvas_damage_rectangle_add, EFL_FUNC_CALL(x, y, w, h), int x, int y, int w, int h);
void _evas_canvas_sync(Eo *obj, Evas_Public_Data *pd);
EOAPI EFL_VOID_FUNC_BODY(evas_canvas_sync);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODY(evas_canvas_sync);
const Eina_List *_evas_canvas_font_path_list(const Eo *obj, Evas_Public_Data *pd);
EOAPI EFL_FUNC_BODY_CONST(evas_canvas_font_path_list, const Eina_List *, NULL);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODY_CONST(evas_canvas_font_path_list, const Eina_List *, NULL);
void _evas_canvas_image_cache_reload(Eo *obj, Evas_Public_Data *pd);
EOAPI EFL_VOID_FUNC_BODY(evas_canvas_image_cache_reload);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODY(evas_canvas_image_cache_reload);
int _evas_canvas_coord_world_x_to_screen(const Eo *obj, Evas_Public_Data *pd, int x);
EOAPI EFL_FUNC_BODYV_CONST(evas_canvas_coord_world_x_to_screen, int, 0, EFL_FUNC_CALL(x), int x);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODYV_CONST(evas_canvas_coord_world_x_to_screen, int, 0, EFL_FUNC_CALL(x), int x);
Eina_List *_evas_canvas_render_updates(Eo *obj, Evas_Public_Data *pd);
EOAPI EFL_FUNC_BODY(evas_canvas_render_updates, Eina_List *, NULL);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODY(evas_canvas_render_updates, Eina_List *, NULL);
void _evas_canvas_image_cache_flush(Eo *obj, Evas_Public_Data *pd);
EOAPI EFL_VOID_FUNC_BODY(evas_canvas_image_cache_flush);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODY(evas_canvas_image_cache_flush);
int _evas_canvas_coord_screen_y_to_world(const Eo *obj, Evas_Public_Data *pd, int y);
EOAPI EFL_FUNC_BODYV_CONST(evas_canvas_coord_screen_y_to_world, int, 0, EFL_FUNC_CALL(y), int y);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODYV_CONST(evas_canvas_coord_screen_y_to_world, int, 0, EFL_FUNC_CALL(y), int y);
void _evas_canvas_key_modifier_del(Eo *obj, Evas_Public_Data *pd, const char *keyname);
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_key_modifier_del, EFL_FUNC_CALL(keyname), const char *keyname);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV(evas_canvas_key_modifier_del, EFL_FUNC_CALL(keyname), const char *keyname);
void _evas_canvas_focus_in(Eo *obj, Evas_Public_Data *pd);
EOAPI EFL_VOID_FUNC_BODY(evas_canvas_focus_in);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODY(evas_canvas_focus_in);
void _evas_canvas_seat_focus_in(Eo *obj, Evas_Public_Data *pd, Evas_Device *seat);
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_seat_focus_in, EFL_FUNC_CALL(seat), Evas_Device *seat);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV(evas_canvas_seat_focus_in, EFL_FUNC_CALL(seat), Evas_Device *seat);
void _evas_canvas_seat_focus_out(Eo *obj, Evas_Public_Data *pd, Evas_Device *seat);
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_seat_focus_out, EFL_FUNC_CALL(seat), Evas_Device *seat);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV(evas_canvas_seat_focus_out, EFL_FUNC_CALL(seat), Evas_Device *seat);
void _evas_canvas_obscured_rectangle_add(Eo *obj, Evas_Public_Data *pd, int x, int y, int w, int h);
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_obscured_rectangle_add, EFL_FUNC_CALL(x, y, w, h), int x, int y, int w, int h);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV(evas_canvas_obscured_rectangle_add, EFL_FUNC_CALL(x, y, w, h), int x, int y, int w, int h);
void _evas_canvas_render_dump(Eo *obj, Evas_Public_Data *pd);
EOAPI EFL_VOID_FUNC_BODY(evas_canvas_render_dump);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODY(evas_canvas_render_dump);
void _evas_canvas_render(Eo *obj, Evas_Public_Data *pd);
EOAPI EFL_VOID_FUNC_BODY(evas_canvas_render);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODY(evas_canvas_render);
void _evas_canvas_font_path_prepend(Eo *obj, Evas_Public_Data *pd, const char *path);
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_font_path_prepend, EFL_FUNC_CALL(path), const char *path);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV(evas_canvas_font_path_prepend, EFL_FUNC_CALL(path), const char *path);
void _evas_canvas_obscured_clear(Eo *obj, Evas_Public_Data *pd);
EOAPI EFL_VOID_FUNC_BODY(evas_canvas_obscured_clear);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODY(evas_canvas_obscured_clear);
int _evas_canvas_coord_screen_x_to_world(const Eo *obj, Evas_Public_Data *pd, int x);
EOAPI EFL_FUNC_BODYV_CONST(evas_canvas_coord_screen_x_to_world, int, 0, EFL_FUNC_CALL(x), int x);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODYV_CONST(evas_canvas_coord_screen_x_to_world, int, 0, EFL_FUNC_CALL(x), int x);
void _evas_canvas_key_lock_add(Eo *obj, Evas_Public_Data *pd, const char *keyname);
EOAPI EFL_VOID_FUNC_BODYV(evas_canvas_key_lock_add, EFL_FUNC_CALL(keyname), const char *keyname);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV(evas_canvas_key_lock_add, EFL_FUNC_CALL(keyname), const char *keyname);
void _evas_canvas_render_idle_flush(Eo *obj, Evas_Public_Data *pd);
EOAPI EFL_VOID_FUNC_BODY(evas_canvas_render_idle_flush);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODY(evas_canvas_render_idle_flush);
Evas_Device *_evas_canvas_default_device_get(const Eo *obj, Evas_Public_Data *pd, Evas_Device_Class type);
EOAPI EFL_FUNC_BODYV_CONST(evas_canvas_default_device_get, Evas_Device *, NULL, EFL_FUNC_CALL(type), Evas_Device_Class type);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODYV_CONST(evas_canvas_default_device_get, Evas_Device *, NULL, EFL_FUNC_CALL(type), Evas_Device_Class type);
int _evas_canvas_coord_world_y_to_screen(const Eo *obj, Evas_Public_Data *pd, int y);
EOAPI EFL_FUNC_BODYV_CONST(evas_canvas_coord_world_y_to_screen, int, 0, EFL_FUNC_CALL(y), int y);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODYV_CONST(evas_canvas_coord_world_y_to_screen, int, 0, EFL_FUNC_CALL(y), int y);
Efl_Object *_evas_canvas_efl_object_constructor(Eo *obj, Evas_Public_Data *pd);

View File

@ -19,7 +19,7 @@ typedef Eo Evas_Canvas;
*/
#define EVAS_CANVAS_CLASS evas_canvas_class_get()
EWAPI const Efl_Class *evas_canvas_class_get(void) EINA_CONST;
EVAS_API EVAS_API_WEAK const Efl_Class *evas_canvas_class_get(void) EINA_CONST;
/**
* @brief Set the image cache.
@ -31,7 +31,7 @@ EWAPI const Efl_Class *evas_canvas_class_get(void) EINA_CONST;
*
* @ingroup Evas_Canvas
*/
EOAPI void evas_canvas_image_cache_set(Eo *obj, int size);
EVAS_API EVAS_API_WEAK void evas_canvas_image_cache_set(Eo *obj, int size);
/**
* @brief Get the image cache.
@ -44,7 +44,7 @@ EOAPI void evas_canvas_image_cache_set(Eo *obj, int size);
*
* @ingroup Evas_Canvas
*/
EOAPI int evas_canvas_image_cache_get(const Eo *obj);
EVAS_API EVAS_API_WEAK int evas_canvas_image_cache_get(const Eo *obj);
/**
* @brief Set the default set of flags an event begins with
@ -60,7 +60,7 @@ EOAPI int evas_canvas_image_cache_get(const Eo *obj);
*
* @ingroup Evas_Canvas
*/
EOAPI void evas_canvas_event_default_flags_set(Eo *obj, Evas_Event_Flags flags);
EVAS_API EVAS_API_WEAK void evas_canvas_event_default_flags_set(Eo *obj, Evas_Event_Flags flags);
/**
* @brief Get the default set of flags an event begins with
@ -75,7 +75,7 @@ EOAPI void evas_canvas_event_default_flags_set(Eo *obj, Evas_Event_Flags flags);
*
* @ingroup Evas_Canvas
*/
EOAPI Evas_Event_Flags evas_canvas_event_default_flags_get(const Eo *obj);
EVAS_API EVAS_API_WEAK Evas_Event_Flags evas_canvas_event_default_flags_get(const Eo *obj);
/**
* @brief Changes the size of font cache of the given evas.
@ -85,7 +85,7 @@ EOAPI Evas_Event_Flags evas_canvas_event_default_flags_get(const Eo *obj);
*
* @ingroup Evas_Canvas
*/
EOAPI void evas_canvas_font_cache_set(Eo *obj, int size);
EVAS_API EVAS_API_WEAK void evas_canvas_font_cache_set(Eo *obj, int size);
/**
* @brief Get the size of font cache of the given evas in bytes.
@ -96,7 +96,7 @@ EOAPI void evas_canvas_font_cache_set(Eo *obj, int size);
*
* @ingroup Evas_Canvas
*/
EOAPI int evas_canvas_font_cache_get(const Eo *obj);
EVAS_API EVAS_API_WEAK int evas_canvas_font_cache_get(const Eo *obj);
/**
* @brief Attaches a specific pointer to the evas for fetching later.
@ -106,7 +106,7 @@ EOAPI int evas_canvas_font_cache_get(const Eo *obj);
*
* @ingroup Evas_Canvas
*/
EOAPI void evas_canvas_data_attach_set(Eo *obj, void *data);
EVAS_API EVAS_API_WEAK void evas_canvas_data_attach_set(Eo *obj, void *data);
/**
* @brief Returns the pointer attached by @ref evas_canvas_data_attach_set.
@ -117,7 +117,7 @@ EOAPI void evas_canvas_data_attach_set(Eo *obj, void *data);
*
* @ingroup Evas_Canvas
*/
EOAPI void *evas_canvas_data_attach_get(const Eo *obj);
EVAS_API EVAS_API_WEAK void *evas_canvas_data_attach_get(const Eo *obj);
/**
* @brief Retrieve the object focused by the default seat.
@ -143,7 +143,7 @@ EOAPI void *evas_canvas_data_attach_get(const Eo *obj);
*
* @ingroup Evas_Canvas
*/
EOAPI Efl_Canvas_Object *evas_canvas_focus_get(const Eo *obj) EINA_WARN_UNUSED_RESULT;
EVAS_API EVAS_API_WEAK Efl_Canvas_Object *evas_canvas_focus_get(const Eo *obj) EINA_WARN_UNUSED_RESULT;
/**
* @brief Return the focused object by a given seat.
@ -159,7 +159,7 @@ EOAPI Efl_Canvas_Object *evas_canvas_focus_get(const Eo *obj) EINA_WARN_UNUSED_R
*
* @ingroup Evas_Canvas
*/
EOAPI Efl_Canvas_Object *evas_canvas_seat_focus_get(const Eo *obj, Evas_Device *seat);
EVAS_API EVAS_API_WEAK Efl_Canvas_Object *evas_canvas_seat_focus_get(const Eo *obj, Evas_Device *seat);
/**
* @brief Get the highest (stacked) Evas object on the canvas @c e.
@ -179,7 +179,7 @@ EOAPI Efl_Canvas_Object *evas_canvas_seat_focus_get(const Eo *obj, Evas_Device *
*
* @ingroup Evas_Canvas
*/
EOAPI Efl_Canvas_Object *evas_canvas_object_top_get(const Eo *obj) EINA_WARN_UNUSED_RESULT;
EVAS_API EVAS_API_WEAK Efl_Canvas_Object *evas_canvas_object_top_get(const Eo *obj) EINA_WARN_UNUSED_RESULT;
/**
* @brief This function returns the current known default pointer coordinates.
@ -193,7 +193,7 @@ EOAPI Efl_Canvas_Object *evas_canvas_object_top_get(const Eo *obj) EINA_WARN_UNU
*
* @ingroup Evas_Canvas
*/
EOAPI void evas_canvas_pointer_canvas_xy_by_device_get(const Eo *obj, Evas_Device *dev, int *x, int *y);
EVAS_API EVAS_API_WEAK void evas_canvas_pointer_canvas_xy_by_device_get(const Eo *obj, Evas_Device *dev, int *x, int *y);
/**
* @brief This function returns the current known default pointer coordinates
@ -209,7 +209,7 @@ EOAPI void evas_canvas_pointer_canvas_xy_by_device_get(const Eo *obj, Evas_Devic
*
* @ingroup Evas_Canvas
*/
EOAPI void evas_canvas_pointer_canvas_xy_get(const Eo *obj, int *x, int *y);
EVAS_API EVAS_API_WEAK void evas_canvas_pointer_canvas_xy_get(const Eo *obj, int *x, int *y);
/**
* @brief Get the number of mouse or multi presses currently active.
@ -222,7 +222,7 @@ EOAPI void evas_canvas_pointer_canvas_xy_get(const Eo *obj, int *x, int *y);
*
* @ingroup Evas_Canvas
*/
EOAPI int evas_canvas_event_down_count_get(const Eo *obj);
EVAS_API EVAS_API_WEAK int evas_canvas_event_down_count_get(const Eo *obj);
/**
* @brief This gets the internal counter that counts the number of smart
@ -244,7 +244,7 @@ EOAPI int evas_canvas_event_down_count_get(const Eo *obj);
*
* @ingroup Evas_Canvas
*/
EOAPI int evas_canvas_smart_objects_calculate_count_get(const Eo *obj);
EVAS_API EVAS_API_WEAK int evas_canvas_smart_objects_calculate_count_get(const Eo *obj);
/**
* @brief Get the focus state for the default seat.
@ -255,7 +255,7 @@ EOAPI int evas_canvas_smart_objects_calculate_count_get(const Eo *obj);
*
* @ingroup Evas_Canvas
*/
EOAPI Eina_Bool evas_canvas_focus_state_get(const Eo *obj);
EVAS_API EVAS_API_WEAK Eina_Bool evas_canvas_focus_state_get(const Eo *obj);
/**
* @brief Get the focus state by a given seat.
@ -268,7 +268,7 @@ EOAPI Eina_Bool evas_canvas_focus_state_get(const Eo *obj);
*
* @ingroup Evas_Canvas
*/
EOAPI Eina_Bool evas_canvas_seat_focus_state_get(const Eo *obj, Evas_Device *seat);
EVAS_API EVAS_API_WEAK Eina_Bool evas_canvas_seat_focus_state_get(const Eo *obj, Evas_Device *seat);
/**
* @brief Get the changed marker for the canvas.
@ -281,7 +281,7 @@ EOAPI Eina_Bool evas_canvas_seat_focus_state_get(const Eo *obj, Evas_Device *sea
*
* @ingroup Evas_Canvas
*/
EOAPI Eina_Bool evas_canvas_changed_get(const Eo *obj);
EVAS_API EVAS_API_WEAK Eina_Bool evas_canvas_changed_get(const Eo *obj);
/**
* @brief This function returns the current known pointer coordinates.
@ -295,7 +295,7 @@ EOAPI Eina_Bool evas_canvas_changed_get(const Eo *obj);
*
* @ingroup Evas_Canvas
*/
EOAPI void evas_canvas_pointer_output_xy_by_device_get(const Eo *obj, Evas_Device *dev, int *x, int *y);
EVAS_API EVAS_API_WEAK void evas_canvas_pointer_output_xy_by_device_get(const Eo *obj, Evas_Device *dev, int *x, int *y);
/**
* @brief This function returns the current known default pointer coordinates.
@ -311,7 +311,7 @@ EOAPI void evas_canvas_pointer_output_xy_by_device_get(const Eo *obj, Evas_Devic
*
* @ingroup Evas_Canvas
*/
EOAPI void evas_canvas_pointer_output_xy_get(const Eo *obj, int *x, int *y);
EVAS_API EVAS_API_WEAK void evas_canvas_pointer_output_xy_get(const Eo *obj, int *x, int *y);
/**
* @brief Get the lowest (stacked) Evas object on the canvas @c e.
@ -331,7 +331,7 @@ EOAPI void evas_canvas_pointer_output_xy_get(const Eo *obj, int *x, int *y);
*
* @ingroup Evas_Canvas
*/
EOAPI Efl_Canvas_Object *evas_canvas_object_bottom_get(const Eo *obj) EINA_WARN_UNUSED_RESULT;
EVAS_API EVAS_API_WEAK Efl_Canvas_Object *evas_canvas_object_bottom_get(const Eo *obj) EINA_WARN_UNUSED_RESULT;
/**
* @brief Returns a bitmask with the mouse buttons currently pressed, set to 1.
@ -343,7 +343,7 @@ EOAPI Efl_Canvas_Object *evas_canvas_object_bottom_get(const Eo *obj) EINA_WARN_
*
* @ingroup Evas_Canvas
*/
EOAPI unsigned int evas_canvas_pointer_button_down_mask_by_device_get(const Eo *obj, Evas_Device *dev);
EVAS_API EVAS_API_WEAK unsigned int evas_canvas_pointer_button_down_mask_by_device_get(const Eo *obj, Evas_Device *dev);
/**
* @brief Returns a bitmask with the default mouse buttons currently pressed,
@ -369,7 +369,7 @@ EOAPI unsigned int evas_canvas_pointer_button_down_mask_by_device_get(const Eo *
*
* @ingroup Evas_Canvas
*/
EOAPI unsigned int evas_canvas_pointer_button_down_mask_get(const Eo *obj) EINA_WARN_UNUSED_RESULT;
EVAS_API EVAS_API_WEAK unsigned int evas_canvas_pointer_button_down_mask_get(const Eo *obj) EINA_WARN_UNUSED_RESULT;
/**
* @brief Retrieve a list of Evas objects lying over a given position in a
@ -389,7 +389,7 @@ EOAPI unsigned int evas_canvas_pointer_button_down_mask_get(const Eo *obj) EINA_
*
* @ingroup Evas_Canvas
*/
EOAPI Eina_List *evas_canvas_tree_objects_at_xy_get(Eo *obj, Efl_Canvas_Object *stop, int x, int y) EINA_WARN_UNUSED_RESULT;
EVAS_API EVAS_API_WEAK Eina_List *evas_canvas_tree_objects_at_xy_get(Eo *obj, Efl_Canvas_Object *stop, int x, int y) EINA_WARN_UNUSED_RESULT;
/**
* @brief Enables or turns on programmatically the lock key with name
@ -407,7 +407,7 @@ EOAPI Eina_List *evas_canvas_tree_objects_at_xy_get(Eo *obj, Efl_Canvas_Object *
*
* @ingroup Evas_Canvas
*/
EOAPI void evas_canvas_key_lock_on(Eo *obj, const char *keyname) EINA_ARG_NONNULL(2);
EVAS_API EVAS_API_WEAK void evas_canvas_key_lock_on(Eo *obj, const char *keyname) EINA_ARG_NONNULL(2);
/**
* @brief Enables or turns on programmatically the lock key with name
@ -429,7 +429,7 @@ EOAPI void evas_canvas_key_lock_on(Eo *obj, const char *keyname) EINA_ARG_NONNUL
*
* @ingroup Evas_Canvas
*/
EOAPI void evas_canvas_seat_key_lock_on(Eo *obj, const char *keyname, Evas_Device *seat) EINA_ARG_NONNULL(2);
EVAS_API EVAS_API_WEAK void evas_canvas_seat_key_lock_on(Eo *obj, const char *keyname, Evas_Device *seat) EINA_ARG_NONNULL(2);
/**
* @brief Disables or turns off programmatically the lock key with name
@ -450,7 +450,7 @@ EOAPI void evas_canvas_seat_key_lock_on(Eo *obj, const char *keyname, Evas_Devic
*
* @ingroup Evas_Canvas
*/
EOAPI void evas_canvas_seat_key_lock_off(Eo *obj, const char *keyname, Evas_Device *seat) EINA_ARG_NONNULL(2);
EVAS_API EVAS_API_WEAK void evas_canvas_seat_key_lock_off(Eo *obj, const char *keyname, Evas_Device *seat) EINA_ARG_NONNULL(2);
/**
* @brief Adds the @c keyname key to the current list of modifier keys.
@ -476,7 +476,7 @@ EOAPI void evas_canvas_seat_key_lock_off(Eo *obj, const char *keyname, Evas_Devi
*
* @ingroup Evas_Canvas
*/
EOAPI void evas_canvas_key_modifier_add(Eo *obj, const char *keyname) EINA_ARG_NONNULL(2);
EVAS_API EVAS_API_WEAK void evas_canvas_key_modifier_add(Eo *obj, const char *keyname) EINA_ARG_NONNULL(2);
/**
* @brief Disables or turns off programmatically the modifier key with name
@ -492,7 +492,7 @@ EOAPI void evas_canvas_key_modifier_add(Eo *obj, const char *keyname) EINA_ARG_N
*
* @ingroup Evas_Canvas
*/
EOAPI void evas_canvas_key_modifier_off(Eo *obj, const char *keyname) EINA_ARG_NONNULL(2);
EVAS_API EVAS_API_WEAK void evas_canvas_key_modifier_off(Eo *obj, const char *keyname) EINA_ARG_NONNULL(2);
/**
* @brief Render the given Evas canvas asynchronously.
@ -517,13 +517,13 @@ EOAPI void evas_canvas_key_modifier_off(Eo *obj, const char *keyname) EINA_ARG_N
*
* @ingroup Evas_Canvas
*/
EOAPI Eina_Bool evas_canvas_render_async(Eo *obj);
EVAS_API EVAS_API_WEAK Eina_Bool evas_canvas_render_async(Eo *obj);
/** Inform the evas that it lost the focus from the default seat.
*
* @ingroup Evas_Canvas
*/
EOAPI void evas_canvas_focus_out(Eo *obj);
EVAS_API EVAS_API_WEAK void evas_canvas_focus_out(Eo *obj);
/**
* @brief Update the canvas internal objects but not triggering immediate
@ -536,7 +536,7 @@ EOAPI void evas_canvas_focus_out(Eo *obj);
*
* @ingroup Evas_Canvas
*/
EOAPI void evas_canvas_norender(Eo *obj);
EVAS_API EVAS_API_WEAK void evas_canvas_norender(Eo *obj);
/**
* @brief Pop the nochange flag down 1.
@ -550,7 +550,7 @@ EOAPI void evas_canvas_norender(Eo *obj);
*
* @ingroup Evas_Canvas
*/
EOAPI void evas_canvas_nochange_pop(Eo *obj);
EVAS_API EVAS_API_WEAK void evas_canvas_nochange_pop(Eo *obj);
/**
* @brief Disables or turns off programmatically the lock key with name
@ -567,7 +567,7 @@ EOAPI void evas_canvas_nochange_pop(Eo *obj);
*
* @ingroup Evas_Canvas
*/
EOAPI void evas_canvas_key_lock_off(Eo *obj, const char *keyname) EINA_ARG_NONNULL(2);
EVAS_API EVAS_API_WEAK void evas_canvas_key_lock_off(Eo *obj, const char *keyname) EINA_ARG_NONNULL(2);
/**
* @brief Push the nochange flag up 1
@ -581,13 +581,13 @@ EOAPI void evas_canvas_key_lock_off(Eo *obj, const char *keyname) EINA_ARG_NONNU
*
* @ingroup Evas_Canvas
*/
EOAPI void evas_canvas_nochange_push(Eo *obj);
EVAS_API EVAS_API_WEAK void evas_canvas_nochange_push(Eo *obj);
/** Force the given evas and associated engine to flush its font cache.
*
* @ingroup Evas_Canvas
*/
EOAPI void evas_canvas_font_cache_flush(Eo *obj);
EVAS_API EVAS_API_WEAK void evas_canvas_font_cache_flush(Eo *obj);
/**
* @brief Enables or turns on programmatically the modifier key with name
@ -605,7 +605,7 @@ EOAPI void evas_canvas_font_cache_flush(Eo *obj);
*
* @ingroup Evas_Canvas
*/
EOAPI void evas_canvas_key_modifier_on(Eo *obj, const char *keyname) EINA_ARG_NONNULL(2);
EVAS_API EVAS_API_WEAK void evas_canvas_key_modifier_on(Eo *obj, const char *keyname) EINA_ARG_NONNULL(2);
/**
* @brief Enables or turns on programmatically the modifier key with name
@ -627,7 +627,7 @@ EOAPI void evas_canvas_key_modifier_on(Eo *obj, const char *keyname) EINA_ARG_NO
*
* @ingroup Evas_Canvas
*/
EOAPI void evas_canvas_seat_key_modifier_on(Eo *obj, const char *keyname, Evas_Device *seat) EINA_ARG_NONNULL(2);
EVAS_API EVAS_API_WEAK void evas_canvas_seat_key_modifier_on(Eo *obj, const char *keyname, Evas_Device *seat) EINA_ARG_NONNULL(2);
/**
* @brief Disables or turns off programmatically the modifier key with name
@ -647,7 +647,7 @@ EOAPI void evas_canvas_seat_key_modifier_on(Eo *obj, const char *keyname, Evas_D
*
* @ingroup Evas_Canvas
*/
EOAPI void evas_canvas_seat_key_modifier_off(Eo *obj, const char *keyname, Evas_Device *seat) EINA_ARG_NONNULL(2);
EVAS_API EVAS_API_WEAK void evas_canvas_seat_key_modifier_off(Eo *obj, const char *keyname, Evas_Device *seat) EINA_ARG_NONNULL(2);
/**
* @brief List of available font descriptions known or found by this evas.
@ -663,7 +663,7 @@ EOAPI void evas_canvas_seat_key_modifier_off(Eo *obj, const char *keyname, Evas_
*
* @ingroup Evas_Canvas
*/
EOAPI Eina_List *evas_canvas_font_available_list(const Eo *obj) EINA_WARN_UNUSED_RESULT;
EVAS_API EVAS_API_WEAK Eina_List *evas_canvas_font_available_list(const Eo *obj) EINA_WARN_UNUSED_RESULT;
/**
* @brief Retrieves the object on the given evas with the given name.
@ -681,7 +681,7 @@ EOAPI Eina_List *evas_canvas_font_available_list(const Eo *obj) EINA_WARN_UNUSED
*
* @ingroup Evas_Canvas
*/
EOAPI Efl_Canvas_Object *evas_canvas_object_name_find(const Eo *obj, const char *name) EINA_WARN_UNUSED_RESULT;
EVAS_API EVAS_API_WEAK Efl_Canvas_Object *evas_canvas_object_name_find(const Eo *obj, const char *name) EINA_WARN_UNUSED_RESULT;
/**
* @brief Appends a font path to the list of font paths used by the given evas.
@ -691,13 +691,13 @@ EOAPI Efl_Canvas_Object *evas_canvas_object_name_find(const Eo *obj, const char
*
* @ingroup Evas_Canvas
*/
EOAPI void evas_canvas_font_path_append(Eo *obj, const char *path) EINA_ARG_NONNULL(2);
EVAS_API EVAS_API_WEAK void evas_canvas_font_path_append(Eo *obj, const char *path) EINA_ARG_NONNULL(2);
/** Removes all font paths loaded into memory for the given evas.
*
* @ingroup Evas_Canvas
*/
EOAPI void evas_canvas_font_path_clear(Eo *obj);
EVAS_API EVAS_API_WEAK void evas_canvas_font_path_clear(Eo *obj);
/**
* @brief This function returns the nth touch point's coordinates.
@ -712,7 +712,7 @@ EOAPI void evas_canvas_font_path_clear(Eo *obj);
*
* @ingroup Evas_Canvas
*/
EOAPI void evas_canvas_touch_point_list_nth_xy_get(Eo *obj, unsigned int n, double *x, double *y);
EVAS_API EVAS_API_WEAK void evas_canvas_touch_point_list_nth_xy_get(Eo *obj, unsigned int n, double *x, double *y);
/**
* @brief Removes the @c keyname key from the current list of lock keys on
@ -723,7 +723,7 @@ EOAPI void evas_canvas_touch_point_list_nth_xy_get(Eo *obj, unsigned int n, doub
*
* @ingroup Evas_Canvas
*/
EOAPI void evas_canvas_key_lock_del(Eo *obj, const char *keyname) EINA_ARG_NONNULL(2);
EVAS_API EVAS_API_WEAK void evas_canvas_key_lock_del(Eo *obj, const char *keyname) EINA_ARG_NONNULL(2);
/**
* @brief Add a damage rectangle.
@ -742,13 +742,13 @@ EOAPI void evas_canvas_key_lock_del(Eo *obj, const char *keyname) EINA_ARG_NONNU
*
* @ingroup Evas_Canvas
*/
EOAPI void evas_canvas_damage_rectangle_add(Eo *obj, int x, int y, int w, int h);
EVAS_API EVAS_API_WEAK void evas_canvas_damage_rectangle_add(Eo *obj, int x, int y, int w, int h);
/** Sync evas canvas
*
* @ingroup Evas_Canvas
*/
EOAPI void evas_canvas_sync(Eo *obj);
EVAS_API EVAS_API_WEAK void evas_canvas_sync(Eo *obj);
/**
* @brief Retrieves the list of font paths used by the given evas.
@ -759,7 +759,7 @@ EOAPI void evas_canvas_sync(Eo *obj);
*
* @ingroup Evas_Canvas
*/
EOAPI const Eina_List *evas_canvas_font_path_list(const Eo *obj) EINA_WARN_UNUSED_RESULT;
EVAS_API EVAS_API_WEAK const Eina_List *evas_canvas_font_path_list(const Eo *obj) EINA_WARN_UNUSED_RESULT;
/**
* @brief Reload the image cache.
@ -769,7 +769,7 @@ EOAPI const Eina_List *evas_canvas_font_path_list(const Eo *obj) EINA_WARN_UNUSE
*
* @ingroup Evas_Canvas
*/
EOAPI void evas_canvas_image_cache_reload(Eo *obj);
EVAS_API EVAS_API_WEAK void evas_canvas_image_cache_reload(Eo *obj);
/**
* @brief Convert/scale a canvas coordinate into output screen coordinates.
@ -786,7 +786,7 @@ EOAPI void evas_canvas_image_cache_reload(Eo *obj);
*
* @ingroup Evas_Canvas
*/
EOAPI int evas_canvas_coord_world_x_to_screen(const Eo *obj, int x) EINA_WARN_UNUSED_RESULT;
EVAS_API EVAS_API_WEAK int evas_canvas_coord_world_x_to_screen(const Eo *obj, int x) EINA_WARN_UNUSED_RESULT;
/**
* @brief Force immediate renderization of the given Evas canvas.
@ -810,7 +810,7 @@ EOAPI int evas_canvas_coord_world_x_to_screen(const Eo *obj, int x) EINA_WARN_UN
*
* @ingroup Evas_Canvas
*/
EOAPI Eina_List *evas_canvas_render_updates(Eo *obj) EINA_WARN_UNUSED_RESULT;
EVAS_API EVAS_API_WEAK Eina_List *evas_canvas_render_updates(Eo *obj) EINA_WARN_UNUSED_RESULT;
/**
* @brief Flush the image cache of the canvas.
@ -820,7 +820,7 @@ EOAPI Eina_List *evas_canvas_render_updates(Eo *obj) EINA_WARN_UNUSED_RESULT;
*
* @ingroup Evas_Canvas
*/
EOAPI void evas_canvas_image_cache_flush(Eo *obj);
EVAS_API EVAS_API_WEAK void evas_canvas_image_cache_flush(Eo *obj);
/**
* @brief Convert/scale an output screen coordinate into canvas coordinates.
@ -837,7 +837,7 @@ EOAPI void evas_canvas_image_cache_flush(Eo *obj);
*
* @ingroup Evas_Canvas
*/
EOAPI int evas_canvas_coord_screen_y_to_world(const Eo *obj, int y) EINA_WARN_UNUSED_RESULT;
EVAS_API EVAS_API_WEAK int evas_canvas_coord_screen_y_to_world(const Eo *obj, int y) EINA_WARN_UNUSED_RESULT;
/**
* @brief Removes the @c keyname key from the current list of modifier keys on
@ -850,13 +850,13 @@ EOAPI int evas_canvas_coord_screen_y_to_world(const Eo *obj, int y) EINA_WARN_UN
*
* @ingroup Evas_Canvas
*/
EOAPI void evas_canvas_key_modifier_del(Eo *obj, const char *keyname) EINA_ARG_NONNULL(2);
EVAS_API EVAS_API_WEAK void evas_canvas_key_modifier_del(Eo *obj, const char *keyname) EINA_ARG_NONNULL(2);
/** Inform to the evas that it got the focus from the default seat.
*
* @ingroup Evas_Canvas
*/
EOAPI void evas_canvas_focus_in(Eo *obj);
EVAS_API EVAS_API_WEAK void evas_canvas_focus_in(Eo *obj);
/**
* @brief Inform to the evas that it got the focus from a given seat.
@ -868,7 +868,7 @@ EOAPI void evas_canvas_focus_in(Eo *obj);
*
* @ingroup Evas_Canvas
*/
EOAPI void evas_canvas_seat_focus_in(Eo *obj, Evas_Device *seat);
EVAS_API EVAS_API_WEAK void evas_canvas_seat_focus_in(Eo *obj, Evas_Device *seat);
/**
* @brief Inform to the evas that it lost the focus from a given seat.
@ -880,7 +880,7 @@ EOAPI void evas_canvas_seat_focus_in(Eo *obj, Evas_Device *seat);
*
* @ingroup Evas_Canvas
*/
EOAPI void evas_canvas_seat_focus_out(Eo *obj, Evas_Device *seat);
EVAS_API EVAS_API_WEAK void evas_canvas_seat_focus_out(Eo *obj, Evas_Device *seat);
/**
* @brief Add an "obscured region" to an Evas canvas.
@ -921,7 +921,7 @@ EOAPI void evas_canvas_seat_focus_out(Eo *obj, Evas_Device *seat);
*
* @ingroup Evas_Canvas
*/
EOAPI void evas_canvas_obscured_rectangle_add(Eo *obj, int x, int y, int w, int h);
EVAS_API EVAS_API_WEAK void evas_canvas_obscured_rectangle_add(Eo *obj, int x, int y, int w, int h);
/**
* @brief Make the canvas discard as much data as possible used by the engine
@ -936,13 +936,13 @@ EOAPI void evas_canvas_obscured_rectangle_add(Eo *obj, int x, int y, int w, int
*
* @ingroup Evas_Canvas
*/
EOAPI void evas_canvas_render_dump(Eo *obj);
EVAS_API EVAS_API_WEAK void evas_canvas_render_dump(Eo *obj);
/** Force renderization of the given canvas.
*
* @ingroup Evas_Canvas
*/
EOAPI void evas_canvas_render(Eo *obj);
EVAS_API EVAS_API_WEAK void evas_canvas_render(Eo *obj);
/**
* @brief Prepends a font path to the list of font paths used by the given
@ -953,7 +953,7 @@ EOAPI void evas_canvas_render(Eo *obj);
*
* @ingroup Evas_Canvas
*/
EOAPI void evas_canvas_font_path_prepend(Eo *obj, const char *path) EINA_ARG_NONNULL(2);
EVAS_API EVAS_API_WEAK void evas_canvas_font_path_prepend(Eo *obj, const char *path) EINA_ARG_NONNULL(2);
/**
* @brief Remove all "obscured regions" from an Evas canvas.
@ -973,7 +973,7 @@ EOAPI void evas_canvas_font_path_prepend(Eo *obj, const char *path) EINA_ARG_NON
*
* @ingroup Evas_Canvas
*/
EOAPI void evas_canvas_obscured_clear(Eo *obj);
EVAS_API EVAS_API_WEAK void evas_canvas_obscured_clear(Eo *obj);
/**
* @brief Convert/scale an output screen coordinate into canvas coordinates.
@ -990,7 +990,7 @@ EOAPI void evas_canvas_obscured_clear(Eo *obj);
*
* @ingroup Evas_Canvas
*/
EOAPI int evas_canvas_coord_screen_x_to_world(const Eo *obj, int x) EINA_WARN_UNUSED_RESULT;
EVAS_API EVAS_API_WEAK int evas_canvas_coord_screen_x_to_world(const Eo *obj, int x) EINA_WARN_UNUSED_RESULT;
/**
* @brief Adds the @c keyname key to the current list of lock keys.
@ -1016,7 +1016,7 @@ EOAPI int evas_canvas_coord_screen_x_to_world(const Eo *obj, int x) EINA_WARN_UN
*
* @ingroup Evas_Canvas
*/
EOAPI void evas_canvas_key_lock_add(Eo *obj, const char *keyname) EINA_ARG_NONNULL(2);
EVAS_API EVAS_API_WEAK void evas_canvas_key_lock_add(Eo *obj, const char *keyname) EINA_ARG_NONNULL(2);
/**
* @brief Make the canvas discard internally cached data used for rendering.
@ -1028,7 +1028,7 @@ EOAPI void evas_canvas_key_lock_add(Eo *obj, const char *keyname) EINA_ARG_NONNU
*
* @ingroup Evas_Canvas
*/
EOAPI void evas_canvas_render_idle_flush(Eo *obj);
EVAS_API EVAS_API_WEAK void evas_canvas_render_idle_flush(Eo *obj);
/**
* @brief Return the default device of a given type.
@ -1044,7 +1044,7 @@ EOAPI void evas_canvas_render_idle_flush(Eo *obj);
*
* @ingroup Evas_Canvas
*/
EOAPI Evas_Device *evas_canvas_default_device_get(const Eo *obj, Evas_Device_Class type);
EVAS_API EVAS_API_WEAK Evas_Device *evas_canvas_default_device_get(const Eo *obj, Evas_Device_Class type);
/**
* @brief Convert/scale a canvas coordinate into output screen coordinates.
@ -1061,6 +1061,6 @@ EOAPI Evas_Device *evas_canvas_default_device_get(const Eo *obj, Evas_Device_Cla
*
* @ingroup Evas_Canvas
*/
EOAPI int evas_canvas_coord_world_y_to_screen(const Eo *obj, int y) EINA_WARN_UNUSED_RESULT;
EVAS_API EVAS_API_WEAK int evas_canvas_coord_world_y_to_screen(const Eo *obj, int y) EINA_WARN_UNUSED_RESULT;
#endif

View File

@ -1,383 +1,383 @@
EAPI void
EVAS_API void
evas_image_cache_set(Evas_Canvas *obj, int size)
{
evas_canvas_image_cache_set(obj, size);
}
EAPI int
EVAS_API int
evas_image_cache_get(const Evas_Canvas *obj)
{
return evas_canvas_image_cache_get(obj);
}
EAPI void
EVAS_API void
evas_event_default_flags_set(Evas_Canvas *obj, Evas_Event_Flags flags)
{
evas_canvas_event_default_flags_set(obj, flags);
}
EAPI Evas_Event_Flags
EVAS_API Evas_Event_Flags
evas_event_default_flags_get(const Evas_Canvas *obj)
{
return (Evas_Event_Flags)evas_canvas_event_default_flags_get(obj);
}
EAPI void
EVAS_API void
evas_font_cache_set(Evas_Canvas *obj, int size)
{
evas_canvas_font_cache_set(obj, size);
}
EAPI int
EVAS_API int
evas_font_cache_get(const Evas_Canvas *obj)
{
return evas_canvas_font_cache_get(obj);
}
EAPI void
EVAS_API void
evas_data_attach_set(Evas_Canvas *obj, void *data)
{
evas_canvas_data_attach_set(obj, data);
}
EAPI void *
EVAS_API void *
evas_data_attach_get(const Evas_Canvas *obj)
{
return evas_canvas_data_attach_get(obj);
}
EAPI Efl_Canvas_Object *
EVAS_API Efl_Canvas_Object *
evas_focus_get(const Evas_Canvas *obj)
{
return evas_canvas_focus_get(obj);
}
EAPI Efl_Canvas_Object *
EVAS_API Efl_Canvas_Object *
evas_seat_focus_get(const Evas_Canvas *obj, Evas_Device *seat)
{
return evas_canvas_seat_focus_get(obj, seat);
}
EAPI Efl_Canvas_Object *
EVAS_API Efl_Canvas_Object *
evas_object_top_get(const Evas_Canvas *obj)
{
return evas_canvas_object_top_get(obj);
}
EAPI void
EVAS_API void
evas_pointer_canvas_xy_by_device_get(const Evas_Canvas *obj, Evas_Device *dev, int *x, int *y)
{
evas_canvas_pointer_canvas_xy_by_device_get(obj, dev, x, y);
}
EAPI void
EVAS_API void
evas_pointer_canvas_xy_get(const Evas_Canvas *obj, int *x, int *y)
{
evas_canvas_pointer_canvas_xy_get(obj, x, y);
}
EAPI int
EVAS_API int
evas_event_down_count_get(const Evas_Canvas *obj)
{
return evas_canvas_event_down_count_get(obj);
}
EAPI int
EVAS_API int
evas_smart_objects_calculate_count_get(const Evas_Canvas *obj)
{
return evas_canvas_smart_objects_calculate_count_get(obj);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_focus_state_get(const Evas_Canvas *obj)
{
return evas_canvas_focus_state_get(obj);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_seat_focus_state_get(const Evas_Canvas *obj, Evas_Device *seat)
{
return evas_canvas_seat_focus_state_get(obj, seat);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_changed_get(const Evas_Canvas *obj)
{
return evas_canvas_changed_get(obj);
}
EAPI void
EVAS_API void
evas_pointer_output_xy_by_device_get(const Evas_Canvas *obj, Evas_Device *dev, int *x, int *y)
{
evas_canvas_pointer_output_xy_by_device_get(obj, dev, x, y);
}
EAPI void
EVAS_API void
evas_pointer_output_xy_get(const Evas_Canvas *obj, int *x, int *y)
{
evas_canvas_pointer_output_xy_get(obj, x, y);
}
EAPI Efl_Canvas_Object *
EVAS_API Efl_Canvas_Object *
evas_object_bottom_get(const Evas_Canvas *obj)
{
return evas_canvas_object_bottom_get(obj);
}
EAPI unsigned int
EVAS_API unsigned int
evas_pointer_button_down_mask_by_device_get(const Evas_Canvas *obj, Evas_Device *dev)
{
return evas_canvas_pointer_button_down_mask_by_device_get(obj, dev);
}
EAPI unsigned int
EVAS_API unsigned int
evas_pointer_button_down_mask_get(const Evas_Canvas *obj)
{
return evas_canvas_pointer_button_down_mask_get(obj);
}
EAPI Eina_List *
EVAS_API Eina_List *
evas_tree_objects_at_xy_get(Evas_Canvas *obj, Efl_Canvas_Object *stop, int x, int y)
{
return evas_canvas_tree_objects_at_xy_get(obj, stop, x, y);
}
EAPI void
EVAS_API void
evas_key_lock_on(Evas_Canvas *obj, const char *keyname)
{
evas_canvas_key_lock_on(obj, keyname);
}
EAPI void
EVAS_API void
evas_seat_key_lock_on(Evas_Canvas *obj, const char *keyname, Evas_Device *seat)
{
evas_canvas_seat_key_lock_on(obj, keyname, seat);
}
EAPI void
EVAS_API void
evas_seat_key_lock_off(Evas_Canvas *obj, const char *keyname, Evas_Device *seat)
{
evas_canvas_seat_key_lock_off(obj, keyname, seat);
}
EAPI void
EVAS_API void
evas_key_modifier_add(Evas_Canvas *obj, const char *keyname)
{
evas_canvas_key_modifier_add(obj, keyname);
}
EAPI void
EVAS_API void
evas_key_modifier_off(Evas_Canvas *obj, const char *keyname)
{
evas_canvas_key_modifier_off(obj, keyname);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_render_async(Evas_Canvas *obj)
{
return evas_canvas_render_async(obj);
}
EAPI void
EVAS_API void
evas_focus_out(Evas_Canvas *obj)
{
evas_canvas_focus_out(obj);
}
EAPI void
EVAS_API void
evas_norender(Evas_Canvas *obj)
{
evas_canvas_norender(obj);
}
EAPI void
EVAS_API void
evas_nochange_pop(Evas_Canvas *obj)
{
evas_canvas_nochange_pop(obj);
}
EAPI void
EVAS_API void
evas_key_lock_off(Evas_Canvas *obj, const char *keyname)
{
evas_canvas_key_lock_off(obj, keyname);
}
EAPI void
EVAS_API void
evas_nochange_push(Evas_Canvas *obj)
{
evas_canvas_nochange_push(obj);
}
EAPI void
EVAS_API void
evas_font_cache_flush(Evas_Canvas *obj)
{
evas_canvas_font_cache_flush(obj);
}
EAPI void
EVAS_API void
evas_key_modifier_on(Evas_Canvas *obj, const char *keyname)
{
evas_canvas_key_modifier_on(obj, keyname);
}
EAPI void
EVAS_API void
evas_seat_key_modifier_on(Evas_Canvas *obj, const char *keyname, Evas_Device *seat)
{
evas_canvas_seat_key_modifier_on(obj, keyname, seat);
}
EAPI void
EVAS_API void
evas_seat_key_modifier_off(Evas_Canvas *obj, const char *keyname, Evas_Device *seat)
{
evas_canvas_seat_key_modifier_off(obj, keyname, seat);
}
EAPI Eina_List *
EVAS_API Eina_List *
evas_font_available_list(const Evas_Canvas *obj)
{
return evas_canvas_font_available_list(obj);
}
EAPI Efl_Canvas_Object *
EVAS_API Efl_Canvas_Object *
evas_object_name_find(const Evas_Canvas *obj, const char *name)
{
return evas_canvas_object_name_find(obj, name);
}
EAPI void
EVAS_API void
evas_font_path_append(Evas_Canvas *obj, const char *path)
{
evas_canvas_font_path_append(obj, path);
}
EAPI void
EVAS_API void
evas_font_path_clear(Evas_Canvas *obj)
{
evas_canvas_font_path_clear(obj);
}
EAPI void
EVAS_API void
evas_key_lock_del(Evas_Canvas *obj, const char *keyname)
{
evas_canvas_key_lock_del(obj, keyname);
}
EAPI void
EVAS_API void
evas_damage_rectangle_add(Evas_Canvas *obj, int x, int y, int w, int h)
{
evas_canvas_damage_rectangle_add(obj, x, y, w, h);
}
EAPI void
EVAS_API void
evas_sync(Evas_Canvas *obj)
{
evas_canvas_sync(obj);
}
EAPI const Eina_List *
EVAS_API const Eina_List *
evas_font_path_list(const Evas_Canvas *obj)
{
return evas_canvas_font_path_list(obj);
}
EAPI void
EVAS_API void
evas_image_cache_reload(Evas_Canvas *obj)
{
evas_canvas_image_cache_reload(obj);
}
EAPI int
EVAS_API int
evas_coord_world_x_to_screen(const Evas_Canvas *obj, int x)
{
return evas_canvas_coord_world_x_to_screen(obj, x);
}
EAPI Eina_List *
EVAS_API Eina_List *
evas_render_updates(Evas_Canvas *obj)
{
return evas_canvas_render_updates(obj);
}
EAPI void
EVAS_API void
evas_image_cache_flush(Evas_Canvas *obj)
{
evas_canvas_image_cache_flush(obj);
}
EAPI int
EVAS_API int
evas_coord_screen_y_to_world(const Evas_Canvas *obj, int y)
{
return evas_canvas_coord_screen_y_to_world(obj, y);
}
EAPI void
EVAS_API void
evas_key_modifier_del(Evas_Canvas *obj, const char *keyname)
{
evas_canvas_key_modifier_del(obj, keyname);
}
EAPI void
EVAS_API void
evas_focus_in(Evas_Canvas *obj)
{
evas_canvas_focus_in(obj);
}
EAPI void
EVAS_API void
evas_obscured_rectangle_add(Evas_Canvas *obj, int x, int y, int w, int h)
{
evas_canvas_obscured_rectangle_add(obj, x, y, w, h);
}
EAPI void
EVAS_API void
evas_render_dump(Evas_Canvas *obj)
{
evas_canvas_render_dump(obj);
}
EAPI void
EVAS_API void
evas_render(Evas_Canvas *obj)
{
evas_canvas_render(obj);
}
EAPI void
EVAS_API void
evas_font_path_prepend(Evas_Canvas *obj, const char *path)
{
evas_canvas_font_path_prepend(obj, path);
}
EAPI void
EVAS_API void
evas_obscured_clear(Evas_Canvas *obj)
{
evas_canvas_obscured_clear(obj);
}
EAPI int
EVAS_API int
evas_coord_screen_x_to_world(const Evas_Canvas *obj, int x)
{
return evas_canvas_coord_screen_x_to_world(obj, x);
}
EAPI void
EVAS_API void
evas_key_lock_add(Evas_Canvas *obj, const char *keyname)
{
evas_canvas_key_lock_add(obj, keyname);
}
EAPI void
EVAS_API void
evas_render_idle_flush(Evas_Canvas *obj)
{
evas_canvas_render_idle_flush(obj);
}
EAPI Evas_Device *
EVAS_API Evas_Device *
evas_default_device_get(const Evas_Canvas *obj, Evas_Device_Class type)
{
return evas_canvas_default_device_get(obj, type);
}
EAPI int
EVAS_API int
evas_coord_world_y_to_screen(const Evas_Canvas *obj, int y)
{
return evas_canvas_coord_world_y_to_screen(obj, y);

View File

@ -24,7 +24,7 @@ typedef Eo Evas_Canvas;
*
* @ingroup Evas_Canvas
*/
EAPI void evas_image_cache_set(Evas_Canvas *obj, int size);
EVAS_API void evas_image_cache_set(Evas_Canvas *obj, int size);
/**
* @brief Get the image cache.
@ -37,7 +37,7 @@ EAPI void evas_image_cache_set(Evas_Canvas *obj, int size);
*
* @ingroup Evas_Canvas
*/
EAPI int evas_image_cache_get(const Evas_Canvas *obj);
EVAS_API int evas_image_cache_get(const Evas_Canvas *obj);
/**
* @brief Set the default set of flags an event begins with
@ -53,7 +53,7 @@ EAPI int evas_image_cache_get(const Evas_Canvas *obj);
*
* @ingroup Evas_Canvas
*/
EAPI void evas_event_default_flags_set(Evas_Canvas *obj, Evas_Event_Flags flags);
EVAS_API void evas_event_default_flags_set(Evas_Canvas *obj, Evas_Event_Flags flags);
/**
* @brief Get the default set of flags an event begins with
@ -68,7 +68,7 @@ EAPI void evas_event_default_flags_set(Evas_Canvas *obj, Evas_Event_Flags flags)
*
* @ingroup Evas_Canvas
*/
EAPI Evas_Event_Flags evas_event_default_flags_get(const Evas_Canvas *obj);
EVAS_API Evas_Event_Flags evas_event_default_flags_get(const Evas_Canvas *obj);
/**
* @brief Changes the size of font cache of the given evas.
@ -78,7 +78,7 @@ EAPI Evas_Event_Flags evas_event_default_flags_get(const Evas_Canvas *obj);
*
* @ingroup Evas_Canvas
*/
EAPI void evas_font_cache_set(Evas_Canvas *obj, int size);
EVAS_API void evas_font_cache_set(Evas_Canvas *obj, int size);
/**
* @brief Get the size of font cache of the given evas in bytes.
@ -89,7 +89,7 @@ EAPI void evas_font_cache_set(Evas_Canvas *obj, int size);
*
* @ingroup Evas_Canvas
*/
EAPI int evas_font_cache_get(const Evas_Canvas *obj);
EVAS_API int evas_font_cache_get(const Evas_Canvas *obj);
/**
* @brief Attaches a specific pointer to the evas for fetching later.
@ -99,7 +99,7 @@ EAPI int evas_font_cache_get(const Evas_Canvas *obj);
*
* @ingroup Evas_Canvas
*/
EAPI void evas_data_attach_set(Evas_Canvas *obj, void *data);
EVAS_API void evas_data_attach_set(Evas_Canvas *obj, void *data);
/**
* @brief Returns the pointer attached by @ref evas_data_attach_set.
@ -110,7 +110,7 @@ EAPI void evas_data_attach_set(Evas_Canvas *obj, void *data);
*
* @ingroup Evas_Canvas
*/
EAPI void *evas_data_attach_get(const Evas_Canvas *obj);
EVAS_API void *evas_data_attach_get(const Evas_Canvas *obj);
/**
* @brief Retrieve the object focused by the default seat.
@ -135,7 +135,7 @@ EAPI void *evas_data_attach_get(const Evas_Canvas *obj);
*
* @ingroup Evas_Canvas
*/
EAPI Efl_Canvas_Object *evas_focus_get(const Evas_Canvas *obj) EINA_WARN_UNUSED_RESULT;
EVAS_API Efl_Canvas_Object *evas_focus_get(const Evas_Canvas *obj) EINA_WARN_UNUSED_RESULT;
/**
* @brief Return the focused object by a given seat.
@ -151,7 +151,7 @@ EAPI Efl_Canvas_Object *evas_focus_get(const Evas_Canvas *obj) EINA_WARN_UNUSED_
*
* @ingroup Evas_Canvas
*/
EAPI Efl_Canvas_Object *evas_seat_focus_get(const Evas_Canvas *obj, Evas_Device *seat);
EVAS_API Efl_Canvas_Object *evas_seat_focus_get(const Evas_Canvas *obj, Evas_Device *seat);
/**
* @brief Get the highest (stacked) Evas object on the canvas @c e.
@ -171,7 +171,7 @@ EAPI Efl_Canvas_Object *evas_seat_focus_get(const Evas_Canvas *obj, Evas_Device
*
* @ingroup Evas_Canvas
*/
EAPI Efl_Canvas_Object *evas_object_top_get(const Evas_Canvas *obj) EINA_WARN_UNUSED_RESULT;
EVAS_API Efl_Canvas_Object *evas_object_top_get(const Evas_Canvas *obj) EINA_WARN_UNUSED_RESULT;
/**
* @brief This function returns the current known default pointer coordinates.
@ -185,7 +185,7 @@ EAPI Efl_Canvas_Object *evas_object_top_get(const Evas_Canvas *obj) EINA_WARN_UN
*
* @ingroup Evas_Canvas
*/
EAPI void evas_pointer_canvas_xy_by_device_get(const Evas_Canvas *obj, Evas_Device *dev, int *x, int *y);
EVAS_API void evas_pointer_canvas_xy_by_device_get(const Evas_Canvas *obj, Evas_Device *dev, int *x, int *y);
/**
* @brief This function returns the current known default pointer coordinates
@ -201,7 +201,7 @@ EAPI void evas_pointer_canvas_xy_by_device_get(const Evas_Canvas *obj, Evas_Devi
*
* @ingroup Evas_Canvas
*/
EAPI void evas_pointer_canvas_xy_get(const Evas_Canvas *obj, int *x, int *y);
EVAS_API void evas_pointer_canvas_xy_get(const Evas_Canvas *obj, int *x, int *y);
/**
* @brief Get the number of mouse or multi presses currently active.
@ -214,7 +214,7 @@ EAPI void evas_pointer_canvas_xy_get(const Evas_Canvas *obj, int *x, int *y);
*
* @ingroup Evas_Canvas
*/
EAPI int evas_event_down_count_get(const Evas_Canvas *obj);
EVAS_API int evas_event_down_count_get(const Evas_Canvas *obj);
/**
* @brief This gets the internal counter that counts the number of smart
@ -236,7 +236,7 @@ EAPI int evas_event_down_count_get(const Evas_Canvas *obj);
*
* @ingroup Evas_Canvas
*/
EAPI int evas_smart_objects_calculate_count_get(const Evas_Canvas *obj);
EVAS_API int evas_smart_objects_calculate_count_get(const Evas_Canvas *obj);
/**
* @brief Get the focus state for the default seat.
@ -247,7 +247,7 @@ EAPI int evas_smart_objects_calculate_count_get(const Evas_Canvas *obj);
*
* @ingroup Evas_Canvas
*/
EAPI Eina_Bool evas_focus_state_get(const Evas_Canvas *obj);
EVAS_API Eina_Bool evas_focus_state_get(const Evas_Canvas *obj);
/**
* @brief Get the focus state by a given seat.
@ -260,7 +260,7 @@ EAPI Eina_Bool evas_focus_state_get(const Evas_Canvas *obj);
*
* @ingroup Evas_Canvas
*/
EAPI Eina_Bool evas_seat_focus_state_get(const Evas_Canvas *obj, Evas_Device *seat);
EVAS_API Eina_Bool evas_seat_focus_state_get(const Evas_Canvas *obj, Evas_Device *seat);
/**
* @brief Get the changed marker for the canvas.
@ -273,7 +273,7 @@ EAPI Eina_Bool evas_seat_focus_state_get(const Evas_Canvas *obj, Evas_Device *se
*
* @ingroup Evas_Canvas
*/
EAPI Eina_Bool evas_changed_get(const Evas_Canvas *obj);
EVAS_API Eina_Bool evas_changed_get(const Evas_Canvas *obj);
/**
* @brief This function returns the current known pointer coordinates.
@ -287,7 +287,7 @@ EAPI Eina_Bool evas_changed_get(const Evas_Canvas *obj);
*
* @ingroup Evas_Canvas
*/
EAPI void evas_pointer_output_xy_by_device_get(const Evas_Canvas *obj, Evas_Device *dev, int *x, int *y);
EVAS_API void evas_pointer_output_xy_by_device_get(const Evas_Canvas *obj, Evas_Device *dev, int *x, int *y);
/**
* @brief This function returns the current known default pointer coordinates.
@ -303,7 +303,7 @@ EAPI void evas_pointer_output_xy_by_device_get(const Evas_Canvas *obj, Evas_Devi
*
* @ingroup Evas_Canvas
*/
EAPI void evas_pointer_output_xy_get(const Evas_Canvas *obj, int *x, int *y);
EVAS_API void evas_pointer_output_xy_get(const Evas_Canvas *obj, int *x, int *y);
/**
* @brief Get the lowest (stacked) Evas object on the canvas @c e.
@ -323,7 +323,7 @@ EAPI void evas_pointer_output_xy_get(const Evas_Canvas *obj, int *x, int *y);
*
* @ingroup Evas_Canvas
*/
EAPI Efl_Canvas_Object *evas_object_bottom_get(const Evas_Canvas *obj) EINA_WARN_UNUSED_RESULT;
EVAS_API Efl_Canvas_Object *evas_object_bottom_get(const Evas_Canvas *obj) EINA_WARN_UNUSED_RESULT;
/**
* @brief Returns a bitmask with the mouse buttons currently pressed, set to 1.
@ -335,7 +335,7 @@ EAPI Efl_Canvas_Object *evas_object_bottom_get(const Evas_Canvas *obj) EINA_WARN
*
* @ingroup Evas_Canvas
*/
EAPI unsigned int evas_pointer_button_down_mask_by_device_get(const Evas_Canvas *obj, Evas_Device *dev);
EVAS_API unsigned int evas_pointer_button_down_mask_by_device_get(const Evas_Canvas *obj, Evas_Device *dev);
/**
* @brief Returns a bitmask with the default mouse buttons currently pressed,
@ -361,7 +361,7 @@ EAPI unsigned int evas_pointer_button_down_mask_by_device_get(const Evas_Canvas
*
* @ingroup Evas_Canvas
*/
EAPI unsigned int evas_pointer_button_down_mask_get(const Evas_Canvas *obj) EINA_WARN_UNUSED_RESULT;
EVAS_API unsigned int evas_pointer_button_down_mask_get(const Evas_Canvas *obj) EINA_WARN_UNUSED_RESULT;
/**
* @brief Retrieve a list of Evas objects lying over a given position in a
@ -381,7 +381,7 @@ EAPI unsigned int evas_pointer_button_down_mask_get(const Evas_Canvas *obj) EINA
*
* @ingroup Evas_Canvas
*/
EAPI Eina_List *evas_tree_objects_at_xy_get(Evas_Canvas *obj, Efl_Canvas_Object *stop, int x, int y) EINA_WARN_UNUSED_RESULT;
EVAS_API Eina_List *evas_tree_objects_at_xy_get(Evas_Canvas *obj, Efl_Canvas_Object *stop, int x, int y) EINA_WARN_UNUSED_RESULT;
/**
* @brief Enables or turns on programmatically the lock key with name
@ -399,7 +399,7 @@ EAPI Eina_List *evas_tree_objects_at_xy_get(Evas_Canvas *obj, Efl_Canvas_Object
*
* @ingroup Evas_Canvas
*/
EAPI void evas_key_lock_on(Evas_Canvas *obj, const char *keyname) EINA_ARG_NONNULL(2);
EVAS_API void evas_key_lock_on(Evas_Canvas *obj, const char *keyname) EINA_ARG_NONNULL(2);
/**
* @brief Enables or turns on programmatically the lock key with name
@ -421,7 +421,7 @@ EAPI void evas_key_lock_on(Evas_Canvas *obj, const char *keyname) EINA_ARG_NONNU
*
* @ingroup Evas_Canvas
*/
EAPI void evas_seat_key_lock_on(Evas_Canvas *obj, const char *keyname, Evas_Device *seat) EINA_ARG_NONNULL(2);
EVAS_API void evas_seat_key_lock_on(Evas_Canvas *obj, const char *keyname, Evas_Device *seat) EINA_ARG_NONNULL(2);
/**
* @brief Disables or turns off programmatically the lock key with name
@ -442,7 +442,7 @@ EAPI void evas_seat_key_lock_on(Evas_Canvas *obj, const char *keyname, Evas_Devi
*
* @ingroup Evas_Canvas
*/
EAPI void evas_seat_key_lock_off(Evas_Canvas *obj, const char *keyname, Evas_Device *seat) EINA_ARG_NONNULL(2);
EVAS_API void evas_seat_key_lock_off(Evas_Canvas *obj, const char *keyname, Evas_Device *seat) EINA_ARG_NONNULL(2);
/**
* @brief Adds the @c keyname key to the current list of modifier keys.
@ -468,7 +468,7 @@ EAPI void evas_seat_key_lock_off(Evas_Canvas *obj, const char *keyname, Evas_Dev
*
* @ingroup Evas_Canvas
*/
EAPI void evas_key_modifier_add(Evas_Canvas *obj, const char *keyname) EINA_ARG_NONNULL(2);
EVAS_API void evas_key_modifier_add(Evas_Canvas *obj, const char *keyname) EINA_ARG_NONNULL(2);
/**
* @brief Disables or turns off programmatically the modifier key with name
@ -484,7 +484,7 @@ EAPI void evas_key_modifier_add(Evas_Canvas *obj, const char *keyname) EINA_ARG_
*
* @ingroup Evas_Canvas
*/
EAPI void evas_key_modifier_off(Evas_Canvas *obj, const char *keyname) EINA_ARG_NONNULL(2);
EVAS_API void evas_key_modifier_off(Evas_Canvas *obj, const char *keyname) EINA_ARG_NONNULL(2);
/**
* @brief Render the given Evas canvas asynchronously.
@ -509,13 +509,13 @@ EAPI void evas_key_modifier_off(Evas_Canvas *obj, const char *keyname) EINA_ARG_
*
* @ingroup Evas_Canvas
*/
EAPI Eina_Bool evas_render_async(Evas_Canvas *obj);
EVAS_API Eina_Bool evas_render_async(Evas_Canvas *obj);
/** Inform the evas that it lost the focus from the default seat.
*
* @ingroup Evas_Canvas
*/
EAPI void evas_focus_out(Evas_Canvas *obj);
EVAS_API void evas_focus_out(Evas_Canvas *obj);
/**
* @brief Update the canvas internal objects but not triggering immediate
@ -528,7 +528,7 @@ EAPI void evas_focus_out(Evas_Canvas *obj);
*
* @ingroup Evas_Canvas
*/
EAPI void evas_norender(Evas_Canvas *obj);
EVAS_API void evas_norender(Evas_Canvas *obj);
/**
* @brief Update the canvas internal objects but not triggering immediate
@ -543,7 +543,7 @@ EAPI void evas_norender(Evas_Canvas *obj);
*
* @ingroup Evas_Canvas
*/
EAPI void evas_norender_with_updates(Eo *eo_e);
EVAS_API void evas_norender_with_updates(Eo *eo_e);
/**
* @brief Pop the nochange flag down 1.
@ -557,7 +557,7 @@ EAPI void evas_norender_with_updates(Eo *eo_e);
*
* @ingroup Evas_Canvas
*/
EAPI void evas_nochange_pop(Evas_Canvas *obj);
EVAS_API void evas_nochange_pop(Evas_Canvas *obj);
/**
* @brief Disables or turns off programmatically the lock key with name
@ -574,7 +574,7 @@ EAPI void evas_nochange_pop(Evas_Canvas *obj);
*
* @ingroup Evas_Canvas
*/
EAPI void evas_key_lock_off(Evas_Canvas *obj, const char *keyname) EINA_ARG_NONNULL(2);
EVAS_API void evas_key_lock_off(Evas_Canvas *obj, const char *keyname) EINA_ARG_NONNULL(2);
/**
* @brief Push the nochange flag up 1
@ -588,13 +588,13 @@ EAPI void evas_key_lock_off(Evas_Canvas *obj, const char *keyname) EINA_ARG_NONN
*
* @ingroup Evas_Canvas
*/
EAPI void evas_nochange_push(Evas_Canvas *obj);
EVAS_API void evas_nochange_push(Evas_Canvas *obj);
/** Force the given evas and associated engine to flush its font cache.
*
* @ingroup Evas_Canvas
*/
EAPI void evas_font_cache_flush(Evas_Canvas *obj);
EVAS_API void evas_font_cache_flush(Evas_Canvas *obj);
/**
* @brief Enables or turns on programmatically the modifier key with name
@ -611,7 +611,7 @@ EAPI void evas_font_cache_flush(Evas_Canvas *obj);
*
* @ingroup Evas_Canvas
*/
EAPI void evas_key_modifier_on(Evas_Canvas *obj, const char *keyname) EINA_ARG_NONNULL(2);
EVAS_API void evas_key_modifier_on(Evas_Canvas *obj, const char *keyname) EINA_ARG_NONNULL(2);
/**
* @brief Enables or turns on programmatically the modifier key with name
@ -632,7 +632,7 @@ EAPI void evas_key_modifier_on(Evas_Canvas *obj, const char *keyname) EINA_ARG_N
*
* @ingroup Evas_Canvas
*/
EAPI void evas_seat_key_modifier_on(Evas_Canvas *obj, const char *keyname, Evas_Device *seat) EINA_ARG_NONNULL(2);
EVAS_API void evas_seat_key_modifier_on(Evas_Canvas *obj, const char *keyname, Evas_Device *seat) EINA_ARG_NONNULL(2);
/**
* @brief Disables or turns off programmatically the modifier key with name
@ -652,7 +652,7 @@ EAPI void evas_seat_key_modifier_on(Evas_Canvas *obj, const char *keyname, Evas_
*
* @ingroup Evas_Canvas
*/
EAPI void evas_seat_key_modifier_off(Evas_Canvas *obj, const char *keyname, Evas_Device *seat) EINA_ARG_NONNULL(2);
EVAS_API void evas_seat_key_modifier_off(Evas_Canvas *obj, const char *keyname, Evas_Device *seat) EINA_ARG_NONNULL(2);
/**
* @brief List of available font descriptions known or found by this evas.
@ -668,7 +668,7 @@ EAPI void evas_seat_key_modifier_off(Evas_Canvas *obj, const char *keyname, Evas
*
* @ingroup Evas_Canvas
*/
EAPI Eina_List *evas_font_available_list(const Evas_Canvas *obj) EINA_WARN_UNUSED_RESULT;
EVAS_API Eina_List *evas_font_available_list(const Evas_Canvas *obj) EINA_WARN_UNUSED_RESULT;
/**
* @brief Retrieves the object on the given evas with the given name.
@ -686,7 +686,7 @@ EAPI Eina_List *evas_font_available_list(const Evas_Canvas *obj) EINA_WARN_UNUSE
*
* @ingroup Evas_Canvas
*/
EAPI Efl_Canvas_Object *evas_object_name_find(const Evas_Canvas *obj, const char *name) EINA_WARN_UNUSED_RESULT;
EVAS_API Efl_Canvas_Object *evas_object_name_find(const Evas_Canvas *obj, const char *name) EINA_WARN_UNUSED_RESULT;
/**
* @brief Appends a font path to the list of font paths used by the given evas.
@ -696,13 +696,13 @@ EAPI Efl_Canvas_Object *evas_object_name_find(const Evas_Canvas *obj, const char
*
* @ingroup Evas_Canvas
*/
EAPI void evas_font_path_append(Evas_Canvas *obj, const char *path) EINA_ARG_NONNULL(2);
EVAS_API void evas_font_path_append(Evas_Canvas *obj, const char *path) EINA_ARG_NONNULL(2);
/** Removes all font paths loaded into memory for the given evas.
*
* @ingroup Evas_Canvas
*/
EAPI void evas_font_path_clear(Evas_Canvas *obj);
EVAS_API void evas_font_path_clear(Evas_Canvas *obj);
/**
@ -714,7 +714,7 @@ EAPI void evas_font_path_clear(Evas_Canvas *obj);
*
* @ingroup Evas_Canvas
*/
EAPI void evas_key_lock_del(Evas_Canvas *obj, const char *keyname) EINA_ARG_NONNULL(2);
EVAS_API void evas_key_lock_del(Evas_Canvas *obj, const char *keyname) EINA_ARG_NONNULL(2);
/**
* @brief Add a damage rectangle.
@ -733,13 +733,13 @@ EAPI void evas_key_lock_del(Evas_Canvas *obj, const char *keyname) EINA_ARG_NONN
*
* @ingroup Evas_Canvas
*/
EAPI void evas_damage_rectangle_add(Evas_Canvas *obj, int x, int y, int w, int h);
EVAS_API void evas_damage_rectangle_add(Evas_Canvas *obj, int x, int y, int w, int h);
/** Sync evas canvas
*
* @ingroup Evas_Canvas
*/
EAPI void evas_sync(Evas_Canvas *obj);
EVAS_API void evas_sync(Evas_Canvas *obj);
/**
* @brief Retrieves the list of font paths used by the given evas.
@ -750,7 +750,7 @@ EAPI void evas_sync(Evas_Canvas *obj);
*
* @ingroup Evas_Canvas
*/
EAPI const Eina_List *evas_font_path_list(const Evas_Canvas *obj) EINA_WARN_UNUSED_RESULT;
EVAS_API const Eina_List *evas_font_path_list(const Evas_Canvas *obj) EINA_WARN_UNUSED_RESULT;
/**
* @brief Reload the image cache.
@ -760,7 +760,7 @@ EAPI const Eina_List *evas_font_path_list(const Evas_Canvas *obj) EINA_WARN_UNUS
*
* @ingroup Evas_Canvas
*/
EAPI void evas_image_cache_reload(Evas_Canvas *obj);
EVAS_API void evas_image_cache_reload(Evas_Canvas *obj);
/**
* @brief Convert/scale a canvas coordinate into output screen coordinates.
@ -777,7 +777,7 @@ EAPI void evas_image_cache_reload(Evas_Canvas *obj);
*
* @ingroup Evas_Canvas
*/
EAPI int evas_coord_world_x_to_screen(const Evas_Canvas *obj, int x) EINA_WARN_UNUSED_RESULT;
EVAS_API int evas_coord_world_x_to_screen(const Evas_Canvas *obj, int x) EINA_WARN_UNUSED_RESULT;
/**
* @brief Force immediate renderization of the given Evas canvas.
@ -801,7 +801,7 @@ EAPI int evas_coord_world_x_to_screen(const Evas_Canvas *obj, int x) EINA_WARN_U
*
* @ingroup Evas_Canvas
*/
EAPI Eina_List *evas_render_updates(Evas_Canvas *obj) EINA_WARN_UNUSED_RESULT;
EVAS_API Eina_List *evas_render_updates(Evas_Canvas *obj) EINA_WARN_UNUSED_RESULT;
/**
* @brief Flush the image cache of the canvas.
@ -811,7 +811,7 @@ EAPI Eina_List *evas_render_updates(Evas_Canvas *obj) EINA_WARN_UNUSED_RESULT;
*
* @ingroup Evas_Canvas
*/
EAPI void evas_image_cache_flush(Evas_Canvas *obj);
EVAS_API void evas_image_cache_flush(Evas_Canvas *obj);
/**
* @brief Convert/scale an output screen coordinate into canvas coordinates.
@ -828,7 +828,7 @@ EAPI void evas_image_cache_flush(Evas_Canvas *obj);
*
* @ingroup Evas_Canvas
*/
EAPI int evas_coord_screen_y_to_world(const Evas_Canvas *obj, int y) EINA_WARN_UNUSED_RESULT;
EVAS_API int evas_coord_screen_y_to_world(const Evas_Canvas *obj, int y) EINA_WARN_UNUSED_RESULT;
/**
* @brief Removes the @c keyname key from the current list of modifier keys on
@ -841,13 +841,13 @@ EAPI int evas_coord_screen_y_to_world(const Evas_Canvas *obj, int y) EINA_WARN_U
*
* @ingroup Evas_Canvas
*/
EAPI void evas_key_modifier_del(Evas_Canvas *obj, const char *keyname) EINA_ARG_NONNULL(2);
EVAS_API void evas_key_modifier_del(Evas_Canvas *obj, const char *keyname) EINA_ARG_NONNULL(2);
/** Inform to the evas that it got the focus from the default seat.
*
* @ingroup Evas_Canvas
*/
EAPI void evas_focus_in(Evas_Canvas *obj);
EVAS_API void evas_focus_in(Evas_Canvas *obj);
@ -890,7 +890,7 @@ EAPI void evas_focus_in(Evas_Canvas *obj);
*
* @ingroup Evas_Canvas
*/
EAPI void evas_obscured_rectangle_add(Evas_Canvas *obj, int x, int y, int w, int h);
EVAS_API void evas_obscured_rectangle_add(Evas_Canvas *obj, int x, int y, int w, int h);
/**
* @brief Make the canvas discard as much data as possible used by the engine
@ -905,13 +905,13 @@ EAPI void evas_obscured_rectangle_add(Evas_Canvas *obj, int x, int y, int w, int
*
* @ingroup Evas_Canvas
*/
EAPI void evas_render_dump(Evas_Canvas *obj);
EVAS_API void evas_render_dump(Evas_Canvas *obj);
/** Force renderization of the given canvas.
*
* @ingroup Evas_Canvas
*/
EAPI void evas_render(Evas_Canvas *obj);
EVAS_API void evas_render(Evas_Canvas *obj);
/**
* @brief Prepends a font path to the list of font paths used by the given
@ -922,7 +922,7 @@ EAPI void evas_render(Evas_Canvas *obj);
*
* @ingroup Evas_Canvas
*/
EAPI void evas_font_path_prepend(Evas_Canvas *obj, const char *path) EINA_ARG_NONNULL(2);
EVAS_API void evas_font_path_prepend(Evas_Canvas *obj, const char *path) EINA_ARG_NONNULL(2);
/**
* @brief Remove all "obscured regions" from an Evas canvas.
@ -942,7 +942,7 @@ EAPI void evas_font_path_prepend(Evas_Canvas *obj, const char *path) EINA_ARG_NO
*
* @ingroup Evas_Canvas
*/
EAPI void evas_obscured_clear(Evas_Canvas *obj);
EVAS_API void evas_obscured_clear(Evas_Canvas *obj);
/**
* @brief Convert/scale an output screen coordinate into canvas coordinates.
@ -959,7 +959,7 @@ EAPI void evas_obscured_clear(Evas_Canvas *obj);
*
* @ingroup Evas_Canvas
*/
EAPI int evas_coord_screen_x_to_world(const Evas_Canvas *obj, int x) EINA_WARN_UNUSED_RESULT;
EVAS_API int evas_coord_screen_x_to_world(const Evas_Canvas *obj, int x) EINA_WARN_UNUSED_RESULT;
/**
* @brief Adds the @c keyname key to the current list of lock keys.
@ -985,7 +985,7 @@ EAPI int evas_coord_screen_x_to_world(const Evas_Canvas *obj, int x) EINA_WARN_U
*
* @ingroup Evas_Canvas
*/
EAPI void evas_key_lock_add(Evas_Canvas *obj, const char *keyname) EINA_ARG_NONNULL(2);
EVAS_API void evas_key_lock_add(Evas_Canvas *obj, const char *keyname) EINA_ARG_NONNULL(2);
/**
* @brief Make the canvas discard internally cached data used for rendering.
@ -997,7 +997,7 @@ EAPI void evas_key_lock_add(Evas_Canvas *obj, const char *keyname) EINA_ARG_NONN
*
* @ingroup Evas_Canvas
*/
EAPI void evas_render_idle_flush(Evas_Canvas *obj);
EVAS_API void evas_render_idle_flush(Evas_Canvas *obj);
/**
* @brief Return the default device of a given type.
@ -1013,7 +1013,7 @@ EAPI void evas_render_idle_flush(Evas_Canvas *obj);
*
* @ingroup Evas_Canvas
*/
EAPI Evas_Device *evas_default_device_get(const Evas_Canvas *obj, Evas_Device_Class type);
EVAS_API Evas_Device *evas_default_device_get(const Evas_Canvas *obj, Evas_Device_Class type);
/**
* @brief Convert/scale a canvas coordinate into output screen coordinates.
@ -1030,6 +1030,6 @@ EAPI Evas_Device *evas_default_device_get(const Evas_Canvas *obj, Evas_Device_Cl
*
* @ingroup Evas_Canvas
*/
EAPI int evas_coord_world_y_to_screen(const Evas_Canvas *obj, int y) EINA_WARN_UNUSED_RESULT;
EVAS_API int evas_coord_world_y_to_screen(const Evas_Canvas *obj, int y) EINA_WARN_UNUSED_RESULT;
#endif

View File

@ -459,7 +459,7 @@ _clip_unset(Eo *eo_obj, Evas_Object_Protected_Data *obj)
evas_object_clip_across_check(eo_obj, obj);
}
EAPI void
EVAS_API void
evas_object_clip_unset(Evas_Object *eo_obj)
{
efl_canvas_object_clipper_set(eo_obj, NULL);
@ -502,7 +502,7 @@ _efl_canvas_object_clipper_prev_reset(Evas_Object_Protected_Data *obj, Eina_Bool
}
}
EAPI const Eina_List *
EVAS_API const Eina_List *
evas_object_clipees_get(const Evas_Object *eo_obj)
{
const Evas_Object_Protected_Data *tmp;
@ -519,7 +519,7 @@ evas_object_clipees_get(const Evas_Object *eo_obj)
return answer;
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_clipees_has(const Evas_Object *eo_obj)
{
Evas_Object_Protected_Data *obj = EVAS_OBJ_GET_OR_RETURN(eo_obj, EINA_FALSE);

View File

@ -1,21 +1,21 @@
#include "evas_common_private.h"
#include "evas_private.h"
EAPI void
EVAS_API void
evas_object_data_set(Evas_Object *eo_obj, const char *key, const void *data)
{
if (!efl_isa(eo_obj, EFL_CANVAS_OBJECT_CLASS)) return;
efl_key_data_set(eo_obj, key, data);
}
EAPI void *
EVAS_API void *
evas_object_data_get(const Evas_Object *eo_obj, const char *key)
{
if (!efl_isa(eo_obj, EFL_CANVAS_OBJECT_CLASS)) return NULL;
return efl_key_data_get(eo_obj, key);
}
EAPI void *
EVAS_API void *
evas_object_data_del(Evas_Object *eo_obj, const char *key)
{
void *data;

View File

@ -137,7 +137,7 @@ _evas_canvas_efl_canvas_scene_device_get(Evas *eo_e EINA_UNUSED, Evas_Public_Dat
return NULL;
}
EAPI Evas_Device *
EVAS_API Evas_Device *
evas_device_get(Evas *eo_e, const char *name)
{
return efl_canvas_scene_device_get(eo_e, name);
@ -167,13 +167,13 @@ _evas_canvas_efl_canvas_scene_seat_get(Evas *eo_e EINA_UNUSED, Evas_Public_Data
return NULL;
}
EAPI Evas_Device *
EVAS_API Evas_Device *
evas_device_get_by_seat_id(Evas *eo_e, unsigned int id)
{
return efl_canvas_scene_seat_get(eo_e, id);
}
EAPI Evas_Device *
EVAS_API Evas_Device *
evas_device_add(Evas *eo_e)
{
return evas_device_add_full(eo_e, NULL, NULL, NULL, NULL,
@ -181,7 +181,7 @@ evas_device_add(Evas *eo_e)
EVAS_DEVICE_SUBCLASS_NONE);
}
EAPI Evas_Device *
EVAS_API Evas_Device *
evas_device_add_full(Evas *eo_e, const char *name, const char *desc,
Evas_Device *parent_dev, Evas_Device *emulation_dev,
Evas_Device_Class clas, Evas_Device_Subclass sub_clas)
@ -263,7 +263,7 @@ evas_device_add_full(Evas *eo_e, const char *name, const char *desc,
return dev;
}
EAPI void
EVAS_API void
evas_device_del(Evas_Device *dev)
{
if (!efl_invalidated_get(dev))
@ -271,7 +271,7 @@ evas_device_del(Evas_Device *dev)
efl_unref(dev);
}
EAPI void
EVAS_API void
evas_device_push(Evas *eo_e, Evas_Device *dev)
{
Evas_Public_Data *e = efl_data_scope_safe_get(eo_e, EVAS_CANVAS_CLASS);
@ -285,7 +285,7 @@ evas_device_push(Evas *eo_e, Evas_Device *dev)
eina_array_push(e->cur_device, dev);
}
EAPI void
EVAS_API void
evas_device_pop(Evas *eo_e)
{
Evas_Device *dev;
@ -296,7 +296,7 @@ evas_device_pop(Evas *eo_e)
if (dev) efl_unref(dev);
}
EAPI const Eina_List *
EVAS_API const Eina_List *
evas_device_list(Evas *eo_e, const Evas_Device *dev)
{
if (dev) return efl_input_device_children_get(dev);
@ -305,33 +305,33 @@ evas_device_list(Evas *eo_e, const Evas_Device *dev)
return e ? e->devices : NULL;
}
EAPI void
EVAS_API void
evas_device_name_set(Evas_Device *dev, const char *name)
{
efl_name_set(dev, name);
evas_event_callback_call(efl_input_device_evas_get(dev), EVAS_CALLBACK_DEVICE_CHANGED, dev);
}
EAPI const char *
EVAS_API const char *
evas_device_name_get(const Evas_Device *dev)
{
return efl_name_get(dev);
}
EAPI void
EVAS_API void
evas_device_description_set(Evas_Device *dev, const char *desc)
{
efl_comment_set(dev, desc);
evas_event_callback_call(efl_input_device_evas_get(dev), EVAS_CALLBACK_DEVICE_CHANGED, dev);
}
EAPI const char *
EVAS_API const char *
evas_device_description_get(const Evas_Device *dev)
{
return efl_comment_get(dev);
}
EAPI void
EVAS_API void
evas_device_parent_set(Evas_Device *dev EINA_UNUSED, Evas_Device *parent EINA_UNUSED)
{
// Note: This function should be deprecated. parent_set doesn't make sense
@ -340,7 +340,7 @@ evas_device_parent_set(Evas_Device *dev EINA_UNUSED, Evas_Device *parent EINA_UN
ERR("It is not advised and possible anymore to changed the parent of an Evas_Device.");
}
EAPI const Evas_Device *
EVAS_API const Evas_Device *
evas_device_parent_get(const Evas_Device *dev)
{
Eo *parent = efl_parent_get(dev);
@ -351,7 +351,7 @@ evas_device_parent_get(const Evas_Device *dev)
return parent;
}
EAPI void
EVAS_API void
evas_device_class_set(Evas_Device *dev, Evas_Device_Class clas)
{
EINA_SAFETY_ON_TRUE_RETURN(efl_finalized_get(dev));
@ -375,45 +375,45 @@ evas_device_class_set(Evas_Device *dev, Evas_Device_Class clas)
evas_event_callback_call(efl_input_device_evas_get(dev), EVAS_CALLBACK_DEVICE_CHANGED, dev);
}
EAPI Evas_Device_Class
EVAS_API Evas_Device_Class
evas_device_class_get(const Evas_Device *dev)
{
return (Evas_Device_Class)efl_input_device_type_get(dev);
}
EAPI void
EVAS_API void
evas_device_subclass_set(Evas_Device *dev, Evas_Device_Subclass clas)
{
efl_input_device_subclass_set(dev, clas);
evas_event_callback_call(efl_input_device_evas_get(dev), EVAS_CALLBACK_DEVICE_CHANGED, dev);
}
EAPI Evas_Device_Subclass
EVAS_API Evas_Device_Subclass
evas_device_subclass_get(const Evas_Device *dev)
{
return efl_input_device_subclass_get(dev);
}
EAPI void
EVAS_API void
evas_device_emulation_source_set(Evas_Device *dev, Evas_Device *src)
{
efl_input_device_source_set(dev, src);
evas_event_callback_call(efl_input_device_evas_get(dev), EVAS_CALLBACK_DEVICE_CHANGED, dev);
}
EAPI const Evas_Device *
EVAS_API const Evas_Device *
evas_device_emulation_source_get(const Evas_Device *dev)
{
return efl_input_device_source_get(dev);
}
EAPI void
EVAS_API void
evas_device_seat_id_set(Evas_Device *dev, unsigned int id)
{
efl_input_device_seat_id_set(dev, id);
}
EAPI unsigned int
EVAS_API unsigned int
evas_device_seat_id_get(const Evas_Device *dev)
{
return efl_input_device_seat_id_get(dev);

View File

@ -1536,13 +1536,13 @@ _canvas_event_thaw_eval_internal(Eo *eo_e, Evas_Public_Data *e)
e->last_timestamp, NULL);
}
EAPI void
EVAS_API void
evas_event_freeze(Evas *eo_e)
{
efl_event_freeze(eo_e);
}
EAPI void
EVAS_API void
evas_event_thaw(Evas *eo_e)
{
efl_event_thaw(eo_e);
@ -1581,13 +1581,13 @@ _evas_canvas_efl_object_event_thaw(Eo *eo_e, Evas_Public_Data *e)
}
}
EAPI int
EVAS_API int
evas_event_freeze_get(const Evas *eo_e)
{
return efl_event_freeze_count_get(eo_e);
}
EAPI void
EVAS_API void
evas_event_thaw_eval(Evas *eo_e)
{
if (!evas_event_freeze_get(eo_e))
@ -2082,14 +2082,14 @@ _canvas_event_feed_mouse_updown_legacy(Eo *eo_e, int b, Evas_Button_Flags flags,
_canvas_event_feed_mouse_updown(eo_e, b, flags, timestamp, data, down, NULL, EINA_FALSE);
}
EAPI void
EVAS_API void
evas_event_feed_mouse_down(Eo *eo_e, int b, Evas_Button_Flags flags, unsigned int timestamp, const void *data)
{
EINA_SAFETY_ON_FALSE_RETURN(efl_isa(eo_e, EVAS_CANVAS_CLASS));
_canvas_event_feed_mouse_updown_legacy(eo_e, b, flags, timestamp, data, 1);
}
EAPI void
EVAS_API void
evas_event_feed_mouse_up(Eo *eo_e, int b, Evas_Button_Flags flags, unsigned int timestamp, const void *data)
{
EINA_SAFETY_ON_FALSE_RETURN(efl_isa(eo_e, EVAS_CANVAS_CLASS));
@ -2155,7 +2155,7 @@ _canvas_event_feed_mouse_cancel_internal(Evas_Public_Data *e, Efl_Input_Pointer_
*ev = save;
}
EAPI void
EVAS_API void
evas_event_feed_mouse_cancel(Eo *eo_e, unsigned int timestamp, const void *data)
{
EINA_SAFETY_ON_FALSE_RETURN(efl_isa(eo_e, EVAS_CANVAS_CLASS));
@ -2253,7 +2253,7 @@ _canvas_event_feed_mouse_wheel_internal(Eo *eo_e, Efl_Input_Pointer_Data *pe)
_evas_unwalk(e);
}
EAPI void
EVAS_API void
evas_event_feed_mouse_wheel(Eo *eo_e, int direction, int z, unsigned int timestamp, const void *data)
{
EINA_SAFETY_ON_FALSE_RETURN(efl_isa(eo_e, EVAS_CANVAS_CLASS));
@ -2731,7 +2731,7 @@ _canvas_event_feed_mouse_move_legacy(Evas *eo_e, Evas_Public_Data *e, int x, int
efl_unref(evt);
}
EAPI void
EVAS_API void
evas_event_input_mouse_move(Eo *eo_e, int x, int y, unsigned int timestamp, const void *data)
{
EINA_SAFETY_ON_FALSE_RETURN(efl_isa(eo_e, EVAS_CANVAS_CLASS));
@ -2739,7 +2739,7 @@ evas_event_input_mouse_move(Eo *eo_e, int x, int y, unsigned int timestamp, cons
_canvas_event_feed_mouse_move_legacy(eo_e, e, x - e->framespace.x, y - e->framespace.y, timestamp, data);
}
EAPI void
EVAS_API void
evas_event_feed_mouse_move(Eo *eo_e, int x, int y, unsigned int timestamp, const void *data)
{
EINA_SAFETY_ON_FALSE_RETURN(efl_isa(eo_e, EVAS_CANVAS_CLASS));
@ -2972,14 +2972,14 @@ _canvas_event_feed_mouse_inout_legacy(Eo *eo_e, unsigned int timestamp,
efl_unref(evt);
}
EAPI void
EVAS_API void
evas_event_feed_mouse_in(Eo *eo_e, unsigned int timestamp, const void *data)
{
EINA_SAFETY_ON_FALSE_RETURN(efl_isa(eo_e, EVAS_CANVAS_CLASS));
_canvas_event_feed_mouse_inout_legacy(eo_e, timestamp, data, EINA_TRUE);
}
EAPI void
EVAS_API void
evas_event_feed_mouse_out(Eo *eo_e, unsigned int timestamp, const void *data)
{
EINA_SAFETY_ON_FALSE_RETURN(efl_isa(eo_e, EVAS_CANVAS_CLASS));
@ -3236,7 +3236,7 @@ _canvas_event_feed_multi_internal(Evas *eo_e, Evas_Public_Data *e,
efl_unref(evt);
}
EAPI void
EVAS_API void
evas_event_input_multi_down(Eo *eo_e, int d, int x, int y, double rad, double radx, double rady, double pres, double ang, double fx, double fy, Evas_Button_Flags flags, unsigned int timestamp, const void *data)
{
EINA_SAFETY_ON_FALSE_RETURN(efl_isa(eo_e, EVAS_CANVAS_CLASS));
@ -3247,7 +3247,7 @@ evas_event_input_multi_down(Eo *eo_e, int d, int x, int y, double rad, double ra
fx, fy, flags, timestamp, data, EFL_POINTER_ACTION_DOWN);
}
EAPI void
EVAS_API void
evas_event_feed_multi_down(Eo *eo_e, int d, int x, int y, double rad, double radx, double rady, double pres, double ang, double fx, double fy, Evas_Button_Flags flags, unsigned int timestamp, const void *data)
{
EINA_SAFETY_ON_FALSE_RETURN(efl_isa(eo_e, EVAS_CANVAS_CLASS));
@ -3256,7 +3256,7 @@ evas_event_feed_multi_down(Eo *eo_e, int d, int x, int y, double rad, double rad
fx, fy, flags, timestamp, data, EFL_POINTER_ACTION_DOWN);
}
EAPI void
EVAS_API void
evas_event_input_multi_up(Eo *eo_e, int d, int x, int y, double rad, double radx, double rady, double pres, double ang, double fx, double fy, Evas_Button_Flags flags, unsigned int timestamp, const void *data)
{
EINA_SAFETY_ON_FALSE_RETURN(efl_isa(eo_e, EVAS_CANVAS_CLASS));
@ -3267,7 +3267,7 @@ evas_event_input_multi_up(Eo *eo_e, int d, int x, int y, double rad, double radx
fx, fy, flags, timestamp, data, EFL_POINTER_ACTION_UP);
}
EAPI void
EVAS_API void
evas_event_feed_multi_up(Eo *eo_e, int d, int x, int y, double rad, double radx, double rady, double pres, double ang, double fx, double fy, Evas_Button_Flags flags, unsigned int timestamp, const void *data)
{
EINA_SAFETY_ON_FALSE_RETURN(efl_isa(eo_e, EVAS_CANVAS_CLASS));
@ -3415,7 +3415,7 @@ _canvas_event_feed_multi_move_internal(Evas_Public_Data *e, Efl_Input_Pointer_Da
if (ev->device) efl_unref(ev->device);
}
EAPI void
EVAS_API void
evas_event_input_multi_move(Eo *eo_e, int d, int x, int y, double rad, double radx, double rady, double pres, double ang, double fx, double fy, unsigned int timestamp, const void *data)
{
EINA_SAFETY_ON_FALSE_RETURN(efl_isa(eo_e, EVAS_CANVAS_CLASS));
@ -3426,7 +3426,7 @@ evas_event_input_multi_move(Eo *eo_e, int d, int x, int y, double rad, double ra
EFL_POINTER_ACTION_MOVE);
}
EAPI void
EVAS_API void
evas_event_feed_multi_move(Eo *eo_e, int d, int x, int y, double rad, double radx, double rady, double pres, double ang, double fx, double fy, unsigned int timestamp, const void *data)
{
EINA_SAFETY_ON_FALSE_RETURN(efl_isa(eo_e, EVAS_CANVAS_CLASS));
@ -3702,7 +3702,7 @@ _canvas_event_feed_key_legacy(Eo *eo_e, Evas_Public_Data *e,
efl_unref(evt);
}
EAPI void
EVAS_API void
evas_event_feed_key_down(Eo *eo_e, const char *keyname, const char *key, const char *string, const char *compose, unsigned int timestamp, const void *data)
{
EINA_SAFETY_ON_FALSE_RETURN(efl_isa(eo_e, EVAS_CANVAS_CLASS));
@ -3711,7 +3711,7 @@ evas_event_feed_key_down(Eo *eo_e, const char *keyname, const char *key, const c
compose, timestamp, data, 0, 1);
}
EAPI void
EVAS_API void
evas_event_feed_key_up(Eo *eo_e, const char *keyname, const char *key, const char *string, const char *compose, unsigned int timestamp, const void *data)
{
EINA_SAFETY_ON_FALSE_RETURN(efl_isa(eo_e, EVAS_CANVAS_CLASS));
@ -3720,7 +3720,7 @@ evas_event_feed_key_up(Eo *eo_e, const char *keyname, const char *key, const cha
compose, timestamp, data, 0, 0);
}
EAPI void
EVAS_API void
evas_event_feed_key_down_with_keycode(Eo *eo_e, const char *keyname, const char *key, const char *string, const char *compose, unsigned int timestamp, const void *data, unsigned int keycode)
{
EINA_SAFETY_ON_FALSE_RETURN(efl_isa(eo_e, EVAS_CANVAS_CLASS));
@ -3729,7 +3729,7 @@ evas_event_feed_key_down_with_keycode(Eo *eo_e, const char *keyname, const char
compose, timestamp, data, keycode, 1);
}
EAPI void
EVAS_API void
evas_event_feed_key_up_with_keycode(Eo *eo_e, const char *keyname, const char *key, const char *string, const char *compose, unsigned int timestamp, const void *data, unsigned int keycode)
{
EINA_SAFETY_ON_FALSE_RETURN(efl_isa(eo_e, EVAS_CANVAS_CLASS));
@ -3738,7 +3738,7 @@ evas_event_feed_key_up_with_keycode(Eo *eo_e, const char *keyname, const char *k
compose, timestamp, data, keycode, 0);
}
EAPI void
EVAS_API void
evas_event_feed_hold(Eo *eo_e, int hold, unsigned int timestamp, const void *data)
{
Evas_Public_Data *e = efl_data_scope_get(eo_e, EVAS_CANVAS_CLASS);
@ -3840,7 +3840,7 @@ _canvas_event_feed_axis_update_internal(Evas_Public_Data *e, Efl_Input_Pointer_D
if (ev->device) efl_unref(ev->device);
}
EAPI void
EVAS_API void
evas_event_feed_axis_update(Evas *eo_e, unsigned int timestamp, int device, int toolid, int naxis, const Evas_Axis *axes, const void *data)
{
EINA_SAFETY_ON_FALSE_RETURN(efl_isa(eo_e, EVAS_CANVAS_CLASS));
@ -4004,7 +4004,7 @@ _efl_canvas_object_efl_object_event_thaw(Eo *obj, Evas_Object_Protected_Data *pd
efl_event_thaw(efl_super(obj, EFL_CANVAS_OBJECT_CLASS));
}
EAPI void
EVAS_API void
evas_object_freeze_events_set(Eo *eo_obj, Eina_Bool freeze)
{
Evas_Object_Protected_Data *pd = EVAS_OBJECT_DATA_SAFE_GET(eo_obj);
@ -4022,7 +4022,7 @@ evas_object_freeze_events_set(Eo *eo_obj, Eina_Bool freeze)
efl_event_thaw(eo_obj);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_freeze_events_get(const Eo *eo_obj EINA_UNUSED)
{
return (efl_event_freeze_count_get(eo_obj) > 0);
@ -4235,7 +4235,7 @@ _efl_canvas_object_efl_canvas_pointer_pointer_inside_get(const Eo *eo_obj,
return EINA_FALSE;
}
EAPI void
EVAS_API void
evas_event_refeed_event(Eo *eo_e, void *event_copy, Evas_Callback_Type event_type)
{
EINA_SAFETY_ON_FALSE_RETURN(efl_isa(eo_e, EVAS_CANVAS_CLASS));

View File

@ -1425,7 +1425,7 @@ evas_object_text_font_string_parse(char *buffer, char dest[14][256])
return n;
}
EAPI void
EVAS_API void
evas_font_path_global_append(const char *path)
{
if (!path) return;
@ -1436,7 +1436,7 @@ evas_font_path_global_append(const char *path)
#endif
}
EAPI void
EVAS_API void
evas_font_path_global_prepend(const char *path)
{
if (!path) return;
@ -1447,7 +1447,7 @@ evas_font_path_global_prepend(const char *path)
#endif
}
EAPI void
EVAS_API void
evas_font_path_global_clear(void)
{
while (global_font_path)
@ -1461,13 +1461,13 @@ evas_font_path_global_clear(void)
#endif
}
EAPI const Eina_List *
EVAS_API const Eina_List *
evas_font_path_global_list(void)
{
return global_font_path;
}
EAPI void
EVAS_API void
evas_font_reinit(void)
{
#ifdef HAVE_FONTCONFIG

View File

@ -121,7 +121,7 @@ _evas_gl_internal_error_get(Evas_GL *evas_gl)
return tls_data->error_state;
}
EAPI Evas_GL *
EVAS_API Evas_GL *
evas_gl_new(Evas *e)
{
Evas_GL *evas_gl;
@ -171,7 +171,7 @@ evas_gl_new(Evas *e)
return evas_gl;
}
EAPI void
EVAS_API void
evas_gl_free(Evas_GL *evas_gl)
{
MAGIC_CHECK(evas_gl, Evas_GL, MAGIC_EVAS_GL);
@ -199,7 +199,7 @@ evas_gl_free(Evas_GL *evas_gl)
free(evas_gl);
}
EAPI Evas_GL_Config *
EVAS_API Evas_GL_Config *
evas_gl_config_new(void)
{
Evas_GL_Config *cfg;
@ -211,13 +211,13 @@ evas_gl_config_new(void)
return cfg;
}
EAPI void
EVAS_API void
evas_gl_config_free(Evas_GL_Config *cfg)
{
if (cfg) free(cfg);
}
EAPI Evas_GL_Surface *
EVAS_API Evas_GL_Surface *
evas_gl_surface_create(Evas_GL *evas_gl, Evas_GL_Config *config, int width, int height)
{
Evas_GL_Surface *surf;
@ -265,7 +265,7 @@ evas_gl_surface_create(Evas_GL *evas_gl, Evas_GL_Config *config, int width, int
return surf;
}
EAPI Evas_GL_Surface *
EVAS_API Evas_GL_Surface *
evas_gl_pbuffer_surface_create(Evas_GL *evas_gl, Evas_GL_Config *cfg,
int w, int h, const int *attrib_list)
{
@ -321,7 +321,7 @@ evas_gl_pbuffer_surface_create(Evas_GL *evas_gl, Evas_GL_Config *cfg,
return surf;
}
EAPI void
EVAS_API void
evas_gl_surface_destroy(Evas_GL *evas_gl, Evas_GL_Surface *surf)
{
// Magic
@ -369,7 +369,7 @@ evas_gl_engine_data_get(void *evgl)
return _evas_engine_context(evasgl->evas);
}
EAPI Evas_GL_Context *
EVAS_API Evas_GL_Context *
evas_gl_context_version_create(Evas_GL *evas_gl, Evas_GL_Context *share_ctx,
Evas_GL_Context_Version version)
{
@ -419,13 +419,13 @@ evas_gl_context_version_create(Evas_GL *evas_gl, Evas_GL_Context *share_ctx,
return ctx;
}
EAPI Evas_GL_Context *
EVAS_API Evas_GL_Context *
evas_gl_context_create(Evas_GL *evas_gl, Evas_GL_Context *share_ctx)
{
return evas_gl_context_version_create(evas_gl, share_ctx, EVAS_GL_GLES_2_X);
}
EAPI void
EVAS_API void
evas_gl_context_destroy(Evas_GL *evas_gl, Evas_GL_Context *ctx)
{
@ -453,7 +453,7 @@ evas_gl_context_destroy(Evas_GL *evas_gl, Evas_GL_Context *ctx)
ctx = NULL;
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_gl_make_current(Evas_GL *evas_gl, Evas_GL_Surface *surf, Evas_GL_Context *ctx)
{
Eina_Bool ret;
@ -481,7 +481,7 @@ evas_gl_make_current(Evas_GL *evas_gl, Evas_GL_Surface *surf, Evas_GL_Context *c
return ret;
}
EAPI Evas_GL_Context *
EVAS_API Evas_GL_Context *
evas_gl_current_context_get(Evas_GL *evas_gl)
{
Evas_GL_Context *comp;
@ -519,7 +519,7 @@ evas_gl_current_context_get(Evas_GL *evas_gl)
return NULL;
}
EAPI Evas_GL_Surface *
EVAS_API Evas_GL_Surface *
evas_gl_current_surface_get(Evas_GL *evas_gl)
{
Evas_GL_Surface *comp;
@ -557,7 +557,7 @@ evas_gl_current_surface_get(Evas_GL *evas_gl)
return NULL;
}
EAPI Evas_GL *
EVAS_API Evas_GL *
evas_gl_current_evas_gl_get(Evas_GL_Context **context, Evas_GL_Surface **surface)
{
Evas_GL *evasgl = NULL;
@ -577,7 +577,7 @@ evas_gl_current_evas_gl_get(Evas_GL_Context **context, Evas_GL_Surface **surface
return evasgl;
}
EAPI const char *
EVAS_API const char *
evas_gl_string_query(Evas_GL *evas_gl, int name)
{
MAGIC_CHECK(evas_gl, Evas_GL, MAGIC_EVAS_GL);
@ -587,7 +587,7 @@ evas_gl_string_query(Evas_GL *evas_gl, int name)
return evas_gl->evas->engine.func->gl_string_query(_evas_engine_context(evas_gl->evas), name);
}
EAPI Evas_GL_Func
EVAS_API Evas_GL_Func
evas_gl_proc_address_get(Evas_GL *evas_gl, const char *name)
{
MAGIC_CHECK(evas_gl, Evas_GL, MAGIC_EVAS_GL);
@ -597,7 +597,7 @@ evas_gl_proc_address_get(Evas_GL *evas_gl, const char *name)
return (Evas_GL_Func)evas_gl->evas->engine.func->gl_proc_address_get(_evas_engine_context(evas_gl->evas), name);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_gl_native_surface_get(Evas_GL *evas_gl, Evas_GL_Surface *surf, Evas_Native_Surface *ns)
{
MAGIC_CHECK(evas_gl, Evas_GL, MAGIC_EVAS_GL);
@ -622,7 +622,7 @@ evas_gl_native_surface_get(Evas_GL *evas_gl, Evas_GL_Surface *surf, Evas_Native_
}
EAPI Evas_GL_API *
EVAS_API Evas_GL_API *
evas_gl_api_get(Evas_GL *evas_gl)
{
MAGIC_CHECK(evas_gl, Evas_GL, MAGIC_EVAS_GL);
@ -632,7 +632,7 @@ evas_gl_api_get(Evas_GL *evas_gl)
return (Evas_GL_API*)evas_gl->evas->engine.func->gl_api_get(_evas_engine_context(evas_gl->evas), EVAS_GL_GLES_2_X);
}
EAPI Evas_GL_API *
EVAS_API Evas_GL_API *
evas_gl_context_api_get(Evas_GL *evas_gl, Evas_GL_Context *ctx)
{
MAGIC_CHECK(evas_gl, Evas_GL, MAGIC_EVAS_GL);
@ -648,7 +648,7 @@ evas_gl_context_api_get(Evas_GL *evas_gl, Evas_GL_Context *ctx)
return (Evas_GL_API*)evas_gl->evas->engine.func->gl_api_get(_evas_engine_context(evas_gl->evas), ctx->version);
}
EAPI int
EVAS_API int
evas_gl_rotation_get(Evas_GL *evas_gl)
{
MAGIC_CHECK(evas_gl, Evas_GL, MAGIC_EVAS_GL);
@ -661,7 +661,7 @@ evas_gl_rotation_get(Evas_GL *evas_gl)
return evas_gl->evas->engine.func->gl_rotation_angle_get(_evas_engine_context(evas_gl->evas));
}
EAPI int
EVAS_API int
evas_gl_error_get(Evas_GL *evas_gl)
{
int err;
@ -684,7 +684,7 @@ end:
return err;
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_gl_surface_query(Evas_GL *evas_gl, Evas_GL_Surface *surface, int attribute, void *value)
{
if (!evas_gl) return EINA_FALSE;

View File

@ -1,43 +1,43 @@
void _evas_grid_grid_size_set(Eo *obj, Evas_Grid_Data *pd, int w, int h);
EOAPI EFL_VOID_FUNC_BODYV(evas_obj_grid_size_set, EFL_FUNC_CALL(w, h), int w, int h);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV(evas_obj_grid_size_set, EFL_FUNC_CALL(w, h), int w, int h);
void _evas_grid_grid_size_get(const Eo *obj, Evas_Grid_Data *pd, int *w, int *h);
EOAPI EFL_VOID_FUNC_BODYV_CONST(evas_obj_grid_size_get, EFL_FUNC_CALL(w, h), int *w, int *h);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV_CONST(evas_obj_grid_size_get, EFL_FUNC_CALL(w, h), int *w, int *h);
Eina_List *_evas_grid_children_get(const Eo *obj, Evas_Grid_Data *pd);
EOAPI EFL_FUNC_BODY_CONST(evas_obj_grid_children_get, Eina_List *, NULL);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODY_CONST(evas_obj_grid_children_get, Eina_List *, NULL);
Eina_Accessor *_evas_grid_accessor_new(const Eo *obj, Evas_Grid_Data *pd);
EOAPI EFL_FUNC_BODY_CONST(evas_obj_grid_accessor_new, Eina_Accessor *, NULL);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODY_CONST(evas_obj_grid_accessor_new, Eina_Accessor *, NULL);
void _evas_grid_clear(Eo *obj, Evas_Grid_Data *pd, Eina_Bool clear);
EOAPI EFL_VOID_FUNC_BODYV(evas_obj_grid_clear, EFL_FUNC_CALL(clear), Eina_Bool clear);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV(evas_obj_grid_clear, EFL_FUNC_CALL(clear), Eina_Bool clear);
Eina_Iterator *_evas_grid_iterator_new(const Eo *obj, Evas_Grid_Data *pd);
EOAPI EFL_FUNC_BODY_CONST(evas_obj_grid_iterator_new, Eina_Iterator *, NULL);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODY_CONST(evas_obj_grid_iterator_new, Eina_Iterator *, NULL);
Efl_Canvas_Object *_evas_grid_add_to(Eo *obj, Evas_Grid_Data *pd);
EOAPI EFL_FUNC_BODY(evas_obj_grid_add_to, Efl_Canvas_Object *, NULL);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODY(evas_obj_grid_add_to, Efl_Canvas_Object *, NULL);
Eina_Bool _evas_grid_unpack(Eo *obj, Evas_Grid_Data *pd, Efl_Canvas_Object *child);
EOAPI EFL_FUNC_BODYV(evas_obj_grid_unpack, Eina_Bool, 0, EFL_FUNC_CALL(child), Efl_Canvas_Object *child);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODYV(evas_obj_grid_unpack, Eina_Bool, 0, EFL_FUNC_CALL(child), Efl_Canvas_Object *child);
Eina_Bool _evas_grid_pack_get(const Eo *obj, Evas_Grid_Data *pd, Efl_Canvas_Object *child, int *x, int *y, int *w, int *h);
EOAPI EFL_FUNC_BODYV_CONST(evas_obj_grid_pack_get, Eina_Bool, 0, EFL_FUNC_CALL(child, x, y, w, h), Efl_Canvas_Object *child, int *x, int *y, int *w, int *h);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODYV_CONST(evas_obj_grid_pack_get, Eina_Bool, 0, EFL_FUNC_CALL(child, x, y, w, h), Efl_Canvas_Object *child, int *x, int *y, int *w, int *h);
Eina_Bool _evas_grid_pack(Eo *obj, Evas_Grid_Data *pd, Efl_Canvas_Object *child, int x, int y, int w, int h);
EOAPI EFL_FUNC_BODYV(evas_obj_grid_pack, Eina_Bool, 0, EFL_FUNC_CALL(child, x, y, w, h), Efl_Canvas_Object *child, int x, int y, int w, int h);
EVAS_API EVAS_API_WEAK EFL_FUNC_BODYV(evas_obj_grid_pack, Eina_Bool, 0, EFL_FUNC_CALL(child, x, y, w, h), Efl_Canvas_Object *child, int x, int y, int w, int h);
Efl_Object *_evas_grid_efl_object_constructor(Eo *obj, Evas_Grid_Data *pd);

View File

@ -19,7 +19,7 @@ typedef Eo Evas_Grid;
*/
#define EVAS_GRID_CLASS evas_grid_class_get()
EWAPI const Efl_Class *evas_grid_class_get(void) EINA_CONST;
EVAS_API EVAS_API_WEAK const Efl_Class *evas_grid_class_get(void) EINA_CONST;
/**
* @brief Set the virtual resolution for the grid
@ -32,7 +32,7 @@ EWAPI const Efl_Class *evas_grid_class_get(void) EINA_CONST;
*
* @ingroup Evas_Grid
*/
EOAPI void evas_obj_grid_size_set(Eo *obj, int w, int h);
EVAS_API EVAS_API_WEAK void evas_obj_grid_size_set(Eo *obj, int w, int h);
/**
* @brief Get the current virtual resolution
@ -47,7 +47,7 @@ EOAPI void evas_obj_grid_size_set(Eo *obj, int w, int h);
*
* @ingroup Evas_Grid
*/
EOAPI void evas_obj_grid_size_get(const Eo *obj, int *w, int *h);
EVAS_API EVAS_API_WEAK void evas_obj_grid_size_get(const Eo *obj, int *w, int *h);
/**
* @brief Get the list of children for the grid.
@ -65,7 +65,7 @@ EOAPI void evas_obj_grid_size_get(const Eo *obj, int *w, int *h);
*
* @ingroup Evas_Grid
*/
EOAPI Eina_List *evas_obj_grid_children_get(const Eo *obj) EINA_WARN_UNUSED_RESULT;
EVAS_API EVAS_API_WEAK Eina_List *evas_obj_grid_children_get(const Eo *obj) EINA_WARN_UNUSED_RESULT;
/**
* @brief Get an accessor to get random access to the list of children for the
@ -81,7 +81,7 @@ EOAPI Eina_List *evas_obj_grid_children_get(const Eo *obj) EINA_WARN_UNUSED_RESU
*
* @ingroup Evas_Grid
*/
EOAPI Eina_Accessor *evas_obj_grid_accessor_new(const Eo *obj) EINA_WARN_UNUSED_RESULT;
EVAS_API EVAS_API_WEAK Eina_Accessor *evas_obj_grid_accessor_new(const Eo *obj) EINA_WARN_UNUSED_RESULT;
/**
* @brief Faster way to remove all child objects from a grid object.
@ -93,7 +93,7 @@ EOAPI Eina_Accessor *evas_obj_grid_accessor_new(const Eo *obj) EINA_WARN_UNUSED_
*
* @ingroup Evas_Grid
*/
EOAPI void evas_obj_grid_clear(Eo *obj, Eina_Bool clear);
EVAS_API EVAS_API_WEAK void evas_obj_grid_clear(Eo *obj, Eina_Bool clear);
/**
* @brief Get an iterator to walk the list of children for the grid.
@ -108,7 +108,7 @@ EOAPI void evas_obj_grid_clear(Eo *obj, Eina_Bool clear);
*
* @ingroup Evas_Grid
*/
EOAPI Eina_Iterator *evas_obj_grid_iterator_new(const Eo *obj) EINA_WARN_UNUSED_RESULT;
EVAS_API EVAS_API_WEAK Eina_Iterator *evas_obj_grid_iterator_new(const Eo *obj) EINA_WARN_UNUSED_RESULT;
/**
* @brief Create a grid that is child of a given element parent.
@ -123,7 +123,7 @@ EOAPI Eina_Iterator *evas_obj_grid_iterator_new(const Eo *obj) EINA_WARN_UNUSED_
*
* @ingroup Evas_Grid
*/
EOAPI Efl_Canvas_Object *evas_obj_grid_add_to(Eo *obj) EINA_WARN_UNUSED_RESULT;
EVAS_API EVAS_API_WEAK Efl_Canvas_Object *evas_obj_grid_add_to(Eo *obj) EINA_WARN_UNUSED_RESULT;
/**
* @brief Remove child from grid.
@ -141,7 +141,7 @@ EOAPI Efl_Canvas_Object *evas_obj_grid_add_to(Eo *obj) EINA_WARN_UNUSED_RESULT;
*
* @ingroup Evas_Grid
*/
EOAPI Eina_Bool evas_obj_grid_unpack(Eo *obj, Efl_Canvas_Object *child) EINA_ARG_NONNULL(2);
EVAS_API EVAS_API_WEAK Eina_Bool evas_obj_grid_unpack(Eo *obj, Efl_Canvas_Object *child) EINA_ARG_NONNULL(2);
/**
* @brief Get the pack options for a grid child
@ -162,7 +162,7 @@ EOAPI Eina_Bool evas_obj_grid_unpack(Eo *obj, Efl_Canvas_Object *child) EINA_ARG
*
* @ingroup Evas_Grid
*/
EOAPI Eina_Bool evas_obj_grid_pack_get(const Eo *obj, Efl_Canvas_Object *child, int *x, int *y, int *w, int *h);
EVAS_API EVAS_API_WEAK Eina_Bool evas_obj_grid_pack_get(const Eo *obj, Efl_Canvas_Object *child, int *x, int *y, int *w, int *h);
/**
* @brief Add a new child to a grid object.
@ -180,6 +180,6 @@ EOAPI Eina_Bool evas_obj_grid_pack_get(const Eo *obj, Efl_Canvas_Object *child,
*
* @ingroup Evas_Grid
*/
EOAPI Eina_Bool evas_obj_grid_pack(Eo *obj, Efl_Canvas_Object *child, int x, int y, int w, int h) EINA_ARG_NONNULL(2);
EVAS_API EVAS_API_WEAK Eina_Bool evas_obj_grid_pack(Eo *obj, Efl_Canvas_Object *child, int x, int y, int w, int h) EINA_ARG_NONNULL(2);
#endif

View File

@ -1,59 +1,59 @@
EAPI void
EVAS_API void
evas_object_grid_size_set(Evas_Grid *obj, int w, int h)
{
evas_obj_grid_size_set(obj, w, h);
}
EAPI void
EVAS_API void
evas_object_grid_size_get(const Evas_Grid *obj, int *w, int *h)
{
evas_obj_grid_size_get(obj, w, h);
}
EAPI Eina_List *
EVAS_API Eina_List *
evas_object_grid_children_get(const Evas_Grid *obj)
{
return evas_obj_grid_children_get(obj);
}
EAPI Eina_Accessor *
EVAS_API Eina_Accessor *
evas_object_grid_accessor_new(const Evas_Grid *obj)
{
return evas_obj_grid_accessor_new(obj);
}
EAPI void
EVAS_API void
evas_object_grid_clear(Evas_Grid *obj, Eina_Bool clear)
{
evas_obj_grid_clear(obj, clear);
}
EAPI Eina_Iterator *
EVAS_API Eina_Iterator *
evas_object_grid_iterator_new(const Evas_Grid *obj)
{
return evas_obj_grid_iterator_new(obj);
}
EAPI Efl_Canvas_Object *
EVAS_API Efl_Canvas_Object *
evas_object_grid_add_to(Evas_Grid *obj)
{
return evas_obj_grid_add_to(obj);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_grid_unpack(Evas_Grid *obj, Efl_Canvas_Object *child)
{
return evas_obj_grid_unpack(obj, child);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_grid_pack_get(const Evas_Grid *obj, Efl_Canvas_Object *child, int *x, int *y, int *w, int *h)
{
return evas_obj_grid_pack_get(obj, child, x, y, w, h);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_grid_pack(Evas_Grid *obj, Efl_Canvas_Object *child, int x, int y, int w, int h)
{
return evas_obj_grid_pack(obj, child, x, y, w, h);

View File

@ -25,7 +25,7 @@ typedef Eo Evas_Grid;
*
* @ingroup Evas_Object_Grid_Group
*/
EAPI void evas_object_grid_size_set(Evas_Grid *obj, int w, int h);
EVAS_API void evas_object_grid_size_set(Evas_Grid *obj, int w, int h);
/**
* @brief Get the current virtual resolution
@ -40,7 +40,7 @@ EAPI void evas_object_grid_size_set(Evas_Grid *obj, int w, int h);
*
* @ingroup Evas_Object_Grid_Group
*/
EAPI void evas_object_grid_size_get(const Evas_Grid *obj, int *w, int *h);
EVAS_API void evas_object_grid_size_get(const Evas_Grid *obj, int *w, int *h);
/**
* @brief Get the list of children for the grid.
@ -58,7 +58,7 @@ EAPI void evas_object_grid_size_get(const Evas_Grid *obj, int *w, int *h);
*
* @ingroup Evas_Object_Grid_Group
*/
EAPI Eina_List *evas_object_grid_children_get(const Evas_Grid *obj) EINA_WARN_UNUSED_RESULT;
EVAS_API Eina_List *evas_object_grid_children_get(const Evas_Grid *obj) EINA_WARN_UNUSED_RESULT;
/**
* @brief Get an accessor to get random access to the list of children for the
@ -74,7 +74,7 @@ EAPI Eina_List *evas_object_grid_children_get(const Evas_Grid *obj) EINA_WARN_UN
*
* @ingroup Evas_Object_Grid_Group
*/
EAPI Eina_Accessor *evas_object_grid_accessor_new(const Evas_Grid *obj) EINA_WARN_UNUSED_RESULT;
EVAS_API Eina_Accessor *evas_object_grid_accessor_new(const Evas_Grid *obj) EINA_WARN_UNUSED_RESULT;
/**
* @brief Faster way to remove all child objects from a grid object.
@ -86,7 +86,7 @@ EAPI Eina_Accessor *evas_object_grid_accessor_new(const Evas_Grid *obj) EINA_WAR
*
* @ingroup Evas_Object_Grid_Group
*/
EAPI void evas_object_grid_clear(Evas_Grid *obj, Eina_Bool clear);
EVAS_API void evas_object_grid_clear(Evas_Grid *obj, Eina_Bool clear);
/**
* @brief Get an iterator to walk the list of children for the grid.
@ -101,7 +101,7 @@ EAPI void evas_object_grid_clear(Evas_Grid *obj, Eina_Bool clear);
*
* @ingroup Evas_Object_Grid_Group
*/
EAPI Eina_Iterator *evas_object_grid_iterator_new(const Evas_Grid *obj) EINA_WARN_UNUSED_RESULT;
EVAS_API Eina_Iterator *evas_object_grid_iterator_new(const Evas_Grid *obj) EINA_WARN_UNUSED_RESULT;
/**
* @brief Create a grid that is child of a given element parent.
@ -116,7 +116,7 @@ EAPI Eina_Iterator *evas_object_grid_iterator_new(const Evas_Grid *obj) EINA_WAR
*
* @ingroup Evas_Object_Grid_Group
*/
EAPI Efl_Canvas_Object *evas_object_grid_add_to(Evas_Grid *obj) EINA_WARN_UNUSED_RESULT;
EVAS_API Efl_Canvas_Object *evas_object_grid_add_to(Evas_Grid *obj) EINA_WARN_UNUSED_RESULT;
/**
* @brief Remove child from grid.
@ -134,7 +134,7 @@ EAPI Efl_Canvas_Object *evas_object_grid_add_to(Evas_Grid *obj) EINA_WARN_UNUSED
*
* @ingroup Evas_Object_Grid_Group
*/
EAPI Eina_Bool evas_object_grid_unpack(Evas_Grid *obj, Efl_Canvas_Object *child) EINA_ARG_NONNULL(2);
EVAS_API Eina_Bool evas_object_grid_unpack(Evas_Grid *obj, Efl_Canvas_Object *child) EINA_ARG_NONNULL(2);
/**
* @brief Get the pack options for a grid child
@ -155,7 +155,7 @@ EAPI Eina_Bool evas_object_grid_unpack(Evas_Grid *obj, Efl_Canvas_Object *child)
*
* @ingroup Evas_Object_Grid_Group
*/
EAPI Eina_Bool evas_object_grid_pack_get(const Evas_Grid *obj, Efl_Canvas_Object *child, int *x, int *y, int *w, int *h);
EVAS_API Eina_Bool evas_object_grid_pack_get(const Evas_Grid *obj, Efl_Canvas_Object *child, int *x, int *y, int *w, int *h);
/**
* @brief Add a new child to a grid object.
@ -173,6 +173,6 @@ EAPI Eina_Bool evas_object_grid_pack_get(const Evas_Grid *obj, Efl_Canvas_Object
*
* @ingroup Evas_Object_Grid_Group
*/
EAPI Eina_Bool evas_object_grid_pack(Evas_Grid *obj, Efl_Canvas_Object *child, int x, int y, int w, int h) EINA_ARG_NONNULL(2);
EVAS_API Eina_Bool evas_object_grid_pack(Evas_Grid *obj, Efl_Canvas_Object *child, int x, int y, int w, int h) EINA_ARG_NONNULL(2);
#endif

View File

@ -19,6 +19,6 @@ typedef Eo Evas_Image;
*/
#define EVAS_IMAGE_CLASS evas_image_class_get()
EWAPI const Efl_Class *evas_image_class_get(void) EINA_CONST;
EVAS_API EVAS_API_WEAK const Efl_Class *evas_image_class_get(void) EINA_CONST;
#endif

View File

@ -21,7 +21,7 @@ struct _Evas_Image_Legacy_Pixels_Entry
void *image;
};
EAPI Evas_Object *
EVAS_API Evas_Object *
evas_object_image_add(Evas *eo_e)
{
eo_e = evas_find(eo_e);
@ -31,7 +31,7 @@ evas_object_image_add(Evas *eo_e)
efl_canvas_object_legacy_ctor(efl_added));
}
EAPI Evas_Object *
EVAS_API Evas_Object *
evas_object_image_filled_add(Evas *eo_e)
{
eo_e = evas_find(eo_e);
@ -40,7 +40,7 @@ evas_object_image_filled_add(Evas *eo_e)
efl_canvas_object_legacy_ctor(efl_added));
}
EAPI void
EVAS_API void
evas_object_image_memfile_set(Evas_Object *eo_obj, void *data, int size, char *format EINA_UNUSED, char *key)
{
Eina_File *f;
@ -53,7 +53,7 @@ evas_object_image_memfile_set(Evas_Object *eo_obj, void *data, int size, char *f
eina_file_close(f); // close matching open OK
}
EAPI void
EVAS_API void
evas_object_image_fill_set(Evas_Object *obj,
Evas_Coord x, Evas_Coord y,
Evas_Coord w, Evas_Coord h)
@ -62,7 +62,7 @@ evas_object_image_fill_set(Evas_Object *obj,
_evas_image_fill_set(obj, efl_data_scope_get(obj, EFL_CANVAS_IMAGE_INTERNAL_CLASS), x, y, w, h);
}
EAPI void
EVAS_API void
evas_object_image_preload(Evas_Object *eo_obj, Eina_Bool cancel)
{
EVAS_IMAGE_API(eo_obj);
@ -70,21 +70,21 @@ evas_object_image_preload(Evas_Object *eo_obj, Eina_Bool cancel)
else _evas_image_load_async_start(eo_obj);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_image_filled_get(const Evas_Object *eo_obj)
{
EVAS_IMAGE_API(eo_obj, EINA_FALSE);
return efl_gfx_fill_auto_get(eo_obj);
}
EAPI void
EVAS_API void
evas_object_image_filled_set(Evas_Object *eo_obj, Eina_Bool value)
{
EVAS_IMAGE_API(eo_obj);
efl_gfx_fill_auto_set(eo_obj, value);
}
EAPI void
EVAS_API void
evas_object_image_fill_get(const Evas_Object *obj,
Evas_Coord *x, Evas_Coord *y,
Evas_Coord *w, Evas_Coord *h)
@ -99,63 +99,63 @@ evas_object_image_fill_get(const Evas_Object *obj,
if (h) *h = r.h;
}
EAPI void
EVAS_API void
evas_object_image_alpha_set(Evas_Object *obj, Eina_Bool alpha)
{
EVAS_IMAGE_API(obj);
efl_gfx_buffer_alpha_set(obj, alpha);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_image_alpha_get(const Evas_Object *obj)
{
EVAS_IMAGE_API(obj, EINA_FALSE);
return efl_gfx_buffer_alpha_get(obj);
}
EAPI void
EVAS_API void
evas_object_image_border_set(Evas_Object *obj, int l, int r, int t, int b)
{
EVAS_IMAGE_API(obj);
efl_gfx_image_border_insets_set(obj, l, r, t, b);
}
EAPI void
EVAS_API void
evas_object_image_border_get(const Evas_Object *obj, int *l, int *r, int *t, int *b)
{
EVAS_IMAGE_API(obj);
efl_gfx_image_border_insets_get(obj, l, r, t, b);
}
EAPI void
EVAS_API void
evas_object_image_border_scale_set(Evas_Object *obj, double scale)
{
EVAS_IMAGE_API(obj);
efl_gfx_image_border_insets_scale_set(obj, scale);
}
EAPI double
EVAS_API double
evas_object_image_border_scale_get(const Evas_Object *obj)
{
EVAS_IMAGE_API(obj, 0.0);
return efl_gfx_image_border_insets_scale_get(obj);
}
EAPI void
EVAS_API void
evas_object_image_border_center_fill_set(Evas_Object *obj, Evas_Border_Fill_Mode fill)
{
EVAS_IMAGE_API(obj);
efl_gfx_image_center_fill_mode_set(obj, (Efl_Gfx_Center_Fill_Mode) fill);
}
EAPI Evas_Border_Fill_Mode
EVAS_API Evas_Border_Fill_Mode
evas_object_image_border_center_fill_get(const Evas_Object *obj)
{
EVAS_IMAGE_API(obj, EVAS_BORDER_FILL_NONE);
return (Evas_Border_Fill_Mode) efl_gfx_image_center_fill_mode_get(obj);
}
EAPI void
EVAS_API void
evas_object_image_size_get(const Evas_Object *obj, int *w, int *h)
{
Eina_Size2D sz;
@ -165,14 +165,14 @@ evas_object_image_size_get(const Evas_Object *obj, int *w, int *h)
if (h) *h = sz.h;
}
EAPI Evas_Colorspace
EVAS_API Evas_Colorspace
evas_object_image_colorspace_get(const Evas_Object *obj)
{
EVAS_IMAGE_API(obj, EVAS_COLORSPACE_ARGB8888);
return (Evas_Colorspace) efl_gfx_buffer_colorspace_get(obj);
}
EAPI int
EVAS_API int
evas_object_image_stride_get(const Evas_Object *obj)
{
EVAS_IMAGE_API(obj, 0);
@ -180,7 +180,7 @@ evas_object_image_stride_get(const Evas_Object *obj)
return o->cur->image.stride;
}
EAPI void
EVAS_API void
evas_object_image_data_update_add(Evas_Object *obj, int x, int y, int w, int h)
{
Eina_Rect r;
@ -190,35 +190,35 @@ evas_object_image_data_update_add(Evas_Object *obj, int x, int y, int w, int h)
efl_gfx_buffer_update_add(obj, &r);
}
EAPI void
EVAS_API void
evas_object_image_file_set(Evas_Object *obj, const char *file, const char *key)
{
EVAS_IMAGE_API(obj);
efl_file_simple_load(obj, file, key);
}
EAPI void
EVAS_API void
evas_object_image_file_get(const Evas_Object *obj, const char **file, const char **key)
{
EVAS_IMAGE_API(obj);
efl_file_simple_get(obj, file, key);
}
EAPI void
EVAS_API void
evas_object_image_mmap_set(Evas_Object *obj, const Eina_File *f, const char *key)
{
EVAS_IMAGE_API(obj);
efl_file_simple_mmap_load(obj, f, key);
}
EAPI void
EVAS_API void
evas_object_image_mmap_get(const Evas_Object *obj, const Eina_File **f, const char **key)
{
EVAS_IMAGE_API(obj);
efl_file_simple_mmap_get(obj, f, key);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_image_save(const Evas_Object *obj, const char *file, const char *key, const char *flags)
{
char *encoding = NULL;
@ -256,168 +256,168 @@ evas_object_image_save(const Evas_Object *obj, const char *file, const char *key
return ret;
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_image_animated_get(const Evas_Object *obj)
{
EVAS_IMAGE_API(obj, EINA_FALSE);
return _evas_image_animated_get(obj);
}
EAPI void
EVAS_API void
evas_object_image_animated_frame_set(Evas_Object *obj, int frame_index)
{
EVAS_IMAGE_API(obj);
_evas_image_animated_frame_set(obj, frame_index);
}
EAPI int
EVAS_API int
evas_object_image_animated_frame_get(Evas_Object *obj)
{
EVAS_IMAGE_API(obj, 0);
return _evas_image_animated_frame_get(obj);
}
EAPI int
EVAS_API int
evas_object_image_animated_frame_count_get(const Evas_Object *obj)
{
EVAS_IMAGE_API(obj, 0);
return _evas_image_animated_frame_count_get(obj);
}
EAPI Evas_Image_Animated_Loop_Hint
EVAS_API Evas_Image_Animated_Loop_Hint
evas_object_image_animated_loop_type_get(const Evas_Object *obj)
{
EVAS_IMAGE_API(obj, EVAS_IMAGE_ANIMATED_HINT_NONE);
return (Evas_Image_Animated_Loop_Hint) _evas_image_animated_loop_type_get(obj);
}
EAPI int
EVAS_API int
evas_object_image_animated_loop_count_get(const Evas_Object *obj)
{
EVAS_IMAGE_API(obj, 0);
return _evas_image_animated_loop_count_get(obj);
}
EAPI double
EVAS_API double
evas_object_image_animated_frame_duration_get(const Evas_Object *obj, int start_frame, int frame_num)
{
EVAS_IMAGE_API(obj, 0.0);
return _evas_image_animated_frame_duration_get(obj, start_frame, frame_num);
}
EAPI void
EVAS_API void
evas_object_image_load_size_set(Evas_Object *obj, int w, int h)
{
EVAS_IMAGE_API(obj);
_evas_image_load_size_set(obj, w, h);
}
EAPI void
EVAS_API void
evas_object_image_load_size_get(const Evas_Object *obj, int *w, int *h)
{
EVAS_IMAGE_API(obj);
_evas_image_load_size_get(obj, w, h);
}
EAPI void
EVAS_API void
evas_object_image_load_dpi_set(Evas_Object *obj, double dpi)
{
EVAS_IMAGE_API(obj);
_evas_image_load_dpi_set(obj, dpi);
}
EAPI double
EVAS_API double
evas_object_image_load_dpi_get(const Evas_Object *obj)
{
EVAS_IMAGE_API(obj, 0.0);
return _evas_image_load_dpi_get(obj);
}
EAPI void
EVAS_API void
evas_object_image_load_region_set(Evas_Object *obj, int x, int y, int w, int h)
{
EVAS_IMAGE_API(obj);
_evas_image_load_region_set(obj, x, y, w, h);
}
EAPI void
EVAS_API void
evas_object_image_load_region_get(const Evas_Object *obj, int *x, int *y, int *w, int *h)
{
EVAS_IMAGE_API(obj);
_evas_image_load_region_get(obj, x, y, w, h);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_image_region_support_get(const Evas_Object *obj)
{
EVAS_IMAGE_API(obj, EINA_FALSE);
return _evas_image_load_region_support_get(obj);
}
EAPI void
EVAS_API void
evas_object_image_load_orientation_set(Evas_Object *obj, Eina_Bool enable)
{
EVAS_IMAGE_API(obj);
_evas_image_load_orientation_set(obj, enable);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_image_load_orientation_get(const Evas_Object *obj)
{
EVAS_IMAGE_API(obj, EINA_FALSE);
return _evas_image_load_orientation_get(obj);
}
EAPI void
EVAS_API void
evas_object_image_load_scale_down_set(Evas_Object *obj, int scale_down)
{
EVAS_IMAGE_API(obj);
_evas_image_load_scale_down_set(obj, scale_down);
}
EAPI int
EVAS_API int
evas_object_image_load_scale_down_get(const Evas_Object *obj)
{
EVAS_IMAGE_API(obj, 1);
return _evas_image_load_scale_down_get(obj);
}
EAPI void
EVAS_API void
evas_object_image_load_head_skip_set(Evas_Object *obj, Eina_Bool skip)
{
EVAS_IMAGE_API(obj);
_evas_image_load_head_skip_set(obj, skip);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_image_load_head_skip_get(const Evas_Object *obj)
{
EVAS_IMAGE_API(obj, EINA_FALSE);
return _evas_image_load_head_skip_get(obj);
}
EAPI Evas_Load_Error
EVAS_API Evas_Load_Error
evas_object_image_load_error_get(const Evas_Object *obj)
{
EVAS_IMAGE_API(obj, EVAS_LOAD_ERROR_GENERIC);
return _efl_gfx_image_load_error_to_evas_load_error(efl_gfx_image_load_error_get(obj));
}
EAPI void
EVAS_API void
evas_object_image_smooth_scale_set(Evas_Object *obj, Eina_Bool smooth_scale)
{
EVAS_IMAGE_API(obj);
efl_gfx_image_smooth_scale_set(obj, smooth_scale);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_image_smooth_scale_get(const Evas_Object *obj)
{
EVAS_IMAGE_API(obj, EINA_FALSE);
return efl_gfx_image_smooth_scale_get(obj);
}
EAPI void
EVAS_API void
evas_object_image_orient_set(Evas_Object *obj, Evas_Image_Orient orient)
{
EVAS_IMAGE_API(obj);
@ -426,7 +426,7 @@ evas_object_image_orient_set(Evas_Object *obj, Evas_Image_Orient orient)
_evas_image_orientation_set(obj, o, orient);
}
EAPI Evas_Image_Orient
EVAS_API Evas_Image_Orient
evas_object_image_orient_get(const Evas_Object *obj)
{
EVAS_IMAGE_API(obj, EVAS_IMAGE_ORIENT_NONE);
@ -436,7 +436,7 @@ evas_object_image_orient_get(const Evas_Object *obj)
return o->cur->orient;
}
EAPI void
EVAS_API void
evas_object_image_snapshot_set(Evas_Object *eo, Eina_Bool s)
{
EVAS_IMAGE_API(eo);
@ -450,7 +450,7 @@ evas_object_image_snapshot_set(Evas_Object *eo, Eina_Bool s)
EINA_COW_STATE_WRITE_END(obj, state_write, cur);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_image_snapshot_get(const Evas_Object *eo)
{
EVAS_IMAGE_API(eo, EINA_FALSE);
@ -459,84 +459,84 @@ evas_object_image_snapshot_get(const Evas_Object *eo)
return obj->cur->snapshot;
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_image_source_set(Evas_Object *eo, Evas_Object *src)
{
EVAS_IMAGE_API(eo, EINA_FALSE);
return _evas_image_proxy_source_set(eo, src);
}
EAPI Evas_Object *
EVAS_API Evas_Object *
evas_object_image_source_get(const Evas_Object *eo)
{
EVAS_IMAGE_API(eo, NULL);
return _evas_image_proxy_source_get(eo);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_image_source_unset(Evas_Object *eo_obj)
{
EVAS_IMAGE_API(eo_obj, EINA_FALSE);
return _evas_image_proxy_source_set(eo_obj, NULL);
}
EAPI void
EVAS_API void
evas_object_image_source_clip_set(Evas_Object *eo, Eina_Bool source_clip)
{
EVAS_IMAGE_API(eo);
_evas_image_proxy_source_clip_set(eo, source_clip);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_image_source_clip_get(const Evas_Object *eo)
{
EVAS_IMAGE_API(eo, EINA_FALSE);
return _evas_image_proxy_source_clip_get(eo);
}
EAPI void
EVAS_API void
evas_object_image_source_events_set(Evas_Object *eo, Eina_Bool repeat)
{
EVAS_IMAGE_API(eo);
_evas_image_proxy_source_events_set(eo, repeat);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_image_source_events_get(const Evas_Object *eo)
{
EVAS_IMAGE_API(eo, EINA_FALSE);
return _evas_image_proxy_source_events_get(eo);
}
EAPI void
EVAS_API void
evas_object_image_content_hint_set(Evas_Object *obj, Evas_Image_Content_Hint hint)
{
EVAS_IMAGE_API(obj);
efl_gfx_image_content_hint_set(obj, (Efl_Gfx_Image_Content_Hint)hint);
}
EAPI Evas_Image_Content_Hint
EVAS_API Evas_Image_Content_Hint
evas_object_image_content_hint_get(const Evas_Object *obj)
{
EVAS_IMAGE_API(obj, EVAS_IMAGE_CONTENT_HINT_NONE);
return (Evas_Image_Content_Hint)efl_gfx_image_content_hint_get(obj);
}
EAPI void
EVAS_API void
evas_object_image_scale_hint_set(Evas_Object *obj, Evas_Image_Scale_Hint hint)
{
EVAS_IMAGE_API(obj);
return efl_gfx_image_scale_hint_set(obj, (Efl_Gfx_Image_Scale_Hint) hint);
}
EAPI Evas_Image_Scale_Hint
EVAS_API Evas_Image_Scale_Hint
evas_object_image_scale_hint_get(const Evas_Object *obj)
{
EVAS_IMAGE_API(obj, EVAS_IMAGE_SCALE_HINT_NONE);
return (Evas_Image_Scale_Hint) efl_gfx_image_scale_hint_get(obj);
}
EAPI void
EVAS_API void
evas_object_image_native_surface_set(Evas_Object *eo_obj, Evas_Native_Surface *surf)
{
EVAS_IMAGE_API(eo_obj);
@ -553,14 +553,14 @@ evas_object_image_native_surface_set(Evas_Object *eo_obj, Evas_Native_Surface *s
}
}
EAPI Evas_Native_Surface *
EVAS_API Evas_Native_Surface *
evas_object_image_native_surface_get(const Evas_Object *eo_obj)
{
EVAS_IMAGE_API(eo_obj, NULL);
return _evas_image_native_surface_get(eo_obj);
}
EAPI void
EVAS_API void
evas_object_image_pixels_get_callback_set(Eo *eo_obj, Evas_Object_Image_Pixels_Get_Cb func, void *data)
{
EVAS_IMAGE_API(eo_obj);
@ -577,7 +577,7 @@ evas_object_image_pixels_get_callback_set(Eo *eo_obj, Evas_Object_Image_Pixels_G
EINA_COW_PIXEL_WRITE_END(o, pixi_write);
}
EAPI void
EVAS_API void
evas_object_image_pixels_dirty_set(Eo *eo_obj, Eina_Bool dirty)
{
EVAS_IMAGE_API(eo_obj);
@ -596,7 +596,7 @@ evas_object_image_pixels_dirty_set(Eo *eo_obj, Eina_Bool dirty)
evas_object_change(eo_obj, obj);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_image_pixels_dirty_get(const Eo *eo_obj)
{
EVAS_IMAGE_API(eo_obj, EINA_FALSE);
@ -606,7 +606,7 @@ evas_object_image_pixels_dirty_get(const Eo *eo_obj)
return (o->dirty_pixels ? 1 : 0);
}
EAPI void
EVAS_API void
evas_object_image_data_set(Eo *eo_obj, void *data)
{
EVAS_IMAGE_API(eo_obj);
@ -713,7 +713,7 @@ _image_to_free_del_cb(void *data)
free(px_entry);
}
EAPI void*
EVAS_API void*
evas_object_image_data_get(const Eo *eo_obj, Eina_Bool for_writing)
{
EVAS_IMAGE_API(eo_obj, NULL);
@ -795,7 +795,7 @@ error:
return NULL;
}
EAPI void
EVAS_API void
evas_object_image_data_copy_set(Eo *eo_obj, void *data)
{
EVAS_IMAGE_API(eo_obj);
@ -843,7 +843,7 @@ evas_object_image_data_copy_set(Eo *eo_obj, void *data)
}
/* Evas_Object equivalent: pixels_set(null, w, h, cspace) to (re)allocate an image */
EAPI void
EVAS_API void
evas_object_image_size_set(Evas_Object *eo_obj, int w, int h)
{
EVAS_IMAGE_API(eo_obj);
@ -908,7 +908,7 @@ evas_object_image_size_set(Evas_Object *eo_obj, int w, int h)
}
/* Evas_Object equivalent: pixels_set(null, w, h, cspace) to (re)allocate an image */
EAPI void
EVAS_API void
evas_object_image_colorspace_set(Evas_Object *eo_obj, Evas_Colorspace cspace)
{
EVAS_IMAGE_API(eo_obj);
@ -929,7 +929,7 @@ evas_object_image_colorspace_set(Evas_Object *eo_obj, Evas_Colorspace cspace)
/* old video surfaces */
EAPI void
EVAS_API void
evas_object_image_video_surface_set(Evas_Object *eo_obj, Evas_Video_Surface *surf)
{
EVAS_IMAGE_LEGACY_API(eo_obj);
@ -990,7 +990,7 @@ evas_object_image_video_surface_set(Evas_Object *eo_obj, Evas_Video_Surface *sur
}
}
EAPI const Evas_Video_Surface*
EVAS_API const Evas_Video_Surface*
evas_object_image_video_surface_get(const Evas_Object *eo_obj)
{
EVAS_IMAGE_LEGACY_API(eo_obj, NULL);
@ -999,7 +999,7 @@ evas_object_image_video_surface_get(const Evas_Object *eo_obj)
return (!o->video_surface ? NULL : &o->pixels->video);
}
EAPI void
EVAS_API void
evas_object_image_video_surface_caps_set(Evas_Object *eo_obj, unsigned int caps)
{
EVAS_IMAGE_LEGACY_API(eo_obj);
@ -1018,7 +1018,7 @@ evas_object_image_video_surface_caps_set(Evas_Object *eo_obj, unsigned int caps)
EINA_COW_PIXEL_WRITE_END(o, pixi_write)
}
EAPI unsigned int
EVAS_API unsigned int
evas_object_image_video_surface_caps_get(const Evas_Object *eo_obj)
{
EVAS_IMAGE_LEGACY_API(eo_obj, 0);
@ -1032,7 +1032,7 @@ evas_object_image_video_surface_caps_get(const Evas_Object *eo_obj)
}
/* deprecated */
EAPI void
EVAS_API void
evas_object_image_fill_spread_set(Evas_Object *obj EINA_UNUSED, Evas_Fill_Spread spread)
{
/* not implemented! */
@ -1041,14 +1041,14 @@ evas_object_image_fill_spread_set(Evas_Object *obj EINA_UNUSED, Evas_Fill_Spread
}
/* deprecated */
EAPI Evas_Fill_Spread
EVAS_API Evas_Fill_Spread
evas_object_image_fill_spread_get(const Evas_Object *obj EINA_UNUSED)
{
return EFL_GFX_FILL_REPEAT;
}
/* deprecated */
EAPI void
EVAS_API void
evas_object_image_source_visible_set(Evas_Object *eo, Eina_Bool visible)
{
/* FIXME: I'd love to remove this feature and replace by no_render.
@ -1085,7 +1085,7 @@ evas_object_image_source_visible_set(Evas_Object *eo, Eina_Bool visible)
}
/* deprecated */
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_image_source_visible_get(const Evas_Object *eo)
{
/* FIXME: see evas_object_image_source_visible_set */
@ -1106,7 +1106,7 @@ evas_object_image_source_visible_get(const Evas_Object *eo)
}
/* deprecated */
EAPI void*
EVAS_API void*
evas_object_image_data_convert(Evas_Object *eo_obj, Evas_Colorspace to_cspace)
{
EVAS_IMAGE_LEGACY_API(eo_obj, NULL);
@ -1147,7 +1147,7 @@ evas_object_image_data_convert(Evas_Object *eo_obj, Evas_Colorspace to_cspace)
}
/* deprecated */
EAPI void
EVAS_API void
evas_object_image_reload(Evas_Object *eo_obj)
{
EVAS_IMAGE_LEGACY_API(eo_obj);
@ -1185,7 +1185,7 @@ evas_object_image_reload(Evas_Object *eo_obj)
}
/* deprecated */
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_image_pixels_import(Evas_Object *eo_obj, Evas_Pixel_Import_Source *pixels)
{
EVAS_IMAGE_LEGACY_API(eo_obj, EINA_FALSE);
@ -1262,7 +1262,7 @@ evas_object_image_pixels_import(Evas_Object *eo_obj, Evas_Pixel_Import_Source *p
return EINA_TRUE;
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_image_max_size_get(Eo *eo_e, int *w, int *h)
{
Eina_Size2D size;
@ -1278,7 +1278,7 @@ evas_image_max_size_get(Eo *eo_e, int *w, int *h)
}
/* deprecated */
EAPI void
EVAS_API void
evas_object_image_alpha_mask_set(Evas_Object *eo_obj EINA_UNUSED, Eina_Bool ismask EINA_UNUSED)
{
WRN("This function is not implemented, has never been and never will be.");

View File

@ -31,14 +31,14 @@ evas_key_lock_number(const Evas_Lock *l, const char *keyname)
/* public calls */
EAPI const Evas_Modifier*
EVAS_API const Evas_Modifier*
evas_key_modifier_get(const Evas *eo_e)
{
EVAS_LEGACY_API(eo_e, e, NULL);
return &(e->modifiers);
}
EAPI const Evas_Lock*
EVAS_API const Evas_Lock*
evas_key_lock_get(const Evas *eo_e)
{
EVAS_LEGACY_API(eo_e, e, NULL);
@ -60,7 +60,7 @@ _key_is_set(int n, Eina_Hash *masks, const Evas_Device *seat)
return 0;
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_seat_key_modifier_is_set(const Evas_Modifier *m, const char *keyname,
const Evas_Device *seat)
{
@ -72,21 +72,21 @@ evas_seat_key_modifier_is_set(const Evas_Modifier *m, const char *keyname,
return _key_is_set(evas_key_modifier_number(m, keyname), m->masks, seat);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_key_modifier_is_set(const Evas_Modifier *m, const char *keyname)
{
EINA_SAFETY_ON_NULL_RETURN_VAL(m, EINA_FALSE);
return evas_seat_key_modifier_is_set(m, keyname, NULL);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_key_lock_is_set(const Evas_Lock *l, const char *keyname)
{
EINA_SAFETY_ON_NULL_RETURN_VAL(l, EINA_FALSE);
return evas_seat_key_lock_is_set(l, keyname, NULL);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_seat_key_lock_is_set(const Evas_Lock *l, const char *keyname,
const Evas_Device *seat)
{
@ -267,7 +267,7 @@ _evas_canvas_key_lock_off(Eo *eo_e, Evas_Public_Data *e, const char *keyname)
/* errr need to add key grabbing/ungrabbing calls - missing modifier stuff. */
EAPI Evas_Modifier_Mask
EVAS_API Evas_Modifier_Mask
evas_key_modifier_mask_get(const Evas *eo_e, const char *keyname)
{
int n;

View File

@ -243,7 +243,7 @@ _efl_canvas_object_key_ungrab(Eo *eo_obj, Evas_Object_Protected_Data *obj,
// Legacy API
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_key_grab(Evas_Object *eo_obj, const char *keyname,
Evas_Modifier_Mask modifiers, Evas_Modifier_Mask not_modifiers,
Eina_Bool exclusive)
@ -256,7 +256,7 @@ evas_object_key_grab(Evas_Object *eo_obj, const char *keyname,
return _object_key_grab(eo_obj, obj, keyname, modifiers, not_modifiers, exclusive);
}
EAPI void
EVAS_API void
evas_object_key_ungrab(Efl_Canvas_Object *eo_obj, const char *keyname,
Evas_Modifier_Mask modifiers, Evas_Modifier_Mask not_modifiers)
{

View File

@ -208,7 +208,7 @@ _evas_object_layer_set_child(Evas_Object_Protected_Data *obj, Evas_Object_Protec
/* public functions */
EAPI void
EVAS_API void
evas_object_layer_set(Evas_Object *obj, short l)
{
efl_gfx_stack_layer_set((Evas_Object *)obj, l);
@ -265,7 +265,7 @@ _efl_canvas_object_efl_gfx_stack_layer_set(Eo *eo_obj, Evas_Object_Protected_Dat
evas_object_inform_call_restack(eo_obj, obj);
}
EAPI short
EVAS_API short
evas_object_layer_get(const Evas_Object *obj)
{
return efl_gfx_stack_layer_get((Evas_Object *)obj);

View File

@ -1,11 +1,11 @@
void _evas_line_xy_set(Eo *obj, Evas_Line_Data *pd, int x1, int y1, int x2, int y2);
EOAPI EFL_VOID_FUNC_BODYV(evas_obj_line_xy_set, EFL_FUNC_CALL(x1, y1, x2, y2), int x1, int y1, int x2, int y2);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV(evas_obj_line_xy_set, EFL_FUNC_CALL(x1, y1, x2, y2), int x1, int y1, int x2, int y2);
void _evas_line_xy_get(const Eo *obj, Evas_Line_Data *pd, int *x1, int *y1, int *x2, int *y2);
EOAPI EFL_VOID_FUNC_BODYV_CONST(evas_obj_line_xy_get, EFL_FUNC_CALL(x1, y1, x2, y2), int *x1, int *y1, int *x2, int *y2);
EVAS_API EVAS_API_WEAK EFL_VOID_FUNC_BODYV_CONST(evas_obj_line_xy_get, EFL_FUNC_CALL(x1, y1, x2, y2), int *x1, int *y1, int *x2, int *y2);
Efl_Object *_evas_line_efl_object_constructor(Eo *obj, Evas_Line_Data *pd);

View File

@ -19,7 +19,7 @@ typedef Eo Evas_Line;
*/
#define EVAS_LINE_CLASS evas_line_class_get()
EWAPI const Efl_Class *evas_line_class_get(void) EINA_CONST;
EVAS_API EVAS_API_WEAK const Efl_Class *evas_line_class_get(void) EINA_CONST;
/**
* @brief Sets the coordinates of the end points of the given evas line object.
@ -34,7 +34,7 @@ EWAPI const Efl_Class *evas_line_class_get(void) EINA_CONST;
*
* @ingroup Evas_Line
*/
EOAPI void evas_obj_line_xy_set(Eo *obj, int x1, int y1, int x2, int y2);
EVAS_API EVAS_API_WEAK void evas_obj_line_xy_set(Eo *obj, int x1, int y1, int x2, int y2);
/**
* @brief Retrieves the coordinates of the end points of the given evas line
@ -48,6 +48,6 @@ EOAPI void evas_obj_line_xy_set(Eo *obj, int x1, int y1, int x2, int y2);
*
* @ingroup Evas_Line
*/
EOAPI void evas_obj_line_xy_get(const Eo *obj, int *x1, int *y1, int *x2, int *y2);
EVAS_API EVAS_API_WEAK void evas_obj_line_xy_get(const Eo *obj, int *x1, int *y1, int *x2, int *y2);
#endif

View File

@ -1,11 +1,11 @@
EAPI void
EVAS_API void
evas_object_line_xy_set(Evas_Line *obj, int x1, int y1, int x2, int y2)
{
evas_obj_line_xy_set(obj, x1, y1, x2, y2);
}
EAPI void
EVAS_API void
evas_object_line_xy_get(const Evas_Line *obj, int *x1, int *y1, int *x2, int *y2)
{
evas_obj_line_xy_get(obj, x1, y1, x2, y2);

View File

@ -27,7 +27,7 @@ typedef Eo Evas_Line;
*
* @ingroup Evas_Object_Line_Group
*/
EAPI void evas_object_line_xy_set(Evas_Line *obj, int x1, int y1, int x2, int y2);
EVAS_API void evas_object_line_xy_set(Evas_Line *obj, int x1, int y1, int x2, int y2);
/**
* @brief Retrieves the coordinates of the end points of the given evas line
@ -41,6 +41,6 @@ EAPI void evas_object_line_xy_set(Evas_Line *obj, int x1, int y1, int x2, int y2
*
* @ingroup Evas_Object_Line_Group
*/
EAPI void evas_object_line_xy_get(const Evas_Line *obj, int *x1, int *y1, int *x2, int *y2);
EVAS_API void evas_object_line_xy_get(const Evas_Line *obj, int *x1, int *y1, int *x2, int *y2);
#endif

View File

@ -19,24 +19,24 @@
#define MY_CLASS EVAS_CANVAS_CLASS
#ifdef LKDEBUG
EAPI Eina_Bool lockdebug = EINA_FALSE;
EAPI int lockmax = 0;
EVAS_API Eina_Bool lockdebug = EINA_FALSE;
EVAS_API int lockmax = 0;
#endif
static int _evas_init_count = 0;
int _evas_log_dom_global = -1;
EAPI Eina_Error EFL_GFX_IMAGE_LOAD_ERROR_NONE = 0;
EAPI Eina_Error EFL_GFX_IMAGE_LOAD_ERROR_GENERIC = 0;
EAPI Eina_Error EFL_GFX_IMAGE_LOAD_ERROR_DOES_NOT_EXIST = 0;
EAPI Eina_Error EFL_GFX_IMAGE_LOAD_ERROR_PERMISSION_DENIED = 0;
EAPI Eina_Error EFL_GFX_IMAGE_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED = 0;
EAPI Eina_Error EFL_GFX_IMAGE_LOAD_ERROR_CORRUPT_FILE = 0;
EAPI Eina_Error EFL_GFX_IMAGE_LOAD_ERROR_UNKNOWN_FORMAT = 0;
EAPI Eina_Error EFL_GFX_IMAGE_LOAD_ERROR_CANCELLED = 0;
EAPI Eina_Error EFL_GFX_IMAGE_LOAD_ERROR_INCOMPATIBLE_FILE = 0;
EAPI Eina_Error EFL_GFX_IMAGE_LOAD_ERROR_UNKNOWN_COLLECTION = 0;
EAPI Eina_Error EFL_GFX_IMAGE_LOAD_ERROR_RECURSIVE_REFERENCE = 0;
EVAS_API Eina_Error EFL_GFX_IMAGE_LOAD_ERROR_NONE = 0;
EVAS_API Eina_Error EFL_GFX_IMAGE_LOAD_ERROR_GENERIC = 0;
EVAS_API Eina_Error EFL_GFX_IMAGE_LOAD_ERROR_DOES_NOT_EXIST = 0;
EVAS_API Eina_Error EFL_GFX_IMAGE_LOAD_ERROR_PERMISSION_DENIED = 0;
EVAS_API Eina_Error EFL_GFX_IMAGE_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED = 0;
EVAS_API Eina_Error EFL_GFX_IMAGE_LOAD_ERROR_CORRUPT_FILE = 0;
EVAS_API Eina_Error EFL_GFX_IMAGE_LOAD_ERROR_UNKNOWN_FORMAT = 0;
EVAS_API Eina_Error EFL_GFX_IMAGE_LOAD_ERROR_CANCELLED = 0;
EVAS_API Eina_Error EFL_GFX_IMAGE_LOAD_ERROR_INCOMPATIBLE_FILE = 0;
EVAS_API Eina_Error EFL_GFX_IMAGE_LOAD_ERROR_UNKNOWN_COLLECTION = 0;
EVAS_API Eina_Error EFL_GFX_IMAGE_LOAD_ERROR_RECURSIVE_REFERENCE = 0;
#define NUM_ERRORS 11
@ -148,7 +148,7 @@ _utf8_to_markup(Eina_Content *from, const char *to_type)
return ret;
}
EAPI int
EVAS_API int
evas_init(void)
{
if (++_evas_init_count != 1)
@ -235,7 +235,7 @@ shutdown_evil:
return --_evas_init_count;
}
EAPI int
EVAS_API int
evas_shutdown(void)
{
if (_evas_init_count <= 0)
@ -305,7 +305,7 @@ evas_shutdown(void)
}
EAPI Evas *
EVAS_API Evas *
evas_new(void)
{
Evas_Object *eo_obj = efl_add(EVAS_CANVAS_CLASS, efl_main_loop_get());
@ -387,7 +387,7 @@ _evas_canvas_efl_object_constructor(Eo *eo_obj, Evas_Public_Data *e)
return eo_obj;
}
EAPI void
EVAS_API void
evas_free(Evas *eo_e)
{
if (!eo_e) return;
@ -673,7 +673,7 @@ _evas_canvas_efl_object_destructor(Eo *eo_e, Evas_Public_Data *e)
// It is now expected that the first output in the list is the default one
// manipulated by this set of legacy API
EAPI Evas_Engine_Info *
EVAS_API Evas_Engine_Info *
evas_engine_info_get(const Evas *obj)
{
if (!obj) return NULL;
@ -692,7 +692,7 @@ evas_engine_info_get(const Evas *obj)
return efl_canvas_output_engine_info_get(output);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_engine_info_set(Evas *obj, Evas_Engine_Info *info)
{
if (!obj) return EINA_FALSE;
@ -750,7 +750,7 @@ _evas_canvas_default_device_get(const Eo *eo_e EINA_UNUSED,
return NULL;
}
EAPI int
EVAS_API int
evas_render_method_lookup(const char *name)
{
Evas_Module *em;
@ -763,13 +763,13 @@ evas_render_method_lookup(const char *name)
return em->id_engine;
}
EAPI Eina_List *
EVAS_API Eina_List *
evas_render_method_list(void)
{
return evas_module_engine_list();
}
EAPI void
EVAS_API void
evas_render_method_list_free(Eina_List *list)
{
const char *s;
@ -777,7 +777,7 @@ evas_render_method_list_free(Eina_List *list)
EINA_LIST_FREE(list, s) eina_stringshare_del(s);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_image_extension_can_load_get(const char *file)
{
const char *tmp;
@ -790,7 +790,7 @@ evas_object_image_extension_can_load_get(const char *file)
return result;
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_image_extension_can_load_fast_get(const char *file)
{
return evas_common_extension_can_load_get(file);
@ -970,7 +970,7 @@ _evas_unwalk(Evas_Public_Data *e)
efl_unref(e->evas);
}
EAPI const char *
EVAS_API const char *
evas_load_error_str(Evas_Load_Error error)
{
switch (error)
@ -994,38 +994,38 @@ evas_load_error_str(Evas_Load_Error error)
}
}
EAPI void
EVAS_API void
evas_color_hsv_to_rgb(float h, float s, float v, int *r, int *g, int *b)
{
evas_common_convert_color_hsv_to_rgb(h, s, v, r, g, b);
}
EAPI void
EVAS_API void
evas_color_rgb_to_hsv(int r, int g, int b, float *h, float *s, float *v)
{
evas_common_convert_color_rgb_to_hsv(r, g, b, h, s, v);
}
EAPI void
EVAS_API void
evas_color_argb_premul(int a, int *r, int *g, int *b)
{
evas_common_convert_color_argb_premul(a, r, g, b);
}
EAPI void
EVAS_API void
evas_color_argb_unpremul(int a, int *r, int *g, int *b)
{
evas_common_convert_color_argb_unpremul(a, r, g, b);
}
EAPI void
EVAS_API void
evas_data_argb_premul(unsigned int *data, unsigned int len)
{
if (!data || (len < 1)) return;
evas_common_convert_argb_premul(data, len);
}
EAPI void
EVAS_API void
evas_data_argb_unpremul(unsigned int *data, unsigned int len)
{
if (!data || (len < 1)) return;
@ -1060,13 +1060,13 @@ evas_ector_get(Evas_Public_Data *e)
return e->ector;
}
EAPI Evas_BiDi_Direction
EVAS_API Evas_BiDi_Direction
evas_language_direction_get(void)
{
return evas_common_language_direction_get();
}
EAPI void
EVAS_API void
evas_language_reinit(void)
{
evas_common_language_reinit();
@ -1102,7 +1102,7 @@ _image_data_unset(Evas_Object_Protected_Data *obj, Eina_List **list)
*list = eina_list_append(*list, obj->object);
}
EAPI Eina_List *
EVAS_API Eina_List *
_evas_canvas_image_data_unset(Evas *eo_e)
{
Evas_Public_Data *e = efl_data_scope_get(eo_e, MY_CLASS);
@ -1156,7 +1156,7 @@ _image_data_regenerate(Evas_Object *eo_obj)
//else CHECK(EFL_CANVAS_POLYGON_CLASS, Efl_Canvas_Polygon_Data,)
}
EAPI void
EVAS_API void
_evas_canvas_image_data_regenerate(Eina_List *list)
{
Evas_Object *eo_obj;
@ -1256,7 +1256,7 @@ _evas_canvas_efl_canvas_scene_image_max_size_get(const Eo *eo_e EINA_UNUSED, Eva
/* Legacy deprecated functions */
EAPI void
EVAS_API void
evas_output_framespace_set(Evas *eo_e, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h)
{
EVAS_TYPE_CHECK(eo_e);
@ -1275,7 +1275,7 @@ evas_output_framespace_set(Evas *eo_e, Evas_Coord x, Evas_Coord y, Evas_Coord w,
e->changed = 1;
}
EAPI void
EVAS_API void
evas_output_framespace_get(const Evas *eo_e, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h)
{
EVAS_TYPE_CHECK(eo_e);
@ -1288,7 +1288,7 @@ evas_output_framespace_get(const Evas *eo_e, Evas_Coord *x, Evas_Coord *y, Evas_
if (h) *h = e->framespace.h;
}
EAPI void
EVAS_API void
evas_output_method_set(Evas *eo_e, int render_method)
{
EVAS_TYPE_CHECK(eo_e);
@ -1360,7 +1360,7 @@ evas_output_method_set(Evas *eo_e, int render_method)
EVAS_DEVICE_SUBCLASS_NONE);
}
EAPI int
EVAS_API int
evas_output_method_get(const Evas *eo_e)
{
EVAS_TYPE_CHECK(eo_e, RENDER_METHOD_INVALID);
@ -1370,7 +1370,7 @@ evas_output_method_get(const Evas *eo_e)
return e->output.render_method;
}
EAPI void
EVAS_API void
evas_output_size_set(Evas *eo_e, int w, int h)
{
EVAS_TYPE_CHECK(eo_e);
@ -1398,7 +1398,7 @@ evas_output_size_set(Evas *eo_e, int w, int h)
evas_render_invalidate(eo_e);
}
EAPI void
EVAS_API void
evas_output_size_get(const Evas *eo_e, int *w, int *h)
{
EVAS_TYPE_CHECK(eo_e);
@ -1409,7 +1409,7 @@ evas_output_size_get(const Evas *eo_e, int *w, int *h)
if (h) *h = e->output.h;
}
EAPI void
EVAS_API void
evas_output_viewport_set(Evas *eo_e, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h)
{
EVAS_TYPE_CHECK(eo_e);
@ -1437,7 +1437,7 @@ evas_output_viewport_set(Evas *eo_e, Evas_Coord x, Evas_Coord y, Evas_Coord w, E
evas_event_callback_call(e->evas, EVAS_CALLBACK_CANVAS_VIEWPORT_RESIZE, NULL);
}
EAPI void
EVAS_API void
evas_output_viewport_get(const Evas *eo_e, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h)
{
EVAS_TYPE_CHECK(eo_e);
@ -1606,7 +1606,7 @@ _efl_canvas_iterator_free(Efl_Canvas_Iterator *it)
free(it);
}
EAPI Eina_Iterator *
EVAS_API Eina_Iterator *
efl_canvas_iterator_create(Eo *obj, Eina_Iterator *real_iterator, Eina_List *list)
{
Efl_Canvas_Iterator *it;
@ -1662,14 +1662,14 @@ _evas_canvas_efl_canvas_scene_object_top_at_xy_get(const Eo *eo_e EINA_UNUSED, E
return NULL;
}
EAPI Evas_Object*
EVAS_API Evas_Object*
evas_object_top_at_xy_get(Eo *eo_e, Evas_Coord x, Evas_Coord y, Eina_Bool include_pass_events_objects, Eina_Bool include_hidden_objects)
{
Eina_Position2D pos = {x, y};
return efl_canvas_scene_object_top_at_xy_get(eo_e, pos, include_pass_events_objects, include_hidden_objects);
}
EAPI Evas_Object *
EVAS_API Evas_Object *
evas_object_top_at_pointer_get(const Evas *eo_e)
{
Evas_Public_Data *e = efl_isa(eo_e, EVAS_CANVAS_CLASS) ?
@ -1721,7 +1721,7 @@ _evas_canvas_efl_canvas_scene_object_top_in_rectangle_get(const Eo *eo_e EINA_UN
return NULL;
}
EAPI Evas_Object *
EVAS_API Evas_Object *
evas_object_top_in_rectangle_get(const Eo *obj, int x, int y, int w, int h, Eina_Bool include_pass_events_objects, Eina_Bool include_hidden_objects)
{
return efl_canvas_scene_object_top_in_rectangle_get(obj, EINA_RECT(x, y, w, h), include_pass_events_objects, include_hidden_objects);
@ -1848,7 +1848,7 @@ _evas_canvas_efl_canvas_scene_objects_in_rectangle_get(Eo *eo_e EINA_UNUSED, Eva
return efl_canvas_iterator_create(eo_e, eina_list_iterator_new(l), l);
}
EAPI Eina_List *
EVAS_API Eina_List *
evas_objects_in_rectangle_get(const Evas_Canvas *eo_e, int x, int y, int w, int h, Eina_Bool include_pass_events_objects, Eina_Bool include_hidden_objects)
{
EVAS_LEGACY_API(eo_e, e, NULL);
@ -1941,7 +1941,7 @@ evas_font_object_rehint(Evas_Object *eo_obj)
}
}
EAPI void
EVAS_API void
evas_font_hinting_set(Eo *eo_e, Evas_Font_Hinting_Flags hinting)
{
Evas_Layer *lay;
@ -1960,14 +1960,14 @@ evas_font_hinting_set(Eo *eo_e, Evas_Font_Hinting_Flags hinting)
}
}
EAPI Evas_Font_Hinting_Flags
EVAS_API Evas_Font_Hinting_Flags
evas_font_hinting_get(const Evas *eo_e)
{
EVAS_LEGACY_API(eo_e, e, EVAS_FONT_HINTING_NONE);
return e->hinting;
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_font_hinting_can_hint(const Evas *eo_e, Evas_Font_Hinting_Flags hinting)
{
EVAS_LEGACY_API(eo_e, e, EINA_FALSE);
@ -1977,7 +1977,7 @@ evas_font_hinting_can_hint(const Evas *eo_e, Evas_Font_Hinting_Flags hinting)
else return EINA_FALSE;
}
EAPI void
EVAS_API void
evas_font_available_list_free(Evas *eo_e, Eina_List *available)
{
EVAS_TYPE_CHECK(eo_e);
@ -1992,7 +1992,7 @@ _evas_canvas_efl_canvas_scene_group_objects_calculate(Eo *eo_e, Evas_Public_Data
evas_call_smarts_calculate(eo_e);
}
EAPI void
EVAS_API void
evas_smart_objects_calculate(Eo *eo_e)
{
EVAS_TYPE_CHECK(eo_e);
@ -2005,7 +2005,7 @@ _evas_canvas_efl_canvas_scene_group_objects_calculating_get(const Eo *eo_e EINA_
return !!e->in_smart_calc;
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_smart_objects_calculating_get(const Eo *obj)
{
EVAS_TYPE_CHECK(obj, EINA_FALSE);
@ -2017,23 +2017,23 @@ _evas_canvas_smart_objects_calculate_count_get(const Eo *eo_e EINA_UNUSED, Evas_
{
return e->smart_calc_count;
}
/* Legacy EAPI */
/* Legacy EVAS_API */
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_pointer_inside_get(const Evas *obj)
{
EVAS_TYPE_CHECK(obj, EINA_FALSE);
return efl_canvas_pointer_inside_get(obj, NULL);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_pointer_inside_by_device_get(const Evas *obj, Eo *dev)
{
EVAS_TYPE_CHECK(obj, EINA_FALSE);
return efl_canvas_pointer_inside_get(obj, dev);
}
EAPI Eina_List*
EVAS_API Eina_List*
evas_objects_at_xy_get(Eo *eo_e, int x, int y, Eina_Bool include_pass_events_objects, Eina_Bool include_hidden_objects)
{
EVAS_TYPE_CHECK(eo_e, NULL);
@ -2041,13 +2041,13 @@ evas_objects_at_xy_get(Eo *eo_e, int x, int y, Eina_Bool include_pass_events_obj
}
/* Internal EO APIs */
EWAPI const Efl_Event_Description _EVAS_CANVAS_EVENT_RENDER_FLUSH_PRE =
EVAS_API EVAS_API_WEAK const Efl_Event_Description _EVAS_CANVAS_EVENT_RENDER_FLUSH_PRE =
EFL_EVENT_DESCRIPTION("render,flush,pre");
EWAPI const Efl_Event_Description _EVAS_CANVAS_EVENT_RENDER_FLUSH_POST =
EVAS_API EVAS_API_WEAK const Efl_Event_Description _EVAS_CANVAS_EVENT_RENDER_FLUSH_POST =
EFL_EVENT_DESCRIPTION("render,flush,post");
EWAPI const Efl_Event_Description _EVAS_CANVAS_EVENT_AXIS_UPDATE =
EVAS_API EVAS_API_WEAK const Efl_Event_Description _EVAS_CANVAS_EVENT_AXIS_UPDATE =
EFL_EVENT_DESCRIPTION("axis,update");
EWAPI const Efl_Event_Description _EVAS_CANVAS_EVENT_VIEWPORT_RESIZE =
EVAS_API EVAS_API_WEAK const Efl_Event_Description _EVAS_CANVAS_EVENT_VIEWPORT_RESIZE =
EFL_EVENT_DESCRIPTION("viewport,resize");
#define CHECK_ADD(var, ev, member) \

View File

@ -244,7 +244,7 @@ _evas_map_free(Evas_Object *eo_obj, Evas_Map *m)
free(m);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_map_coords_get(const Evas_Map *m, double x, double y,
double *mx, double *my, int grab)
{
@ -512,7 +512,7 @@ _evas_object_map_enable_set(Eo *eo_obj, Evas_Object_Protected_Data *obj,
}
}
EAPI void
EVAS_API void
evas_object_map_enable_set(Eo *eo_obj, Eina_Bool enabled)
{
Evas_Object_Protected_Data *obj = EVAS_OBJ_GET_OR_RETURN(eo_obj);
@ -520,7 +520,7 @@ evas_object_map_enable_set(Eo *eo_obj, Eina_Bool enabled)
_evas_object_map_enable_set(eo_obj, obj, enabled);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_map_enable_get(const Eo *eo_obj)
{
Evas_Object_Protected_Data *obj = EVAS_OBJ_GET_OR_RETURN(eo_obj, EINA_FALSE);
@ -528,7 +528,7 @@ evas_object_map_enable_get(const Eo *eo_obj)
return obj->map->cur.usemap;
}
EAPI void
EVAS_API void
evas_object_map_set(Evas_Object *eo_obj, const Evas_Map *map)
{
Evas_Object_Protected_Data *obj = EVAS_OBJ_GET_OR_RETURN(eo_obj);
@ -645,7 +645,7 @@ evas_object_map_set(Evas_Object *eo_obj, const Evas_Map *map)
_evas_map_calc_map_geometry(eo_obj);
}
EAPI const Evas_Map *
EVAS_API const Evas_Map *
evas_object_map_get(const Evas_Object *eo_obj)
{
Evas_Object_Protected_Data *obj = EVAS_OBJ_GET_OR_RETURN((Eo *) eo_obj, NULL);
@ -654,7 +654,7 @@ evas_object_map_get(const Evas_Object *eo_obj)
return obj->map->cur.map;
}
EAPI Evas_Map *
EVAS_API Evas_Map *
evas_map_new(int count)
{
if ((count <= 0) || (count % 4 != 0))
@ -666,7 +666,7 @@ evas_map_new(int count)
return _evas_map_new(count, EINA_FALSE);
}
EAPI void
EVAS_API void
evas_map_smooth_set(Evas_Map *m, Eina_Bool enabled)
{
MAGIC_CHECK(m, Evas_Map, MAGIC_MAP);
@ -676,7 +676,7 @@ evas_map_smooth_set(Evas_Map *m, Eina_Bool enabled)
m->smooth = enabled;
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_map_smooth_get(const Evas_Map *m)
{
MAGIC_CHECK(m, Evas_Map, MAGIC_MAP);
@ -686,7 +686,7 @@ evas_map_smooth_get(const Evas_Map *m)
return m->smooth;
}
EAPI void
EVAS_API void
evas_map_alpha_set(Evas_Map *m, Eina_Bool enabled)
{
MAGIC_CHECK(m, Evas_Map, MAGIC_MAP);
@ -696,7 +696,7 @@ evas_map_alpha_set(Evas_Map *m, Eina_Bool enabled)
m->alpha = enabled;
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_map_alpha_get(const Evas_Map *m)
{
MAGIC_CHECK(m, Evas_Map, MAGIC_MAP);
@ -706,7 +706,7 @@ evas_map_alpha_get(const Evas_Map *m)
return m->alpha;
}
EAPI void
EVAS_API void
evas_map_util_object_move_sync_set(Evas_Map *m, Eina_Bool enabled)
{
MAGIC_CHECK(m, Evas_Map, MAGIC_MAP);
@ -721,7 +721,7 @@ evas_map_util_object_move_sync_set(Evas_Map *m, Eina_Bool enabled)
m->move_sync.enabled = !!enabled;
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_map_util_object_move_sync_get(const Evas_Map *m)
{
MAGIC_CHECK(m, Evas_Map, MAGIC_MAP);
@ -731,7 +731,7 @@ evas_map_util_object_move_sync_get(const Evas_Map *m)
return m->move_sync.enabled;
}
EAPI Evas_Map *
EVAS_API Evas_Map *
evas_map_dup(const Evas_Map *m)
{
MAGIC_CHECK(m, Evas_Map, MAGIC_MAP);
@ -741,14 +741,14 @@ evas_map_dup(const Evas_Map *m)
return _evas_map_dup(m);
}
EAPI void
EVAS_API void
evas_map_free(Evas_Map *m)
{
if (!m) return;
_evas_map_free(NULL, m);
}
EAPI int
EVAS_API int
evas_map_count_get(const Evas_Map *m)
{
MAGIC_CHECK(m, Evas_Map, MAGIC_MAP);
@ -762,7 +762,7 @@ evas_map_count_get(const Evas_Map *m)
Rotation center position will be flickered by rounding problem.
Now fixed in EO APIs.
*/
EAPI void
EVAS_API void
evas_map_point_coord_set(Evas_Map *m, int idx, Evas_Coord x, Evas_Coord y, Evas_Coord z)
{
MAGIC_CHECK(m, Evas_Map, MAGIC_MAP);
@ -772,7 +772,7 @@ evas_map_point_coord_set(Evas_Map *m, int idx, Evas_Coord x, Evas_Coord y, Evas_
_map_point_coord_set(m, idx, x, y, z);
}
EAPI void
EVAS_API void
evas_map_point_coord_get(const Evas_Map *m, int idx, Evas_Coord *x, Evas_Coord *y, Evas_Coord *z)
{
double dx, dy, dz;
@ -783,7 +783,7 @@ evas_map_point_coord_get(const Evas_Map *m, int idx, Evas_Coord *x, Evas_Coord *
if (z) *z = lround(dz);
}
EAPI void
EVAS_API void
evas_map_point_image_uv_set(Evas_Map *m, int idx, double u, double v)
{
MAGIC_CHECK(m, Evas_Map, MAGIC_MAP);
@ -798,7 +798,7 @@ evas_map_point_image_uv_set(Evas_Map *m, int idx, double u, double v)
p->v = v;
}
EAPI void
EVAS_API void
evas_map_point_image_uv_get(const Evas_Map *m, int idx, double *u, double *v)
{
MAGIC_CHECK(m, Evas_Map, MAGIC_MAP);
@ -818,7 +818,7 @@ evas_map_point_image_uv_get(const Evas_Map *m, int idx, double *u, double *v)
if (v) *v = 0.0;
}
EAPI void
EVAS_API void
evas_map_point_color_set(Evas_Map *m, int idx, int r, int g, int b, int a)
{
MAGIC_CHECK(m, Evas_Map, MAGIC_MAP);
@ -835,7 +835,7 @@ evas_map_point_color_set(Evas_Map *m, int idx, int r, int g, int b, int a)
p->a = a;
}
EAPI void
EVAS_API void
evas_map_point_color_get(const Evas_Map *m, int idx, int *r, int *g, int *b, int *a)
{
MAGIC_CHECK(m, Evas_Map, MAGIC_MAP);
@ -859,7 +859,7 @@ error:
if (a) *a = 255;
}
EAPI void
EVAS_API void
evas_map_util_points_populate_from_object_full(Evas_Map *m, const Evas_Object *eo_obj, Evas_Coord z)
{
MAGIC_CHECK(m, Evas_Map, MAGIC_MAP);
@ -881,7 +881,7 @@ evas_map_util_points_populate_from_object_full(Evas_Map *m, const Evas_Object *e
obj->cur->geometry.w, obj->cur->geometry.h, z);
}
EAPI void
EVAS_API void
evas_map_util_points_populate_from_object(Evas_Map *m, const Evas_Object *eo_obj)
{
MAGIC_CHECK(m, Evas_Map, MAGIC_MAP);
@ -903,7 +903,7 @@ evas_map_util_points_populate_from_object(Evas_Map *m, const Evas_Object *eo_obj
obj->cur->geometry.w, obj->cur->geometry.h, 0);
}
EAPI void
EVAS_API void
evas_map_util_points_populate_from_geometry(Evas_Map *m, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h, Evas_Coord z)
{
MAGIC_CHECK(m, Evas_Map, MAGIC_MAP);
@ -918,7 +918,7 @@ evas_map_util_points_populate_from_geometry(Evas_Map *m, Evas_Coord x, Evas_Coor
_evas_map_util_points_populate(m, x, y, w, h, z);
}
EAPI void
EVAS_API void
evas_map_util_points_color_set(Evas_Map *m, int r, int g, int b, int a)
{
MAGIC_CHECK(m, Evas_Map, MAGIC_MAP);
@ -964,7 +964,7 @@ _map_util_rotate(Evas_Map *m, double degrees, double cx, double cy)
}
}
EAPI void
EVAS_API void
evas_map_util_rotate(Evas_Map *m, double degrees, Evas_Coord cx, Evas_Coord cy)
{
MAGIC_CHECK(m, Evas_Map, MAGIC_MAP);
@ -997,7 +997,7 @@ _map_util_zoom(Evas_Map *m, double zoomx, double zoomy, double cx, double cy)
}
}
EAPI void
EVAS_API void
evas_map_util_zoom(Evas_Map *m, double zoomx, double zoomy, Evas_Coord cx, Evas_Coord cy)
{
MAGIC_CHECK(m, Evas_Map, MAGIC_MAP);
@ -1073,7 +1073,7 @@ _map_util_3d_rotate(Evas_Map *m, double dx, double dy, double dz,
}
}
EAPI void
EVAS_API void
evas_map_util_3d_rotate(Evas_Map *m, double dx, double dy, double dz,
Evas_Coord cx, Evas_Coord cy, Evas_Coord cz)
{
@ -1125,7 +1125,7 @@ _map_util_quat_rotate(Evas_Map *m, double qx, double qy, double qz,
}
}
EAPI void
EVAS_API void
evas_map_util_quat_rotate(Evas_Map *m, double qx, double qy, double qz,
double qw, double cx, double cy, double cz)
{
@ -1211,7 +1211,7 @@ _map_util_3d_lighting(Evas_Map *m,
}
}
EAPI void
EVAS_API void
evas_map_util_3d_lighting(Evas_Map *m,
Evas_Coord lx, Evas_Coord ly, Evas_Coord lz,
int lr, int lg, int lb, int ar, int ag, int ab)
@ -1259,7 +1259,7 @@ _map_util_3d_perspective(Evas_Map *m, double px, double py, double z0, double fo
}
}
EAPI void
EVAS_API void
evas_map_util_3d_perspective(Evas_Map *m,
Evas_Coord px, Evas_Coord py,
Evas_Coord z0, Evas_Coord foc)
@ -1271,7 +1271,7 @@ evas_map_util_3d_perspective(Evas_Map *m,
_map_util_3d_perspective(m, (double) px, (double) py, (double) z0, (double) foc);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_map_util_clockwise_get(Evas_Map *m)
{
MAGIC_CHECK(m, Evas_Map, MAGIC_MAP);

View File

@ -1,7 +1,7 @@
#include "evas_common_private.h"
#include "evas_private.h"
EAPI void
EVAS_API void
evas_object_name_set(Evas_Object *eo_obj, const char *name)
{
Evas_Object_Protected_Data *obj = efl_isa(eo_obj, EFL_CANVAS_OBJECT_CLASS) ?
@ -22,7 +22,7 @@ evas_object_name_set(Evas_Object *eo_obj, const char *name)
}
}
EAPI const char *
EVAS_API const char *
evas_object_name_get(const Evas_Object *eo_obj)
{
Evas_Object_Protected_Data *obj = efl_isa(eo_obj, EFL_CANVAS_OBJECT_CLASS) ?
@ -60,7 +60,7 @@ _priv_evas_object_name_child_find(const Evas_Object *eo_obj, const char *name, i
return NULL;
}
EAPI Evas_Object *
EVAS_API Evas_Object *
evas_object_name_child_find(const Evas_Object *eo_obj, const char *name, int recurse)
{
return (!name ? NULL : _priv_evas_object_name_child_find(eo_obj, name, recurse));

View File

@ -477,7 +477,7 @@ _evas_box_efl_canvas_group_group_calculate(Eo *o, Evas_Object_Box_Data *priv)
ERR("No layout function set for %p box.", o);
}
EAPI Evas_Object *
EVAS_API Evas_Object *
evas_object_box_add(Evas *evas)
{
evas = evas_find(evas);
@ -509,13 +509,13 @@ _evas_box_add_to(Eo *parent, Evas_Object_Box_Data *_pd EINA_UNUSED)
return o;
}
EAPI void
EVAS_API void
evas_object_box_smart_set(Evas_Object_Box_Api *api EINA_UNUSED)
{
return;
}
EAPI const Evas_Object_Box_Api *
EVAS_API const Evas_Object_Box_Api *
evas_object_box_smart_class_get(void)
{
return NULL;
@ -1920,7 +1920,7 @@ _evas_box_accessor_new(const Eo *o, Evas_Object_Box_Data *priv)
return &it->accessor;
}
EAPI Eina_List *
EVAS_API Eina_List *
evas_object_box_children_get(const Evas_Object *o)
{
Eina_List *new_list = NULL, *l;
@ -1953,7 +1953,7 @@ _evas_box_option_property_id_get(const Eo *o EINA_UNUSED, Evas_Object_Box_Data *
return -1;
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_box_option_property_set(Evas_Object *o, Evas_Object_Box_Option *opt, int property, ...)
{
Eina_Bool ret;
@ -1967,7 +1967,7 @@ evas_object_box_option_property_set(Evas_Object *o, Evas_Object_Box_Option *opt,
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_box_option_property_vset(Evas_Object *o, Evas_Object_Box_Option *opt, int property, va_list args)
{
return evas_obj_box_option_property_vset(o, opt, property, (va_list *) &args);
@ -1979,7 +1979,7 @@ _evas_box_option_property_vset(Eo *o EINA_UNUSED, Evas_Object_Box_Data *_pd EINA
return EINA_FALSE;
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_box_option_property_get(const Evas_Object *o, Evas_Object_Box_Option *opt, int property, ...)
{
Eina_Bool ret;
@ -1992,7 +1992,7 @@ evas_object_box_option_property_get(const Evas_Object *o, Evas_Object_Box_Option
return ret;
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_box_option_property_vget(const Evas_Object *o, Evas_Object_Box_Option *opt, int property, va_list args)
{
return evas_obj_box_option_property_vget((Eo *)o, opt, property, (va_list *) &args);

View File

@ -273,7 +273,7 @@ _evas_object_grid_smart_set_user(Evas_Smart_Class *sc)
sc->calculate = _evas_object_grid_smart_calculate;
}
EAPI Evas_Object *
EVAS_API Evas_Object *
evas_object_grid_add(Evas *evas)
{
evas = evas_find(evas);
@ -498,13 +498,13 @@ _evas_grid_efl_ui_i18n_mirrored_set(Eo *o EINA_UNUSED, Evas_Grid_Data *priv, Ein
}
}
EAPI void
EVAS_API void
evas_object_grid_mirrored_set(Evas_Grid *obj, Eina_Bool mirrored)
{
efl_ui_mirrored_set(obj, mirrored);
}
EAPI Eina_Bool
EVAS_API Eina_Bool
evas_object_grid_mirrored_get(const Evas_Grid *obj)
{
return efl_ui_mirrored_get(obj);

View File

@ -3,13 +3,13 @@
#include "evas_private.h"
/* BEGIN: events to maintain compatibility with legacy */
EWAPI const Efl_Event_Description _EFL_GFX_ENTITY_EVENT_SHOW =
EVAS_API EVAS_API_WEAK const Efl_Event_Description _EFL_GFX_ENTITY_EVENT_SHOW =
EFL_EVENT_DESCRIPTION("show");
EWAPI const Efl_Event_Description _EFL_GFX_ENTITY_EVENT_HIDE =
EVAS_API EVAS_API_WEAK const Efl_Event_Description _EFL_GFX_ENTITY_EVENT_HIDE =
EFL_EVENT_DESCRIPTION("hide");
EWAPI const Efl_Event_Description _EFL_GFX_ENTITY_EVENT_IMAGE_PRELOAD =
EVAS_API EVAS_API_WEAK const Efl_Event_Description _EFL_GFX_ENTITY_EVENT_IMAGE_PRELOAD =
EFL_EVENT_DESCRIPTION("preload");
EWAPI const Efl_Event_Description _EFL_GFX_ENTITY_EVENT_IMAGE_UNLOAD =
EVAS_API EVAS_API_WEAK const Efl_Event_Description _EFL_GFX_ENTITY_EVENT_IMAGE_UNLOAD =
EFL_EVENT_DESCRIPTION("unload");
/* END: events to maintain compatibility with legacy */

View File

@ -219,7 +219,7 @@ _evas_object_intercept_call_internal(Evas_Object *eo_obj,
/* This is a legacy-only compatibility function.
* Made public for other parts of EFL (elm, ecore_evas).
*/
EWAPI Eina_Bool
EVAS_API EVAS_API_WEAK Eina_Bool
_evas_object_intercept_call(Evas_Object *eo_obj, Evas_Object_Intercept_Cb_Type cb_type,
int internal, ...)
{
@ -256,7 +256,7 @@ _evas_object_intercept_call_evas(Evas_Object_Protected_Data *obj,
/* public calls */
#define EVAS_OBJECT_INTERCEPT_CALLBACK_DEFINE(Up_Type, Lower_Type) \
EAPI void \
EVAS_API void \
evas_object_intercept_##Lower_Type##_callback_add(Evas_Object *eo_obj,\
Evas_Object_Intercept_##Up_Type##_Cb func, const void *data) \
{ \
@ -271,7 +271,7 @@ _evas_object_intercept_call_evas(Evas_Object_Protected_Data *obj,
obj->interceptors->Lower_Type.data = (void *)data; \
} \
\
EAPI void * \
EVAS_API void * \
evas_object_intercept_##Lower_Type##_callback_del(Evas_Object *eo_obj,\
Evas_Object_Intercept_##Up_Type##_Cb func) \
{ \

View File

@ -84,7 +84,7 @@ static const Evas_Object_Func object_func =
/* the actual api call to add a rect */
/* it has no other api calls as all properties are standard */
EAPI Evas_Object *
EVAS_API Evas_Object *
evas_object_line_add(Evas *e)
{
e = evas_find(e);

Some files were not shown because too many files have changed in this diff Show More