}
EAPI void
-ecore_print_warning(const char *function __UNUSED__,
- const char *sparam __UNUSED__)
+ecore_print_warning(const char *function EINA_UNUSED,
+ const char *sparam EINA_UNUSED)
{
WRN("***** Developer Warning ***** :\n"
"\tThis program is calling:\n\n"
_ecore_magic_fail(const void *d,
Ecore_Magic m,
Ecore_Magic req_m,
- const char *fname __UNUSED__)
+ const char *fname EINA_UNUSED)
{
ERR("\n"
"*** ECORE ERROR: Ecore Magic Check Failed!!!\n"
#if HAVE_MALLINFO
static Eina_Bool
-_ecore_memory_statistic(__UNUSED__ void *data)
+_ecore_memory_statistic(EINA_UNUSED void *data)
{
struct mallinfo mi;
static int uordblks = 0;
}
static void
-_thread_callback(void *data __UNUSED__,
- void *buffer __UNUSED__,
- unsigned int nbyte __UNUSED__)
+_thread_callback(void *data EINA_UNUSED,
+ void *buffer EINA_UNUSED,
+ unsigned int nbyte EINA_UNUSED)
{
_ecore_main_call_flush();
}
}
static Eina_Bool
-_ecore_animator(void *data __UNUSED__)
+_ecore_animator(void *data EINA_UNUSED)
{
Eina_Bool r;
_ecore_lock();
}
static void
-_ecore_event_generic_free(void *data __UNUSED__,
+_ecore_event_generic_free(void *data EINA_UNUSED,
void *event)
{ /* DO NOT MEMPOOL FREE THIS */
free(event);
static Eina_Bool _ecore_exe_data_write_handler(void *data,
Ecore_Fd_Handler *fd_handler);
static void _ecore_exe_flush(Ecore_Exe *exe);
-static void _ecore_exe_event_exe_data_free(void *data __UNUSED__,
+static void _ecore_exe_event_exe_data_free(void *data EINA_UNUSED,
void *ev);
static Ecore_Exe *_ecore_exe_is_it_alive(pid_t pid);
static Eina_Bool _ecore_exe_make_sure_its_dead(void *data);
static int
_ecore_exe_check_errno(int result,
- const char *file __UNUSED__,
- int line __UNUSED__)
+ const char *file EINA_UNUSED,
+ int line EINA_UNUSED)
{
int saved_errno = errno;
static Eina_Bool
_ecore_exe_data_write_handler(void *data,
- Ecore_Fd_Handler *fd_handler __UNUSED__)
+ Ecore_Fd_Handler *fd_handler EINA_UNUSED)
{
Ecore_Exe *exe;
}
static void
-_ecore_exe_event_exe_data_free(void *data __UNUSED__,
+_ecore_exe_event_exe_data_free(void *data EINA_UNUSED,
void *ev)
{
Ecore_Exe_Event_Data *e;
}
static void
-_ecore_exe_event_add_free(void *data __UNUSED__,
+_ecore_exe_event_add_free(void *data EINA_UNUSED,
void *ev)
{
Ecore_Exe_Event_Add *e;
}
void
-_ecore_exe_event_del_free(void *data __UNUSED__,
+_ecore_exe_event_del_free(void *data EINA_UNUSED,
void *ev)
{
Ecore_Exe_Event_Del *e;
/* Not used on Windows */
EAPI void
-ecore_exe_auto_limits_set(Ecore_Exe *exe __UNUSED__,
- int start_bytes __UNUSED__,
- int end_bytes __UNUSED__,
- int start_lines __UNUSED__,
- int end_lines __UNUSED__)
+ecore_exe_auto_limits_set(Ecore_Exe *exe EINA_UNUSED,
+ int start_bytes EINA_UNUSED,
+ int end_bytes EINA_UNUSED,
+ int start_lines EINA_UNUSED,
+ int end_lines EINA_UNUSED)
{
}
EAPI void
ecore_exe_signal(Ecore_Exe *exe,
- int num __UNUSED__)
+ int num EINA_UNUSED)
{
if (!ECORE_MAGIC_CHECK(exe, ECORE_MAGIC_EXE))
{
}
static DWORD WINAPI
-_ecore_exe_thread_procedure(LPVOID data __UNUSED__)
+_ecore_exe_thread_procedure(LPVOID data EINA_UNUSED)
{
GenerateConsoleCtrlEvent(CTRL_C_EVENT, 0);
GenerateConsoleCtrlEvent(CTRL_BREAK_EVENT, 0);
}
static void
-_ecore_exe_event_add_free(void *data __UNUSED__,
+_ecore_exe_event_add_free(void *data EINA_UNUSED,
void *ev)
{
Ecore_Exe_Event_Add *e;
}
static void
-_ecore_exe_event_del_free(void *data __UNUSED__,
+_ecore_exe_event_del_free(void *data EINA_UNUSED,
void *ev)
{
Ecore_Exe_Event_Del *e;
}
static void
-_ecore_exe_event_exe_data_free(void *data __UNUSED__,
+_ecore_exe_event_exe_data_free(void *data EINA_UNUSED,
void *ev)
{
Ecore_Exe_Event_Data *e;
static Eina_Bool
_ecore_exe_close_cb(void *data,
- Ecore_Win32_Handler *wh __UNUSED__)
+ Ecore_Win32_Handler *wh EINA_UNUSED)
{
Ecore_Exe_Event_Del *e;
Ecore_Exe *exe;
static int
_ecore_exe_pipe_write_cb(void *data,
- Ecore_Win32_Handler *wh __UNUSED__)
+ Ecore_Win32_Handler *wh EINA_UNUSED)
{
char buf[READBUFSIZ];
Ecore_Exe *exe;
static void
_ecore_getopt_help_print_replace_program(FILE *fp,
- const Ecore_Getopt *parser __UNUSED__,
+ const Ecore_Getopt *parser EINA_UNUSED,
const char *text)
{
do
}
static Eina_Bool
-_ecore_getopt_parse_store(const Ecore_Getopt *parser __UNUSED__,
+_ecore_getopt_parse_store(const Ecore_Getopt *parser EINA_UNUSED,
const Ecore_Getopt_Desc *desc,
Ecore_Getopt_Value *value,
const char *arg_val)
}
static Eina_Bool
-_ecore_getopt_parse_store_const(const Ecore_Getopt *parser __UNUSED__,
+_ecore_getopt_parse_store_const(const Ecore_Getopt *parser EINA_UNUSED,
const Ecore_Getopt_Desc *desc,
Ecore_Getopt_Value *val,
- const char *arg_val __UNUSED__)
+ const char *arg_val EINA_UNUSED)
{
if (!val->ptrp)
{
}
static Eina_Bool
-_ecore_getopt_parse_store_true(const Ecore_Getopt *parser __UNUSED__,
+_ecore_getopt_parse_store_true(const Ecore_Getopt *parser EINA_UNUSED,
const Ecore_Getopt_Desc *desc,
Ecore_Getopt_Value *val,
- const char *arg_val __UNUSED__)
+ const char *arg_val EINA_UNUSED)
{
if (!val->boolp)
{
}
static Eina_Bool
-_ecore_getopt_parse_store_false(const Ecore_Getopt *parser __UNUSED__,
+_ecore_getopt_parse_store_false(const Ecore_Getopt *parser EINA_UNUSED,
const Ecore_Getopt_Desc *desc,
Ecore_Getopt_Value *val,
- const char *arg_val __UNUSED__)
+ const char *arg_val EINA_UNUSED)
{
if (!val->boolp)
{
}
static Eina_Bool
-_ecore_getopt_parse_choice(const Ecore_Getopt *parser __UNUSED__,
+_ecore_getopt_parse_choice(const Ecore_Getopt *parser EINA_UNUSED,
const Ecore_Getopt_Desc *desc,
Ecore_Getopt_Value *val,
const char *arg_val)
}
static Eina_Bool
-_ecore_getopt_parse_append(const Ecore_Getopt *parser __UNUSED__,
+_ecore_getopt_parse_append(const Ecore_Getopt *parser EINA_UNUSED,
const Ecore_Getopt_Desc *desc,
Ecore_Getopt_Value *val,
const char *arg_val)
}
static Eina_Bool
-_ecore_getopt_parse_count(const Ecore_Getopt *parser __UNUSED__,
+_ecore_getopt_parse_count(const Ecore_Getopt *parser EINA_UNUSED,
const Ecore_Getopt_Desc *desc,
Ecore_Getopt_Value *val,
- const char *arg_val __UNUSED__)
+ const char *arg_val EINA_UNUSED)
{
if (!val->intp)
{
static Eina_Bool
_ecore_getopt_parse_help(const Ecore_Getopt *parser,
- const Ecore_Getopt_Desc *desc __UNUSED__,
+ const Ecore_Getopt_Desc *desc EINA_UNUSED,
Ecore_Getopt_Value *val,
- const char *arg_val __UNUSED__)
+ const char *arg_val EINA_UNUSED)
{
if (val->boolp)
(*val->boolp) = EINA_TRUE;
_ecore_getopt_parse_version(const Ecore_Getopt *parser,
const Ecore_Getopt_Desc *desc,
Ecore_Getopt_Value *val,
- const char *arg_val __UNUSED__)
+ const char *arg_val EINA_UNUSED)
{
if (val->boolp)
(*val->boolp) = EINA_TRUE;
_ecore_getopt_parse_copyright(const Ecore_Getopt *parser,
const Ecore_Getopt_Desc *desc,
Ecore_Getopt_Value *val,
- const char *arg_val __UNUSED__)
+ const char *arg_val EINA_UNUSED)
{
if (val->boolp)
(*val->boolp) = EINA_TRUE;
_ecore_getopt_parse_license(const Ecore_Getopt *parser,
const Ecore_Getopt_Desc *desc,
Ecore_Getopt_Value *val,
- const char *arg_val __UNUSED__)
+ const char *arg_val EINA_UNUSED)
{
if (val->boolp)
(*val->boolp) = EINA_TRUE;
static Eina_Bool
_ecore_getopt_parse_arg_long(const Ecore_Getopt *parser,
Ecore_Getopt_Value *values,
- int argc __UNUSED__,
+ int argc EINA_UNUSED,
char **argv,
int *idx,
int *nonargs,
static Eina_Bool
_ecore_getopt_parse_arg_short(const Ecore_Getopt *parser,
Ecore_Getopt_Value *values,
- int argc __UNUSED__,
+ int argc EINA_UNUSED,
char **argv,
int *idx,
int *nonargs,
* @c callback_data value is ignored, you can safely use @c NULL.
*/
EAPI Eina_Bool
-ecore_getopt_callback_geometry_parse(const Ecore_Getopt *parser __UNUSED__,
- const Ecore_Getopt_Desc *desc __UNUSED__,
+ecore_getopt_callback_geometry_parse(const Ecore_Getopt *parser EINA_UNUSED,
+ const Ecore_Getopt_Desc *desc EINA_UNUSED,
const char *str,
- void *data __UNUSED__,
+ void *data EINA_UNUSED,
Ecore_Getopt_Value *storage)
{
Eina_Rectangle *v = (Eina_Rectangle *)storage->ptrp;
* @c callback_data value is ignored, you can safely use @c NULL.
*/
EAPI Eina_Bool
-ecore_getopt_callback_size_parse(const Ecore_Getopt *parser __UNUSED__,
- const Ecore_Getopt_Desc *desc __UNUSED__,
+ecore_getopt_callback_size_parse(const Ecore_Getopt *parser EINA_UNUSED,
+ const Ecore_Getopt_Desc *desc EINA_UNUSED,
const char *str,
- void *data __UNUSED__,
+ void *data EINA_UNUSED,
Ecore_Getopt_Value *storage)
{
Eina_Rectangle *v = (Eina_Rectangle *)storage->ptrp;
*/
static Eina_Bool
-_ecore_job_event_handler(void *data __UNUSED__,
- int type __UNUSED__,
+_ecore_job_event_handler(void *data EINA_UNUSED,
+ int type EINA_UNUSED,
void *ev)
{
Ecore_Job_Private_Data *job;
static void
_ecore_job_event_free(void *data,
- void *job __UNUSED__)
+ void *job EINA_UNUSED)
{
eo_parent_set(data, NULL);
};
static inline int
-epoll_create(int size __UNUSED__)
+epoll_create(int size EINA_UNUSED)
{
return -1;
}
static inline int
-epoll_wait(int epfd __UNUSED__,
- struct epoll_event *events __UNUSED__,
- int maxevents __UNUSED__,
- int timeout __UNUSED__)
+epoll_wait(int epfd EINA_UNUSED,
+ struct epoll_event *events EINA_UNUSED,
+ int maxevents EINA_UNUSED,
+ int timeout EINA_UNUSED)
{
return -1;
}
static inline int
-epoll_ctl(int epfd __UNUSED__,
- int op __UNUSED__,
- int fd __UNUSED__,
- struct epoll_event *event __UNUSED__)
+epoll_ctl(int epfd EINA_UNUSED,
+ int op EINA_UNUSED,
+ int fd EINA_UNUSED,
+ struct epoll_event *event EINA_UNUSED)
{
return -1;
}
# define TFD_NONBLOCK 0 /* bogus value */
# endif
static inline int
-timerfd_create(int clockid __UNUSED__,
- int flags __UNUSED__)
+timerfd_create(int clockid EINA_UNUSED,
+ int flags EINA_UNUSED)
{
return -1;
}
static inline int
-timerfd_settime(int fd __UNUSED__,
- int flags __UNUSED__,
- const struct itimerspec *new_value __UNUSED__,
- struct itimerspec *old_value __UNUSED__)
+timerfd_settime(int fd EINA_UNUSED,
+ int flags EINA_UNUSED,
+ const struct itimerspec *new_value EINA_UNUSED,
+ struct itimerspec *old_value EINA_UNUSED)
{
return -1;
}
/* like we are about to enter main_loop_select in _ecore_main_select */
static gboolean
-_ecore_main_gsource_prepare(GSource *source __UNUSED__,
+_ecore_main_gsource_prepare(GSource *source EINA_UNUSED,
gint *next_time)
{
gboolean ready = FALSE;
}
static gboolean
-_ecore_main_gsource_check(GSource *source __UNUSED__)
+_ecore_main_gsource_check(GSource *source EINA_UNUSED)
{
gboolean ret = FALSE;
/* like we just came out of main_loop_select in _ecore_main_select */
static gboolean
-_ecore_main_gsource_dispatch(GSource *source __UNUSED__,
- GSourceFunc callback __UNUSED__,
- gpointer user_data __UNUSED__)
+_ecore_main_gsource_dispatch(GSource *source EINA_UNUSED,
+ GSourceFunc callback EINA_UNUSED,
+ gpointer user_data EINA_UNUSED)
{
gboolean events_ready, timers_ready, idlers_ready;
double next_time;
}
static void
-_ecore_main_gsource_finalize(GSource *source __UNUSED__)
+_ecore_main_gsource_finalize(GSource *source EINA_UNUSED)
{
}
#else
EAPI Ecore_Win32_Handler *
-ecore_main_win32_handler_add(void *h __UNUSED__,
- Ecore_Win32_Handle_Cb func __UNUSED__,
- const void *data __UNUSED__)
+ecore_main_win32_handler_add(void *h EINA_UNUSED,
+ Ecore_Win32_Handle_Cb func EINA_UNUSED,
+ const void *data EINA_UNUSED)
{
return NULL;
}
#else
EAPI void *
-ecore_main_win32_handler_del(Ecore_Win32_Handler *win32_handler __UNUSED__)
+ecore_main_win32_handler_del(Ecore_Win32_Handler *win32_handler EINA_UNUSED)
{
return NULL;
}
#ifdef _WIN32
static int
-_ecore_main_win32_select(int nfds __UNUSED__,
+_ecore_main_win32_select(int nfds EINA_UNUSED,
fd_set *readfds,
fd_set *writefds,
fd_set *exceptfds,
static Eina_Bool
_ecore_pipe_read(void *data,
- Ecore_Fd_Handler *fd_handler __UNUSED__)
+ Ecore_Fd_Handler *fd_handler EINA_UNUSED)
{
Ecore_Pipe *p = (Ecore_Pipe *)data;
int i;
}
static Eina_Bool
-_ecore_poller_cb_timer(void *data __UNUSED__)
+_ecore_poller_cb_timer(void *data EINA_UNUSED)
{
int i;
Ecore_Poller_Private_Data *poller, *l;
}
EAPI void
-ecore_poller_poll_interval_set(Ecore_Poller_Type type __UNUSED__,
+ecore_poller_poll_interval_set(Ecore_Poller_Type type EINA_UNUSED,
double poll_time)
{
EINA_MAIN_LOOP_CHECK_RETURN;
}
EAPI double
-ecore_poller_poll_interval_get(Ecore_Poller_Type type __UNUSED__)
+ecore_poller_poll_interval_get(Ecore_Poller_Type type EINA_UNUSED)
{
EINA_MAIN_LOOP_CHECK_RETURN_VAL(0.0);
return poll_interval;
}
EAPI Ecore_Poller *
-ecore_poller_add(Ecore_Poller_Type type __UNUSED__,
+ecore_poller_add(Ecore_Poller_Type type EINA_UNUSED,
int interval,
Ecore_Task_Cb func,
const void *data)
}
static void
-_ecore_signal_generic_free(void *data __UNUSED__,
+_ecore_signal_generic_free(void *data EINA_UNUSED,
void *event)
{
free(event);
}
static void
-_ecore_signal_callback_ignore(int sig __UNUSED__,
- siginfo_t *si __UNUSED__,
- void *foo __UNUSED__)
+_ecore_signal_callback_ignore(int sig EINA_UNUSED,
+ siginfo_t *si EINA_UNUSED,
+ void *foo EINA_UNUSED)
{
}
static void
-_ecore_signal_callback_sigchld(int sig __UNUSED__,
+_ecore_signal_callback_sigchld(int sig EINA_UNUSED,
siginfo_t *si,
- void *foo __UNUSED__)
+ void *foo EINA_UNUSED)
{
volatile sig_atomic_t n;
n = sigchld_count;
}
static void
-_ecore_signal_callback_sigusr1(int sig __UNUSED__,
+_ecore_signal_callback_sigusr1(int sig EINA_UNUSED,
siginfo_t *si,
- void *foo __UNUSED__)
+ void *foo EINA_UNUSED)
{
volatile sig_atomic_t n;
n = sigusr1_count;
}
static void
-_ecore_signal_callback_sigusr2(int sig __UNUSED__,
+_ecore_signal_callback_sigusr2(int sig EINA_UNUSED,
siginfo_t *si,
- void *foo __UNUSED__)
+ void *foo EINA_UNUSED)
{
volatile sig_atomic_t n;
n = sigusr2_count;
}
static void
-_ecore_signal_callback_sighup(int sig __UNUSED__,
+_ecore_signal_callback_sighup(int sig EINA_UNUSED,
siginfo_t *si,
- void *foo __UNUSED__)
+ void *foo EINA_UNUSED)
{
volatile sig_atomic_t n;
n = sighup_count;
}
static void
-_ecore_signal_callback_sigquit(int sig __UNUSED__,
+_ecore_signal_callback_sigquit(int sig EINA_UNUSED,
siginfo_t *si,
- void *foo __UNUSED__)
+ void *foo EINA_UNUSED)
{
volatile sig_atomic_t n;
n = sigquit_count;
}
static void
-_ecore_signal_callback_sigint(int sig __UNUSED__,
+_ecore_signal_callback_sigint(int sig EINA_UNUSED,
siginfo_t *si,
- void *foo __UNUSED__)
+ void *foo EINA_UNUSED)
{
volatile sig_atomic_t n;
n = sigint_count;
}
static void
-_ecore_signal_callback_sigterm(int sig __UNUSED__,
+_ecore_signal_callback_sigterm(int sig EINA_UNUSED,
siginfo_t *si,
- void *foo __UNUSED__)
+ void *foo EINA_UNUSED)
{
volatile sig_atomic_t n;
n = sigterm_count;
#ifdef SIGPWR
static void
-_ecore_signal_callback_sigpwr(int sig __UNUSED__,
+_ecore_signal_callback_sigpwr(int sig EINA_UNUSED,
siginfo_t *si,
- void *foo __UNUSED__)
+ void *foo EINA_UNUSED)
{
volatile sig_atomic_t n;
n = sigpwr_count;
#if 0
static void
-_ecore_nothing_handler(void *data __UNUSED__, void *buffer __UNUSED__, unsigned int nbyte __UNUSED__)
+_ecore_nothing_handler(void *data EINA_UNUSED, void *buffer EINA_UNUSED, unsigned int nbyte EINA_UNUSED)
{
}
#endif
}
static void *
-_ecore_thread_worker(void *data __UNUSED__)
+_ecore_thread_worker(void *data EINA_UNUSED)
{
restart:
_ecore_short_job(PHS());
} /* dns_d_cleave() */
-size_t dns_d_comp(void *dst_, size_t lim, const void *src_, size_t len, struct dns_packet *P, int *error __UNUSED__) {
+size_t dns_d_comp(void *dst_, size_t lim, const void *src_, size_t len, struct dns_packet *P, int *error EINA_UNUSED) {
struct { unsigned char *b; size_t p, x; } dst, src;
unsigned char ch = '.';
} /* dns_rr_i_skip() */
-int dns_rr_i_packet(struct dns_rr *a, struct dns_rr *b, struct dns_rr_i *i __UNUSED__, struct dns_packet *P __UNUSED__) {
+int dns_rr_i_packet(struct dns_rr *a, struct dns_rr *b, struct dns_rr_i *i EINA_UNUSED, struct dns_packet *P EINA_UNUSED) {
return (int)a->dn.p - (int)b->dn.p;
} /* dns_rr_i_packet() */
-int dns_rr_i_order(struct dns_rr *a, struct dns_rr *b, struct dns_rr_i *i __UNUSED__, struct dns_packet *P) {
+int dns_rr_i_order(struct dns_rr *a, struct dns_rr *b, struct dns_rr_i *i EINA_UNUSED, struct dns_packet *P) {
int cmp;
if ((cmp = a->section - b->section))
} /* dns_rr_i_order() */
-int dns_rr_i_shuffle(struct dns_rr *a, struct dns_rr *b, struct dns_rr_i *i, struct dns_packet *P __UNUSED__) {
+int dns_rr_i_shuffle(struct dns_rr *a, struct dns_rr *b, struct dns_rr_i *i, struct dns_packet *P EINA_UNUSED) {
int cmp;
while (!i->state.regs[0])
} /* dns_rr_i_shuffle() */
-struct dns_rr_i *dns_rr_i_init(struct dns_rr_i *i, struct dns_packet *P __UNUSED__) {
+struct dns_rr_i *dns_rr_i_init(struct dns_rr_i *i, struct dns_packet *P EINA_UNUSED) {
static const struct dns_rr_i i_initializer;
i->state = i_initializer.state;
} /* dns_txt_push() */
-int dns_txt_cmp(const struct dns_txt *a __UNUSED__, const struct dns_txt *b __UNUSED__) {
+int dns_txt_cmp(const struct dns_txt *a EINA_UNUSED, const struct dns_txt *b EINA_UNUSED) {
return -1;
} /* dns_txt_cmp() */
}; /* struct dns_hints */
-struct dns_hints *dns_hints_open(struct dns_resolv_conf *resconf __UNUSED__, int *error) {
+struct dns_hints *dns_hints_open(struct dns_resolv_conf *resconf EINA_UNUSED, int *error) {
static const struct dns_hints H_initializer;
struct dns_hints *H;
*
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
-static dns_atomic_t dns_cache_acquire(struct dns_cache *cache __UNUSED__) {
+static dns_atomic_t dns_cache_acquire(struct dns_cache *cache EINA_UNUSED) {
return 0;
} /* dns_cache_acquire() */
-static dns_atomic_t dns_cache_release(struct dns_cache *cache __UNUSED__) {
+static dns_atomic_t dns_cache_release(struct dns_cache *cache EINA_UNUSED) {
return 0;
} /* dns_cache_release() */
-static struct dns_packet *dns_cache_query(struct dns_packet *query __UNUSED__, struct dns_cache *cache __UNUSED__, int *error __UNUSED__) {
+static struct dns_packet *dns_cache_query(struct dns_packet *query EINA_UNUSED, struct dns_cache *cache EINA_UNUSED, int *error EINA_UNUSED) {
return 0;
} /* dns_cache_submit() */
-static int dns_cache_submit(struct dns_packet *query __UNUSED__, struct dns_cache *cache __UNUSED__) {
+static int dns_cache_submit(struct dns_packet *query EINA_UNUSED, struct dns_cache *cache EINA_UNUSED) {
return 0;
} /* dns_cache_submit() */
-static int dns_cache_check(struct dns_cache *cache __UNUSED__) {
+static int dns_cache_check(struct dns_cache *cache EINA_UNUSED) {
return 0;
} /* dns_cache_check() */
-static struct dns_packet *dns_cache_fetch(struct dns_cache *cache __UNUSED__, int *error __UNUSED__) {
+static struct dns_packet *dns_cache_fetch(struct dns_cache *cache EINA_UNUSED, int *error EINA_UNUSED) {
return 0;
} /* dns_cache_fetch() */
-static int dns_cache_pollfd(struct dns_cache *cache __UNUSED__) {
+static int dns_cache_pollfd(struct dns_cache *cache EINA_UNUSED) {
return -1;
} /* dns_cache_pollfd() */
-static short dns_cache_events(struct dns_cache *cache __UNUSED__) {
+static short dns_cache_events(struct dns_cache *cache EINA_UNUSED) {
return 0;
} /* dns_cache_events() */
-static void dns_cache_clear(struct dns_cache *cache __UNUSED__) {
+static void dns_cache_clear(struct dns_cache *cache EINA_UNUSED) {
return;
} /* dns_cache_clear() */
} /* dns_res_stub() */
-static void dns_res_reset_frame(struct dns_resolver *R __UNUSED__, struct dns_res_frame *frame) {
+static void dns_res_reset_frame(struct dns_resolver *R EINA_UNUSED, struct dns_res_frame *frame) {
free(frame->query);
free(frame->answer);
free(frame->hints);
#include <netdb.h> /* struct addrinfo */
#endif
+#include <Eina.h> /* EINA_UNUSED */
+
/*
* V E R S I O N
static Eina_Bool
_ecore_con_svr_tcp_handler(void *data,
- Ecore_Fd_Handler *fd_handler __UNUSED__)
+ Ecore_Fd_Handler *fd_handler EINA_UNUSED)
{
Ecore_Con_Server *svr;
Ecore_Con_Client *cl = NULL;
}
static void
-_ecore_con_event_server_add_free(void *data __UNUSED__,
+_ecore_con_event_server_add_free(void *data EINA_UNUSED,
void *ev)
{
Ecore_Con_Event_Server_Add *e;
}
static void
-_ecore_con_event_server_del_free(void *data __UNUSED__,
+_ecore_con_event_server_del_free(void *data EINA_UNUSED,
void *ev)
{
Ecore_Con_Event_Server_Del *e;
}
static void
-_ecore_con_event_server_write_free(void *data __UNUSED__,
+_ecore_con_event_server_write_free(void *data EINA_UNUSED,
Ecore_Con_Event_Server_Write *e)
{
if (e->server)
}
static void
-_ecore_con_event_server_data_free(void *data __UNUSED__,
+_ecore_con_event_server_data_free(void *data EINA_UNUSED,
void *ev)
{
Ecore_Con_Event_Server_Data *e;
static void
-_ecore_con_event_server_error_free(void *data __UNUSED__, Ecore_Con_Event_Server_Error *e)
+_ecore_con_event_server_error_free(void *data EINA_UNUSED, Ecore_Con_Event_Server_Error *e)
{
if (e->server)
{
}
static Eina_Bool
-_ecore_con_info_cares_timeout_cb(void *data __UNUSED__)
+_ecore_con_info_cares_timeout_cb(void *data EINA_UNUSED)
{
ares_process_fd(info_channel, ARES_SOCKET_BAD, ARES_SOCKET_BAD);
return ECORE_CALLBACK_RENEW;
}
static void
-_ecore_con_info_cares_state_cb(void *data __UNUSED__,
+_ecore_con_info_cares_state_cb(void *data EINA_UNUSED,
ares_socket_t fd,
int readable,
int writable)
static void
_ecore_con_info_ares_host_cb(Ecore_Con_CAres *arg,
int status,
- int timeouts __UNUSED__,
+ int timeouts EINA_UNUSED,
struct hostent *hostent)
{
struct sockaddr *addr;
static void
_ecore_con_info_ares_nameinfo(Ecore_Con_CAres *arg,
int status,
- int timeouts __UNUSED__,
+ int timeouts EINA_UNUSED,
char *node,
char *service)
{
}
static Eina_Bool
-_dns_fd_cb(Ecore_Con_DNS *dns, Ecore_Fd_Handler *fdh __UNUSED__)
+_dns_fd_cb(Ecore_Con_DNS *dns, Ecore_Fd_Handler *fdh EINA_UNUSED)
{
if (_ecore_con_dns_check(dns) != 1) return ECORE_CALLBACK_RENEW;
if (ecore_main_fd_handler_fd_get(dns->fdh) != dns_ai_pollfd(dns->ai))
static Eina_Bool _ecore_con_info_data_handler(void *data,
Ecore_Fd_Handler *fd_handler);
static Eina_Bool _ecore_con_info_exit_handler(void *data,
- int type __UNUSED__,
+ int type EINA_UNUSED,
void *event);
static int info_init = 0;
static Eina_Bool
_ecore_con_info_exit_handler(void *data,
- int type __UNUSED__,
+ int type EINA_UNUSED,
void *event)
{
CB_Data *cbdata;
int
ecore_con_local_connect(Ecore_Con_Server *svr,
Eina_Bool (*cb_done)(void *data, Ecore_Fd_Handler *fd_handler),
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
#ifndef HAVE_LOCAL_SOCKETS
return 0;
Ecore_Fd_Handler *
fd_handler),
void *data
- __UNUSED__)
+ EINA_UNUSED)
{
#ifdef HAVE_LOCAL_SOCKETS
char buf[4096];
data = buf
static void
-_ecore_con_socks_read_v4(Ecore_Con_Server *svr, Ecore_Con_Socks_v4 *v4 __UNUSED__, const unsigned char *buf, unsigned int num)
+_ecore_con_socks_read_v4(Ecore_Con_Server *svr, Ecore_Con_Socks_v4 *v4 EINA_UNUSED, const unsigned char *buf, unsigned int num)
{
const unsigned char *data;
DBG("SOCKS: %d bytes", num);
}
void
-ecore_con_socks_dns_cb(const char *canonname __UNUSED__, const char *ip, struct sockaddr *addr, int addrlen __UNUSED__, Ecore_Con_Server *svr)
+ecore_con_socks_dns_cb(const char *canonname EINA_UNUSED, const char *ip, struct sockaddr *addr, int addrlen EINA_UNUSED, Ecore_Con_Server *svr)
{
svr->ip = eina_stringshare_add(ip);
svr->ecs_state++;
}
static Ecore_Con_Ssl_Error
-_ecore_con_ssl_server_prepare_none(Ecore_Con_Server *svr __UNUSED__,
- int ssl_type __UNUSED__)
+_ecore_con_ssl_server_prepare_none(Ecore_Con_Server *svr EINA_UNUSED,
+ int ssl_type EINA_UNUSED)
{
return ECORE_CON_SSL_ERROR_NONE;
}
static Ecore_Con_Ssl_Error
-_ecore_con_ssl_server_init_none(Ecore_Con_Server *svr __UNUSED__)
+_ecore_con_ssl_server_init_none(Ecore_Con_Server *svr EINA_UNUSED)
{
return ECORE_CON_SSL_ERROR_NOT_SUPPORTED;
}
static Eina_Bool
-_ecore_con_ssl_server_cafile_add_none(Ecore_Con_Server *svr __UNUSED__,
- const char *ca_file __UNUSED__)
+_ecore_con_ssl_server_cafile_add_none(Ecore_Con_Server *svr EINA_UNUSED,
+ const char *ca_file EINA_UNUSED)
{
return EINA_FALSE;
}
static Eina_Bool
-_ecore_con_ssl_server_cert_add_none(Ecore_Con_Server *svr __UNUSED__,
- const char *cert_file __UNUSED__)
+_ecore_con_ssl_server_cert_add_none(Ecore_Con_Server *svr EINA_UNUSED,
+ const char *cert_file EINA_UNUSED)
{
return EINA_FALSE;
}
static Eina_Bool
-_ecore_con_ssl_server_privkey_add_none(Ecore_Con_Server *svr __UNUSED__,
- const char *key_file __UNUSED__)
+_ecore_con_ssl_server_privkey_add_none(Ecore_Con_Server *svr EINA_UNUSED,
+ const char *key_file EINA_UNUSED)
{
return EINA_FALSE;
}
static Eina_Bool
-_ecore_con_ssl_server_crl_add_none(Ecore_Con_Server *svr __UNUSED__,
- const char *crl_file __UNUSED__)
+_ecore_con_ssl_server_crl_add_none(Ecore_Con_Server *svr EINA_UNUSED,
+ const char *crl_file EINA_UNUSED)
{
return EINA_FALSE;
}
static Ecore_Con_Ssl_Error
-_ecore_con_ssl_server_shutdown_none(Ecore_Con_Server *svr __UNUSED__)
+_ecore_con_ssl_server_shutdown_none(Ecore_Con_Server *svr EINA_UNUSED)
{
return ECORE_CON_SSL_ERROR_NOT_SUPPORTED;
}
static int
-_ecore_con_ssl_server_read_none(Ecore_Con_Server *svr __UNUSED__,
- unsigned char *buf __UNUSED__,
- int size __UNUSED__)
+_ecore_con_ssl_server_read_none(Ecore_Con_Server *svr EINA_UNUSED,
+ unsigned char *buf EINA_UNUSED,
+ int size EINA_UNUSED)
{
return -1;
}
static int
-_ecore_con_ssl_server_write_none(Ecore_Con_Server *svr __UNUSED__,
- const unsigned char *buf __UNUSED__,
- int size __UNUSED__)
+_ecore_con_ssl_server_write_none(Ecore_Con_Server *svr EINA_UNUSED,
+ const unsigned char *buf EINA_UNUSED,
+ int size EINA_UNUSED)
{
return -1;
}
static Ecore_Con_Ssl_Error
-_ecore_con_ssl_client_init_none(Ecore_Con_Client *cl __UNUSED__)
+_ecore_con_ssl_client_init_none(Ecore_Con_Client *cl EINA_UNUSED)
{
return ECORE_CON_SSL_ERROR_NOT_SUPPORTED;
}
static Ecore_Con_Ssl_Error
-_ecore_con_ssl_client_shutdown_none(Ecore_Con_Client *cl __UNUSED__)
+_ecore_con_ssl_client_shutdown_none(Ecore_Con_Client *cl EINA_UNUSED)
{
return ECORE_CON_SSL_ERROR_NOT_SUPPORTED;
}
static int
-_ecore_con_ssl_client_read_none(Ecore_Con_Client *cl __UNUSED__,
- unsigned char *buf __UNUSED__,
- int size __UNUSED__)
+_ecore_con_ssl_client_read_none(Ecore_Con_Client *cl EINA_UNUSED,
+ unsigned char *buf EINA_UNUSED,
+ int size EINA_UNUSED)
{
return -1;
}
static int
-_ecore_con_ssl_client_write_none(Ecore_Con_Client *cl __UNUSED__,
- const unsigned char *buf __UNUSED__,
- int size __UNUSED__)
+_ecore_con_ssl_client_write_none(Ecore_Con_Client *cl EINA_UNUSED,
+ const unsigned char *buf EINA_UNUSED,
+ int size EINA_UNUSED)
{
return -1;
}
}
static Eina_Bool
-_ecore_con_url_fd_handler(void *data __UNUSED__, Ecore_Fd_Handler *fd_handler __UNUSED__)
+_ecore_con_url_fd_handler(void *data EINA_UNUSED, Ecore_Fd_Handler *fd_handler EINA_UNUSED)
{
Ecore_Fd_Handler *fdh;
long ms;
}
static Eina_Bool
-_ecore_con_url_timer(void *data __UNUSED__)
+_ecore_con_url_timer(void *data EINA_UNUSED)
{
Ecore_Fd_Handler *fdh;
int still_running;
}
static char *
-_ecore_config_ipc_global_prop_list(Ecore_Config_Server * srv __UNUSED__, long serial __UNUSED__)
+_ecore_config_ipc_global_prop_list(Ecore_Config_Server * srv EINA_UNUSED, long serial EINA_UNUSED)
{
Ecore_Config_DB_File *db;
char **keys;
/*****************************************************************************/
static Eina_Bool
-_ecore_config_ipc_client_add(void *data, int type __UNUSED__, void *event)
+_ecore_config_ipc_client_add(void *data, int type EINA_UNUSED, void *event)
{
Ecore_Ipc_Server **server;
Ecore_Ipc_Event_Client_Data *e;
}
static Eina_Bool
-_ecore_config_ipc_client_del(void *data, int type __UNUSED__, void *event)
+_ecore_config_ipc_client_del(void *data, int type EINA_UNUSED, void *event)
{
Ecore_Ipc_Server **server;
Ecore_Ipc_Event_Client_Data *e;
}
static Eina_Bool
-_ecore_config_ipc_client_sent(void *data, int type __UNUSED__, void *event)
+_ecore_config_ipc_client_sent(void *data, int type EINA_UNUSED, void *event)
{
Ecore_Ipc_Server **server;
Ecore_Ipc_Event_Client_Data *e;
}
static Eina_Bool
-_ecore_config_ipc_poll(void *data __UNUSED__)
+_ecore_config_ipc_poll(void *data EINA_UNUSED)
{
Ecore_Config_Server *s;
/****************************************/
static void
-_ecore_directfb_event_free_key_down(void *data __UNUSED__, void *ev)
+_ecore_directfb_event_free_key_down(void *data EINA_UNUSED, void *ev)
{
Ecore_DirectFB_Event_Key_Down *e;
}
static void
-_ecore_directfb_event_free_key_up(void *data __UNUSED__, void *ev)
+_ecore_directfb_event_free_key_up(void *data EINA_UNUSED, void *ev)
{
Ecore_DirectFB_Event_Key_Up *e;
* window at a time */
static Eina_Bool
-_ecore_directfb_input_event_fd_handler(void *data __UNUSED__,Ecore_Fd_Handler *fd_handler __UNUSED__)
+_ecore_directfb_input_event_fd_handler(void *data EINA_UNUSED,Ecore_Fd_Handler *fd_handler EINA_UNUSED)
{
DFBEvent evt;
int v = 0;
}
static Eina_Bool
-_ecore_directfb_window_event_fd_handler(void *data __UNUSED__,Ecore_Fd_Handler *fd_handler __UNUSED__)
+_ecore_directfb_window_event_fd_handler(void *data EINA_UNUSED,Ecore_Fd_Handler *fd_handler EINA_UNUSED)
{
DFBEvent evt;
int v = 0;
}
EAPI int
-ecore_directfb_init(const char *name __UNUSED__)
+ecore_directfb_init(const char *name EINA_UNUSED)
{
int i = 0;
static int _ecore_evas_fps_debug = 0;
static Eina_Bool
-_ecore_evas_idle_enter(void *data __UNUSED__)
+_ecore_evas_idle_enter(void *data EINA_UNUSED)
{
Ecore_Evas *ee;
double t1 = 0.0;
}
static void
-_ecore_evas_fork_cb(void *data __UNUSED__)
+_ecore_evas_fork_cb(void *data EINA_UNUSED)
{
int fd;
#ifdef BUILD_ECORE_EVAS_SOFTWARE_SDL
static Ecore_Evas *
-_ecore_evas_constructor_sdl(int x __UNUSED__, int y __UNUSED__, int w, int h, const char *extra_options)
+_ecore_evas_constructor_sdl(int x EINA_UNUSED, int y EINA_UNUSED, int w, int h, const char *extra_options)
{
Ecore_Evas *ee;
unsigned int fullscreen = 0, hwsurface = 0, noframe = 0, alpha = 0;
#ifdef BUILD_ECORE_EVAS_OPENGL_SDL
static Ecore_Evas *
-_ecore_evas_constructor_opengl_sdl(int x __UNUSED__, int y __UNUSED__, int w, int h, const char *extra_options)
+_ecore_evas_constructor_opengl_sdl(int x EINA_UNUSED, int y EINA_UNUSED, int w, int h, const char *extra_options)
{
Ecore_Evas *ee;
unsigned int fullscreen = 0, noframe = 0;
#ifdef BUILD_ECORE_EVAS_FB
static Ecore_Evas *
-_ecore_evas_constructor_fb(int x __UNUSED__, int y __UNUSED__, int w, int h, const char *extra_options)
+_ecore_evas_constructor_fb(int x EINA_UNUSED, int y EINA_UNUSED, int w, int h, const char *extra_options)
{
Ecore_Evas *ee;
char *disp_name = NULL;
#ifdef BUILD_ECORE_EVAS_PSL1GHT
static Ecore_Evas *
-_ecore_evas_constructor_psl1ght(int x __UNUSED__, int y __UNUSED__, int w, int h, const char *extra_options)
+_ecore_evas_constructor_psl1ght(int x EINA_UNUSED, int y EINA_UNUSED, int w, int h, const char *extra_options)
{
Ecore_Evas *ee;
char *name = NULL;
#ifdef BUILD_ECORE_EVAS_SOFTWARE_BUFFER
static Ecore_Evas *
-_ecore_evas_constructor_buffer(int x __UNUSED__, int y __UNUSED__, int w, int h, const char *extra_options __UNUSED__)
+_ecore_evas_constructor_buffer(int x EINA_UNUSED, int y EINA_UNUSED, int w, int h, const char *extra_options EINA_UNUSED)
{
return ecore_evas_buffer_new(w, h);
}
#ifdef BUILD_ECORE_EVAS_EWS
static Ecore_Evas *
-_ecore_evas_constructor_ews(int x, int y, int w, int h, const char *extra_options __UNUSED__)
+_ecore_evas_constructor_ews(int x, int y, int w, int h, const char *extra_options EINA_UNUSED)
{
return ecore_evas_ews_new(x, y, w, h);
}
}
static Eina_Bool
-_ecore_evas_async_events_fd_handler(void *data __UNUSED__, Ecore_Fd_Handler *fd_handler __UNUSED__)
+_ecore_evas_async_events_fd_handler(void *data EINA_UNUSED, Ecore_Fd_Handler *fd_handler EINA_UNUSED)
{
evas_async_events_process();
}
EAPI void
-ecore_evas_wayland_pointer_set(Ecore_Evas *ee __UNUSED__, int hot_x __UNUSED__, int hot_y __UNUSED__)
+ecore_evas_wayland_pointer_set(Ecore_Evas *ee EINA_UNUSED, int hot_x EINA_UNUSED, int hot_y EINA_UNUSED)
{
}
#else
EAPI void
-ecore_evas_wayland_resize(Ecore_Evas *ee __UNUSED__, int location __UNUSED__)
+ecore_evas_wayland_resize(Ecore_Evas *ee EINA_UNUSED, int location EINA_UNUSED)
{
}
EAPI void
-ecore_evas_wayland_move(Ecore_Evas *ee __UNUSED__, int x __UNUSED__, int y __UNUSED__)
+ecore_evas_wayland_move(Ecore_Evas *ee EINA_UNUSED, int x EINA_UNUSED, int y EINA_UNUSED)
{
}
EAPI void
-ecore_evas_wayland_type_set(Ecore_Evas *ee __UNUSED__, int type __UNUSED__)
+ecore_evas_wayland_type_set(Ecore_Evas *ee EINA_UNUSED, int type EINA_UNUSED)
{
}
EAPI Ecore_Wl_Window *
-ecore_evas_wayland_window_get(const Ecore_Evas *ee __UNUSED__)
+ecore_evas_wayland_window_get(const Ecore_Evas *ee EINA_UNUSED)
{
return NULL;
}
EAPI void
-ecore_evas_wayland_pointer_set(Ecore_Evas *ee __UNUSED__, int hot_x __UNUSED__, int hot_y __UNUSED__)
+ecore_evas_wayland_pointer_set(Ecore_Evas *ee EINA_UNUSED, int hot_x EINA_UNUSED, int hot_y EINA_UNUSED)
{
}
}
static void
-_ecore_evas_move_resize(Ecore_Evas *ee, int x __UNUSED__, int y __UNUSED__, int w, int h)
+_ecore_evas_move_resize(Ecore_Evas *ee, int x EINA_UNUSED, int y EINA_UNUSED, int w, int h)
{
_ecore_evas_resize(ee, w, h);
}
}
static void
-_ecore_evas_buffer_cb_mouse_in(void *data, Evas *e, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_ecore_evas_buffer_cb_mouse_in(void *data, Evas *e, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee;
Evas_Event_Mouse_In *ev;
}
static void
-_ecore_evas_buffer_cb_mouse_out(void *data, Evas *e, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_ecore_evas_buffer_cb_mouse_out(void *data, Evas *e, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee;
Evas_Event_Mouse_Out *ev;
}
static void
-_ecore_evas_buffer_cb_mouse_down(void *data, Evas *e, Evas_Object *obj __UNUSED__, void *event_info)
+_ecore_evas_buffer_cb_mouse_down(void *data, Evas *e, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee;
Evas_Event_Mouse_Down *ev;
}
static void
-_ecore_evas_buffer_cb_mouse_up(void *data, Evas *e, Evas_Object *obj __UNUSED__, void *event_info)
+_ecore_evas_buffer_cb_mouse_up(void *data, Evas *e, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee;
Evas_Event_Mouse_Up *ev;
}
static void
-_ecore_evas_buffer_cb_mouse_move(void *data, Evas *e, Evas_Object *obj __UNUSED__, void *event_info)
+_ecore_evas_buffer_cb_mouse_move(void *data, Evas *e, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee;
Evas_Event_Mouse_Move *ev;
}
static void
-_ecore_evas_buffer_cb_mouse_wheel(void *data, Evas *e, Evas_Object *obj __UNUSED__, void *event_info)
+_ecore_evas_buffer_cb_mouse_wheel(void *data, Evas *e, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee;
Evas_Event_Mouse_Wheel *ev;
}
static void
-_ecore_evas_buffer_cb_multi_down(void *data, Evas *e, Evas_Object *obj __UNUSED__, void *event_info)
+_ecore_evas_buffer_cb_multi_down(void *data, Evas *e, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee;
Evas_Event_Multi_Down *ev;
}
static void
-_ecore_evas_buffer_cb_multi_up(void *data, Evas *e, Evas_Object *obj __UNUSED__, void *event_info)
+_ecore_evas_buffer_cb_multi_up(void *data, Evas *e, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee;
Evas_Event_Multi_Up *ev;
}
static void
-_ecore_evas_buffer_cb_multi_move(void *data, Evas *e, Evas_Object *obj __UNUSED__, void *event_info)
+_ecore_evas_buffer_cb_multi_move(void *data, Evas *e, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee;
Evas_Event_Multi_Move *ev;
}
static void
-_ecore_evas_buffer_cb_free(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_ecore_evas_buffer_cb_free(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee;
}
static void
-_ecore_evas_buffer_cb_key_down(void *data, Evas *e, Evas_Object *obj __UNUSED__, void *event_info)
+_ecore_evas_buffer_cb_key_down(void *data, Evas *e, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee;
Evas_Event_Key_Down *ev;
}
static void
-_ecore_evas_buffer_cb_key_up(void *data, Evas *e, Evas_Object *obj __UNUSED__, void *event_info)
+_ecore_evas_buffer_cb_key_up(void *data, Evas *e, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee;
Evas_Event_Key_Up *ev;
}
static void
-_ecore_evas_buffer_cb_focus_in(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_ecore_evas_buffer_cb_focus_in(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee;
}
static void
-_ecore_evas_buffer_cb_focus_out(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_ecore_evas_buffer_cb_focus_out(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee;
}
static void
-_ecore_evas_buffer_cb_show(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_ecore_evas_buffer_cb_show(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee;
}
static void
-_ecore_evas_buffer_cb_hide(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_ecore_evas_buffer_cb_hide(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee;
#endif
static void *
-_ecore_evas_buffer_pix_alloc(void *data __UNUSED__, int size)
+_ecore_evas_buffer_pix_alloc(void *data EINA_UNUSED, int size)
{
return malloc(size);
}
static void
-_ecore_evas_buffer_pix_free(void *data __UNUSED__, void *pix)
+_ecore_evas_buffer_pix_free(void *data EINA_UNUSED, void *pix)
{
free(pix);
}
}
static int
-_ecore_evas_cocoa_event_got_focus(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_cocoa_event_got_focus(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
}
static int
-_ecore_evas_cocoa_event_lost_focus(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_cocoa_event_lost_focus(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
}
static int
-_ecore_evas_cocoa_event_video_resize(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_cocoa_event_video_resize(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
/*Ecore_Cocoa_Event_Video_Resize *e;
Ecore_Evas *ee;
}
static int
-_ecore_evas_cocoa_event_video_expose(void *data __UNUSED__, int type __UNUSED__, void *event __UNUSED__)
+_ecore_evas_cocoa_event_video_expose(void *data EINA_UNUSED, int type EINA_UNUSED, void *event EINA_UNUSED)
{
Ecore_Evas *ee;
int w;
}
static int
-_ecore_evas_idle_enter(void *data __UNUSED__)
+_ecore_evas_idle_enter(void *data EINA_UNUSED)
{
Ecore_Evas *ee;
double t1 = 0.;
}
static Eina_Bool
-_ecore_evas_directfb_event_key_down(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_directfb_event_key_down(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_DirectFB_Event_Key_Down *e;
}
static Eina_Bool
-_ecore_evas_directfb_event_key_up(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_directfb_event_key_up(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_DirectFB_Event_Key_Up *e;
}
static Eina_Bool
-_ecore_evas_directfb_event_motion(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_directfb_event_motion(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_DirectFB_Event_Motion *e;
}
static Eina_Bool
-_ecore_evas_directfb_event_button_down(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_directfb_event_button_down(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_DirectFB_Event_Button_Down *e;
}
static Eina_Bool
-_ecore_evas_directfb_event_button_up(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_directfb_event_button_up(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_DirectFB_Event_Button_Up *e;
}
static Eina_Bool
-_ecore_evas_directfb_event_enter(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_directfb_event_enter(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_DirectFB_Event_Enter *e;
}
static Eina_Bool
-_ecore_evas_directfb_event_leave(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_directfb_event_leave(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_DirectFB_Event_Leave *e;
}
static Eina_Bool
-_ecore_evas_directfb_event_wheel(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_directfb_event_wheel(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_DirectFB_Event_Wheel *e;
}
static Eina_Bool
-_ecore_evas_directfb_event_got_focus(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_directfb_event_got_focus(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_DirectFB_Event_Got_Focus *e;
}
static Eina_Bool
-_ecore_evas_directfb_event_lost_focus(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_directfb_event_lost_focus(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_DirectFB_Event_Lost_Focus *e;
}
static void
-_ecore_evas_directfb_focus_set(Ecore_Evas *ee, int on __UNUSED__)
+_ecore_evas_directfb_focus_set(Ecore_Evas *ee, int on EINA_UNUSED)
{
ecore_directfb_window_focus(ee->engine.directfb.window);
}
}
static void
-_ecore_evas_object_cursor_del(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_ecore_evas_object_cursor_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee;
}
#else
EAPI Ecore_Evas *
-ecore_evas_directfb_new(const char *disp_name __UNUSED__, int windowed __UNUSED__, int x __UNUSED__, int y __UNUSED__, int w __UNUSED__, int h __UNUSED__)
+ecore_evas_directfb_new(const char *disp_name EINA_UNUSED, int windowed EINA_UNUSED, int x EINA_UNUSED, int y EINA_UNUSED, int w EINA_UNUSED, int h EINA_UNUSED)
{
return NULL;
}
}
#else
EAPI Ecore_DirectFB_Window *
-ecore_evas_directfb_window_get(const Ecore_Evas *ee __UNUSED__)
+ecore_evas_directfb_window_get(const Ecore_Evas *ee EINA_UNUSED)
{
return NULL;
}
static const char EWS_ENGINE_NAME[] = "ews";
static void
-_ecore_evas_ews_pre_free(Ecore_Evas *ee __UNUSED__)
+_ecore_evas_ews_pre_free(Ecore_Evas *ee EINA_UNUSED)
{
DBG("EWS backing store free'd");
_ews_children = eina_list_free(_ews_children);
}
static void
-_ecore_evas_ews_del_request(Ecore_Evas *ee __UNUSED__)
+_ecore_evas_ews_del_request(Ecore_Evas *ee EINA_UNUSED)
{
INF("EWS backing store deletion is forbidden!");
}
}
static void
-_ecore_evas_ews_event_free(void *data __UNUSED__, void *ev)
+_ecore_evas_ews_event_free(void *data EINA_UNUSED, void *ev)
{
Ecore_Evas *ee = ev;
_ecore_evas_unref(ee);
}
static void
-_ecore_evas_ews_event_free_del(void *data __UNUSED__, void *ev __UNUSED__)
+_ecore_evas_ews_event_free_del(void *data EINA_UNUSED, void *ev EINA_UNUSED)
{
_ecore_evas_ews_shutdown();
}
}
static void
-_ecore_evas_ews_rotation_set(Ecore_Evas *ee, int rot, int resize __UNUSED__)
+_ecore_evas_ews_rotation_set(Ecore_Evas *ee, int rot, int resize EINA_UNUSED)
{
if (ee->rotation == rot) return;
ee->rotation = rot;
}
static void
-_ecore_evas_ews_object_cursor_del(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_ecore_evas_ews_object_cursor_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee = data;
ee->prop.cursor.object = NULL;
}
static void
-_ecore_evas_ews_screen_geometry_get(const Ecore_Evas *ee __UNUSED__, int *x, int *y, int *w, int *h)
+_ecore_evas_ews_screen_geometry_get(const Ecore_Evas *ee EINA_UNUSED, int *x, int *y, int *w, int *h)
{
ecore_evas_geometry_get(_ews_ee, x, y, w, h);
}
}
static void
-_ecore_evas_ews_cb_mouse_in(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_ecore_evas_ews_cb_mouse_in(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee = data;
Evas_Event_Mouse_In *ev = event_info;
}
static void
-_ecore_evas_ews_cb_mouse_out(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_ecore_evas_ews_cb_mouse_out(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee = data;
Evas_Event_Mouse_Out *ev = event_info;
}
static void
-_ecore_evas_ews_cb_mouse_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_ecore_evas_ews_cb_mouse_down(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = data;
Evas_Event_Mouse_Down *ev = event_info;
}
static void
-_ecore_evas_ews_cb_mouse_up(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_ecore_evas_ews_cb_mouse_up(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = data;
Evas_Event_Mouse_Up *ev = event_info;
}
static void
-_ecore_evas_ews_cb_mouse_move(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_ecore_evas_ews_cb_mouse_move(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = data;
Evas_Event_Mouse_Move *ev = event_info;
}
static void
-_ecore_evas_ews_cb_mouse_wheel(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_ecore_evas_ews_cb_mouse_wheel(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = data;
Evas_Event_Mouse_Wheel *ev = event_info;
}
static void
-_ecore_evas_ews_cb_multi_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_ecore_evas_ews_cb_multi_down(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = data;
Evas_Event_Multi_Down *ev = event_info;
}
static void
-_ecore_evas_ews_cb_multi_up(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_ecore_evas_ews_cb_multi_up(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = data;
Evas_Event_Multi_Up *ev = event_info;
}
static void
-_ecore_evas_ews_cb_multi_move(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_ecore_evas_ews_cb_multi_move(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = data;
Evas_Event_Multi_Move *ev = event_info;
}
static void
-_ecore_evas_ews_cb_free(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_ecore_evas_ews_cb_free(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee = data;
if (ee->driver) _ecore_evas_free(ee);
}
static void
-_ecore_evas_ews_cb_key_down(void *data, Evas *e, Evas_Object *obj __UNUSED__, void *event_info)
+_ecore_evas_ews_cb_key_down(void *data, Evas *e, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = data;
Evas_Event_Key_Down *ev = event_info;
}
static void
-_ecore_evas_ews_cb_key_up(void *data, Evas *e, Evas_Object *obj __UNUSED__, void *event_info)
+_ecore_evas_ews_cb_key_up(void *data, Evas *e, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = data;
Evas_Event_Key_Up *ev = event_info;
}
static void
-_ecore_evas_ews_cb_focus_in(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_ecore_evas_ews_cb_focus_in(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee = data;
ecore_evas_focus_set(ee, EINA_TRUE);
}
static void
-_ecore_evas_ews_cb_focus_out(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_ecore_evas_ews_cb_focus_out(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee = data;
if (ee->deleted) return;
}
static void
-_ecore_evas_ews_cb_show(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_ecore_evas_ews_cb_show(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee = data;
ecore_evas_show(ee);
}
static void
-_ecore_evas_ews_cb_hide(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_ecore_evas_ews_cb_hide(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee = data;
if (ee->deleted) return;
#ifdef BUILD_ECORE_EVAS_EWS
static void
-_ecore_evas_ews_background_free(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *o __UNUSED__, void *event_info __UNUSED__)
+_ecore_evas_ews_background_free(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *o EINA_UNUSED, void *event_info EINA_UNUSED)
{
_ews_bg = NULL;
ecore_evas_ews_background_set(NULL);
}
static void
-_ecore_evas_extn_event_free(void *data, void *ev __UNUSED__)
+_ecore_evas_extn_event_free(void *data, void *ev EINA_UNUSED)
{
Ecore_Evas *ee = data;
if (ee->engine.buffer.image)
}
static void
-_ecore_evas_extn_plug_targer_render_pre(void *data, Evas *e __UNUSED__, void *event_info __UNUSED__)
+_ecore_evas_extn_plug_targer_render_pre(void *data, Evas *e EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee = data;
if (ee) _ecore_evas_socket_lock(ee);
}
static void
-_ecore_evas_extn_plug_targer_render_post(void *data, Evas *e __UNUSED__, void *event_info __UNUSED__)
+_ecore_evas_extn_plug_targer_render_post(void *data, Evas *e EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee = data;
if (ee) _ecore_evas_socket_unlock(ee);
}
static void
-_ecore_evas_extn_plug_image_obj_del(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_ecore_evas_extn_plug_image_obj_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee = data;
if (ee) ecore_evas_free(ee);
}
static void
-_ecore_evas_move_resize(Ecore_Evas *ee, int x __UNUSED__, int y __UNUSED__, int w, int h)
+_ecore_evas_move_resize(Ecore_Evas *ee, int x EINA_UNUSED, int y EINA_UNUSED, int w, int h)
{
_ecore_evas_resize(ee, w, h);
}
}
static void
-_ecore_evas_extn_cb_mouse_in(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_ecore_evas_extn_cb_mouse_in(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee = data;
Evas_Event_Mouse_In *ev = event_info;
}
static void
-_ecore_evas_extn_cb_mouse_out(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_ecore_evas_extn_cb_mouse_out(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee = data;
Evas_Event_Mouse_Out *ev = event_info;
}
static void
-_ecore_evas_extn_cb_mouse_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_ecore_evas_extn_cb_mouse_down(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = data;
Evas_Event_Mouse_Down *ev = event_info;
}
static void
-_ecore_evas_extn_cb_mouse_up(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_ecore_evas_extn_cb_mouse_up(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = data;
Evas_Event_Mouse_Up *ev = event_info;
}
static void
-_ecore_evas_extn_cb_mouse_move(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_ecore_evas_extn_cb_mouse_move(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = data;
Evas_Event_Mouse_Move *ev = event_info;
}
static void
-_ecore_evas_extn_cb_mouse_wheel(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_ecore_evas_extn_cb_mouse_wheel(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = data;
Evas_Event_Mouse_Wheel *ev = event_info;
}
static void
-_ecore_evas_extn_cb_multi_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_ecore_evas_extn_cb_multi_down(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = data;
Evas_Event_Multi_Down *ev = event_info;
static void
-_ecore_evas_extn_cb_multi_up(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_ecore_evas_extn_cb_multi_up(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = data;
Evas_Event_Multi_Up *ev = event_info;
}
static void
-_ecore_evas_extn_cb_multi_move(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_ecore_evas_extn_cb_multi_move(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = data;
Evas_Event_Multi_Move *ev = event_info;
}
static void
-_ecore_evas_extn_cb_free(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_ecore_evas_extn_cb_free(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee;
}
static void
-_ecore_evas_extn_cb_key_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_ecore_evas_extn_cb_key_down(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = data;
Evas_Event_Key_Down *ev = event_info;
}
static void
-_ecore_evas_extn_cb_key_up(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_ecore_evas_extn_cb_key_up(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = data;
Evas_Event_Key_Up *ev = event_info;
}
static void
-_ecore_evas_extn_cb_hold(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_ecore_evas_extn_cb_hold(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = data;
Evas_Event_Hold *ev = event_info;
}
static void
-_ecore_evas_extn_cb_focus_in(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_ecore_evas_extn_cb_focus_in(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee;
Extn *extn;
}
static void
-_ecore_evas_extn_cb_focus_out(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_ecore_evas_extn_cb_focus_out(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee;
Extn *extn;
}
static void
-_ecore_evas_extn_cb_show(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_ecore_evas_extn_cb_show(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee;
Extn *extn;
}
static void
-_ecore_evas_extn_cb_hide(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_ecore_evas_extn_cb_hide(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee;
Extn *extn;
};
static Eina_Bool
-_ipc_server_add(void *data, int type __UNUSED__, void *event)
+_ipc_server_add(void *data, int type EINA_UNUSED, void *event)
{
Ecore_Ipc_Event_Server_Add *e = event;
Ecore_Evas *ee = data;
}
static Eina_Bool
-_ipc_server_del(void *data, int type __UNUSED__, void *event)
+_ipc_server_del(void *data, int type EINA_UNUSED, void *event)
{
Ecore_Ipc_Event_Server_Del *e = event;
Ecore_Evas *ee = data;
}
static Eina_Bool
-_ipc_server_data(void *data, int type __UNUSED__, void *event)
+_ipc_server_data(void *data, int type EINA_UNUSED, void *event)
{
Ecore_Ipc_Event_Server_Data *e = event;
Ecore_Evas *ee = data;
}
static void
-_ecore_evas_socket_move_resize(Ecore_Evas *ee, int x __UNUSED__, int y __UNUSED__, int w, int h)
+_ecore_evas_socket_move_resize(Ecore_Evas *ee, int x EINA_UNUSED, int y EINA_UNUSED, int w, int h)
{
_ecore_evas_socket_resize(ee, w, h);
}
}
static Eina_Bool
-_ipc_client_add(void *data, int type __UNUSED__, void *event)
+_ipc_client_add(void *data, int type EINA_UNUSED, void *event)
{
Ecore_Ipc_Event_Client_Add *e = event;
Ecore_Evas *ee = data;
}
static Eina_Bool
-_ipc_client_del(void *data, int type __UNUSED__, void *event)
+_ipc_client_del(void *data, int type EINA_UNUSED, void *event)
{
Ecore_Ipc_Event_Client_Del *e = event;
Ecore_Evas *ee = data;
}
static Eina_Bool
-_ipc_client_data(void *data, int type __UNUSED__, void *event)
+_ipc_client_data(void *data, int type EINA_UNUSED, void *event)
{
Ecore_Ipc_Event_Client_Data *e = event;
Ecore_Evas *ee = data;
}
static void
-_ecore_evas_fb_lose(void *data __UNUSED__)
+_ecore_evas_fb_lose(void *data EINA_UNUSED)
{
Eina_List *ll;
Ecore_Fb_Input_Device *dev;
}
static void
-_ecore_evas_fb_gain(void *data __UNUSED__)
+_ecore_evas_fb_gain(void *data EINA_UNUSED)
{
Ecore_Evas *ee;
Eina_List *ll;
}
static Eina_Bool
-_ecore_evas_event_mouse_button_down(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_event_mouse_button_down(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_Event_Mouse_Button *e;
}
static Eina_Bool
-_ecore_evas_event_mouse_button_up(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_event_mouse_button_up(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_Event_Mouse_Button *e;
}
static Eina_Bool
-_ecore_evas_event_mouse_move(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_event_mouse_move(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_Event_Mouse_Move *e;
}
static Eina_Bool
-_ecore_evas_event_mouse_wheel(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_event_mouse_wheel(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_Event_Mouse_Wheel *e;
}
static void
-_ecore_evas_move_resize(Ecore_Evas *ee, int x __UNUSED__, int y __UNUSED__, int w, int h)
+_ecore_evas_move_resize(Ecore_Evas *ee, int x EINA_UNUSED, int y EINA_UNUSED, int w, int h)
{
ee->req.w = w;
ee->req.h = h;
}
static void
-_ecore_evas_rotation_set(Ecore_Evas *ee, int rotation, int resize __UNUSED__)
+_ecore_evas_rotation_set(Ecore_Evas *ee, int rotation, int resize EINA_UNUSED)
{
Evas_Engine_Info_FB *einfo;
int rot_dif;
}
static void
-_ecore_evas_object_cursor_del(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_ecore_evas_object_cursor_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee;
}
#else
EAPI Ecore_Evas *
-ecore_evas_fb_new(const char *disp_name __UNUSED__, int rotation __UNUSED__, int w __UNUSED__, int h __UNUSED__)
+ecore_evas_fb_new(const char *disp_name EINA_UNUSED, int rotation EINA_UNUSED, int w EINA_UNUSED, int h EINA_UNUSED)
{
return NULL;
}
}
static Eina_Bool
-_ecore_evas_psl1ght_event_got_focus(void *data __UNUSED__, int type __UNUSED__, void *event __UNUSED__)
+_ecore_evas_psl1ght_event_got_focus(void *data EINA_UNUSED, int type EINA_UNUSED, void *event EINA_UNUSED)
{
Ecore_Evas *ee;
}
static Eina_Bool
-_ecore_evas_psl1ght_event_lost_focus(void *data __UNUSED__, int type __UNUSED__, void *event __UNUSED__)
+_ecore_evas_psl1ght_event_lost_focus(void *data EINA_UNUSED, int type EINA_UNUSED, void *event EINA_UNUSED)
{
Ecore_Evas *ee;
}
static Eina_Bool
-_ecore_evas_psl1ght_event_video_expose(void *data __UNUSED__, int type __UNUSED__, void *event __UNUSED__)
+_ecore_evas_psl1ght_event_video_expose(void *data EINA_UNUSED, int type EINA_UNUSED, void *event EINA_UNUSED)
{
Ecore_Evas *ee;
int w;
}
static Eina_Bool
-_ecore_evas_psl1ght_event_key_modifiers(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_psl1ght_event_key_modifiers(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_Psl1ght_Event_Key_Modifiers *e = event;
}
static Eina_Bool
-_ecore_evas_psl1ght_event_quit (void *data __UNUSED__, int type __UNUSED__, void *event __UNUSED__)
+_ecore_evas_psl1ght_event_quit (void *data EINA_UNUSED, int type EINA_UNUSED, void *event EINA_UNUSED)
{
Ecore_Evas *ee;
}
static Eina_Bool
-_ecore_evas_psl1ght_event(void *data __UNUSED__)
+_ecore_evas_psl1ght_event(void *data EINA_UNUSED)
{
ecore_psl1ght_poll_events();
return ECORE_CALLBACK_RENEW;
}
static int
-_ecore_evas_psl1ght_init(int w __UNUSED__, int h __UNUSED__)
+_ecore_evas_psl1ght_init(int w EINA_UNUSED, int h EINA_UNUSED)
{
_ecore_evas_init_count++;
if (_ecore_evas_init_count > 1) return _ecore_evas_init_count;
}
static void
-_ecore_evas_move_resize(Ecore_Evas *ee, int x __UNUSED__, int y __UNUSED__, int w, int h)
+_ecore_evas_move_resize(Ecore_Evas *ee, int x EINA_UNUSED, int y EINA_UNUSED, int w, int h)
{
_ecore_evas_resize (ee, w, h);
}
}
static void
-_ecore_evas_screen_geometry_get(const Ecore_Evas *ee __UNUSED__, int *x, int *y, int *w, int *h)
+_ecore_evas_screen_geometry_get(const Ecore_Evas *ee EINA_UNUSED, int *x, int *y, int *w, int *h)
{
if (x) *x = 0;
if (y) *y = 0;
}
static void
-_ecore_evas_object_cursor_del(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_ecore_evas_object_cursor_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee;
#else /* BUILD_ECORE_EVAS_PSL1GHT */
EAPI Ecore_Evas *
-ecore_evas_psl1ght_new(const char *name __UNUSED__, int w __UNUSED__, int h __UNUSED__)
+ecore_evas_psl1ght_new(const char *name EINA_UNUSED, int w EINA_UNUSED, int h EINA_UNUSED)
{
ERR("OUTCH !");
return NULL;
}
static void *
-_ecore_evas_sdl_switch_buffer(void *data, void *dest __UNUSED__)
+_ecore_evas_sdl_switch_buffer(void *data, void *dest EINA_UNUSED)
{
SDL_Flip(data);
return ((SDL_Surface*)data)->pixels;
}
static Eina_Bool
-_ecore_evas_sdl_event_got_focus(void *data __UNUSED__, int type __UNUSED__, void *event __UNUSED__)
+_ecore_evas_sdl_event_got_focus(void *data EINA_UNUSED, int type EINA_UNUSED, void *event EINA_UNUSED)
{
Ecore_Evas *ee;
}
static Eina_Bool
-_ecore_evas_sdl_event_lost_focus(void *data __UNUSED__, int type __UNUSED__, void *event __UNUSED__)
+_ecore_evas_sdl_event_lost_focus(void *data EINA_UNUSED, int type EINA_UNUSED, void *event EINA_UNUSED)
{
Ecore_Evas *ee;
}
static Eina_Bool
-_ecore_evas_sdl_event_video_resize(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_sdl_event_video_resize(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Sdl_Event_Video_Resize *e;
Ecore_Evas *ee;
}
static Eina_Bool
-_ecore_evas_sdl_event_video_expose(void *data __UNUSED__, int type __UNUSED__, void *event __UNUSED__)
+_ecore_evas_sdl_event_video_expose(void *data EINA_UNUSED, int type EINA_UNUSED, void *event EINA_UNUSED)
{
Ecore_Evas *ee;
int w;
}
static Eina_Bool
-_ecore_evas_sdl_event(void *data __UNUSED__)
+_ecore_evas_sdl_event(void *data EINA_UNUSED)
{
ecore_sdl_feed_events();
return ECORE_CALLBACK_RENEW;
}
static int
-_ecore_evas_sdl_init(int w __UNUSED__, int h __UNUSED__)
+_ecore_evas_sdl_init(int w EINA_UNUSED, int h EINA_UNUSED)
{
_ecore_evas_init_count++;
if (_ecore_evas_init_count > 1) return _ecore_evas_init_count;
}
static void
-_ecore_evas_move_resize(Ecore_Evas *ee, int x __UNUSED__, int y __UNUSED__, int w, int h)
+_ecore_evas_move_resize(Ecore_Evas *ee, int x EINA_UNUSED, int y EINA_UNUSED, int w, int h)
{
if ((w == ee->w) && (h == ee->h)) return;
ee->w = w;
}
static void
-_ecore_evas_object_cursor_del(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_ecore_evas_object_cursor_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee;
}
#else
EAPI Ecore_Evas*
-ecore_evas_sdl_new(const char* name __UNUSED__, int w __UNUSED__, int h __UNUSED__, int fullscreen __UNUSED__, int hwsurface __UNUSED__, int noframe __UNUSED__, int alpha __UNUSED__)
+ecore_evas_sdl_new(const char* name EINA_UNUSED, int w EINA_UNUSED, int h EINA_UNUSED, int fullscreen EINA_UNUSED, int hwsurface EINA_UNUSED, int noframe EINA_UNUSED, int alpha EINA_UNUSED)
{
ERR("OUTCH !");
return NULL;
#endif
EAPI Ecore_Evas*
-ecore_evas_sdl16_new(const char* name __UNUSED__, int w __UNUSED__, int h __UNUSED__, int fullscreen __UNUSED__, int hwsurface __UNUSED__, int noframe __UNUSED__, int alpha __UNUSED__)
+ecore_evas_sdl16_new(const char* name EINA_UNUSED, int w EINA_UNUSED, int h EINA_UNUSED, int fullscreen EINA_UNUSED, int hwsurface EINA_UNUSED, int noframe EINA_UNUSED, int alpha EINA_UNUSED)
{
ERR("OUTCH !");
return NULL;
}
#else
EAPI Ecore_Evas*
-ecore_evas_gl_sdl_new(const char* name __UNUSED__, int w __UNUSED__, int h __UNUSED__, int fullscreen __UNUSED__, int noframe __UNUSED__)
+ecore_evas_gl_sdl_new(const char* name EINA_UNUSED, int w EINA_UNUSED, int h EINA_UNUSED, int fullscreen EINA_UNUSED, int noframe EINA_UNUSED)
{
ERR("OUTCH !");
return NULL;
}
static void
-_ecore_evas_obj_intercept_raise(void *data, Evas_Object *obj __UNUSED__)
+_ecore_evas_obj_intercept_raise(void *data, Evas_Object *obj EINA_UNUSED)
{
Ecore_Evas *ee = data;
ecore_evas_raise(ee);
}
static void
-_ecore_evas_obj_intercept_lower(void *data, Evas_Object *obj __UNUSED__)
+_ecore_evas_obj_intercept_lower(void *data, Evas_Object *obj EINA_UNUSED)
{
Ecore_Evas *ee = data;
ecore_evas_lower(ee);
}
static void
-_ecore_evas_obj_intercept_stack_above(void *data __UNUSED__, Evas_Object *obj __UNUSED__, Evas_Object *above __UNUSED__)
+_ecore_evas_obj_intercept_stack_above(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, Evas_Object *above EINA_UNUSED)
{
INF("TODO: %s", __FUNCTION__);
}
static void
-_ecore_evas_obj_intercept_stack_below(void *data __UNUSED__, Evas_Object *obj __UNUSED__, Evas_Object *below __UNUSED__)
+_ecore_evas_obj_intercept_stack_below(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, Evas_Object *below EINA_UNUSED)
{
INF("TODO: %s", __FUNCTION__);
}
static void
-_ecore_evas_obj_intercept_layer_set(void *data, Evas_Object *obj __UNUSED__, int l)
+_ecore_evas_obj_intercept_layer_set(void *data, Evas_Object *obj EINA_UNUSED, int l)
{
Ecore_Evas *ee = data;
ecore_evas_layer_set(ee, l);
/* Event Callbacks */
static void
-_ecore_evas_obj_callback_show(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_ecore_evas_obj_callback_show(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee = data;
ecore_evas_show(ee);
}
static void
-_ecore_evas_obj_callback_hide(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_ecore_evas_obj_callback_hide(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee = data;
ecore_evas_hide(ee);
}
static void
-_ecore_evas_obj_callback_resize(void *data, Evas *e, Evas_Object *obj, void *event_info __UNUSED__)
+_ecore_evas_obj_callback_resize(void *data, Evas *e, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee = data;
Evas_Coord ow, oh, fw, fh;
}
static void
-_ecore_evas_obj_callback_changed_size_hints(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_ecore_evas_obj_callback_changed_size_hints(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee = data;
Evas_Coord w, h;
}
static void
-_ecore_evas_obj_callback_del(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_ecore_evas_obj_callback_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee = data;
_ecore_evas_object_dissociate(ee, obj);
}
static void
-_ecore_evas_obj_callback_del_dissociate(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_ecore_evas_obj_callback_del_dissociate(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee = data;
_ecore_evas_object_dissociate(ee, obj);
}
static int
-_ecore_evas_object_evas_check(const char *function __UNUSED__, const Ecore_Evas *ee, const Evas_Object *obj)
+_ecore_evas_object_evas_check(const char *function EINA_UNUSED, const Ecore_Evas *ee, const Evas_Object *obj)
{
const char *name, *type;
Evas *e;
* @return The function always return 1.
*/
unsigned char
-ecore_getopt_callback_ecore_evas_list_engines(const Ecore_Getopt *parser __UNUSED__, const Ecore_Getopt_Desc *desc __UNUSED__, const char *str __UNUSED__, void *data, Ecore_Getopt_Value *storage)
+ecore_getopt_callback_ecore_evas_list_engines(const Ecore_Getopt *parser EINA_UNUSED, const Ecore_Getopt_Desc *desc EINA_UNUSED, const char *str EINA_UNUSED, void *data, Ecore_Getopt_Value *storage)
{
Eina_List *lst, *n;
const char *engine;
static Ecore_Event_Handler *_ecore_evas_wl_event_hdls[5];
static Eina_Bool
-_ecore_evas_wl_common_cb_mouse_in(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_wl_common_cb_mouse_in(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_Wl_Event_Mouse_In *ev;
}
static Eina_Bool
-_ecore_evas_wl_common_cb_mouse_out(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_wl_common_cb_mouse_out(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_Wl_Event_Mouse_Out *ev;
}
static Eina_Bool
-_ecore_evas_wl_common_cb_focus_in(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_wl_common_cb_focus_in(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_Wl_Event_Focus_In *ev;
}
static Eina_Bool
-_ecore_evas_wl_common_cb_focus_out(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_wl_common_cb_focus_out(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_Wl_Event_Focus_In *ev;
}
static Eina_Bool
-_ecore_evas_wl_common_cb_window_configure(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_wl_common_cb_window_configure(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_Wl_Event_Window_Configure *ev;
}
static void
-_ecore_evas_object_cursor_del(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_ecore_evas_object_cursor_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee;
}
void
-_ecore_evas_wl_common_screen_geometry_get(const Ecore_Evas *ee __UNUSED__, int *x, int *y, int *w, int *h)
+_ecore_evas_wl_common_screen_geometry_get(const Ecore_Evas *ee EINA_UNUSED, int *x, int *y, int *w, int *h)
{
LOGFN(__FILE__, __LINE__, __FUNCTION__);
}
void
-_ecore_evas_wl_common_screen_dpi_get(const Ecore_Evas *ee __UNUSED__, int *xdpi, int *ydpi)
+_ecore_evas_wl_common_screen_dpi_get(const Ecore_Evas *ee EINA_UNUSED, int *xdpi, int *ydpi)
{
int dpi = 0;
}
#else
EAPI Ecore_Evas *
-ecore_evas_wayland_egl_new(const char *disp_name __UNUSED__, unsigned int parent __UNUSED__, int x __UNUSED__, int y __UNUSED__, int w __UNUSED__, int h __UNUSED__, Eina_Bool frame __UNUSED__)
+ecore_evas_wayland_egl_new(const char *disp_name EINA_UNUSED, unsigned int parent EINA_UNUSED, int x EINA_UNUSED, int y EINA_UNUSED, int w EINA_UNUSED, int h EINA_UNUSED, Eina_Bool frame EINA_UNUSED)
{
return NULL;
}
}
static void
-_ecore_evas_wl_frame_complete(void *data, struct wl_callback *callback, uint32_t time __UNUSED__)
+_ecore_evas_wl_frame_complete(void *data, struct wl_callback *callback, uint32_t time EINA_UNUSED)
{
Ecore_Evas *ee = data;
Ecore_Wl_Window *win = NULL;
}
#else
EAPI Ecore_Evas *
-ecore_evas_wayland_shm_new(const char *disp_name __UNUSED__, unsigned int parent __UNUSED__, int x __UNUSED__, int y __UNUSED__, int w __UNUSED__, int h __UNUSED__, Eina_Bool frame __UNUSED__)
+ecore_evas_wayland_shm_new(const char *disp_name EINA_UNUSED, unsigned int parent EINA_UNUSED, int x EINA_UNUSED, int y EINA_UNUSED, int w EINA_UNUSED, int h EINA_UNUSED, Eina_Bool frame EINA_UNUSED)
{
return NULL;
}
static Ecore_Event_Handler *ecore_evas_event_handlers[ECORE_EVAS_EVENT_COUNT];
-static Eina_Bool _ecore_evas_win32_event_mouse_in(void *data __UNUSED__, int type __UNUSED__, void *event);
+static Eina_Bool _ecore_evas_win32_event_mouse_in(void *data EINA_UNUSED, int type EINA_UNUSED, void *event);
-static Eina_Bool _ecore_evas_win32_event_mouse_out(void *data __UNUSED__, int type __UNUSED__, void *event);
+static Eina_Bool _ecore_evas_win32_event_mouse_out(void *data EINA_UNUSED, int type EINA_UNUSED, void *event);
-static Eina_Bool _ecore_evas_win32_event_window_focus_in(void *data __UNUSED__, int type __UNUSED__, void *event);
+static Eina_Bool _ecore_evas_win32_event_window_focus_in(void *data EINA_UNUSED, int type EINA_UNUSED, void *event);
-static Eina_Bool _ecore_evas_win32_event_window_focus_out(void *data __UNUSED__, int type __UNUSED__, void *event);
+static Eina_Bool _ecore_evas_win32_event_window_focus_out(void *data EINA_UNUSED, int type EINA_UNUSED, void *event);
-static Eina_Bool _ecore_evas_win32_event_window_damage(void *data __UNUSED__, int type __UNUSED__, void *event);
+static Eina_Bool _ecore_evas_win32_event_window_damage(void *data EINA_UNUSED, int type EINA_UNUSED, void *event);
-static Eina_Bool _ecore_evas_win32_event_window_destroy(void *data __UNUSED__, int type __UNUSED__, void *event);
+static Eina_Bool _ecore_evas_win32_event_window_destroy(void *data EINA_UNUSED, int type EINA_UNUSED, void *event);
-static Eina_Bool _ecore_evas_win32_event_window_show(void *data __UNUSED__, int type __UNUSED__, void *event);
+static Eina_Bool _ecore_evas_win32_event_window_show(void *data EINA_UNUSED, int type EINA_UNUSED, void *event);
-static Eina_Bool _ecore_evas_win32_event_window_hide(void *data __UNUSED__, int type __UNUSED__, void *event);
+static Eina_Bool _ecore_evas_win32_event_window_hide(void *data EINA_UNUSED, int type EINA_UNUSED, void *event);
-static Eina_Bool _ecore_evas_win32_event_window_configure(void *data __UNUSED__, int type __UNUSED__, void *event);
+static Eina_Bool _ecore_evas_win32_event_window_configure(void *data EINA_UNUSED, int type EINA_UNUSED, void *event);
-static Eina_Bool _ecore_evas_win32_event_window_delete_request(void *data __UNUSED__, int type __UNUSED__, void *event);
+static Eina_Bool _ecore_evas_win32_event_window_delete_request(void *data EINA_UNUSED, int type EINA_UNUSED, void *event);
/* Private functions */
}
static Eina_Bool
-_ecore_evas_win32_event_mouse_in(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_win32_event_mouse_in(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_Win32_Event_Mouse_In *e;
}
static Eina_Bool
-_ecore_evas_win32_event_mouse_out(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_win32_event_mouse_out(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_Win32_Event_Mouse_Out *e;
}
static Eina_Bool
-_ecore_evas_win32_event_window_focus_in(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_win32_event_window_focus_in(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_Win32_Event_Window_Focus_In *e;
}
static Eina_Bool
-_ecore_evas_win32_event_window_focus_out(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_win32_event_window_focus_out(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_Win32_Event_Window_Focus_Out *e;
}
static Eina_Bool
-_ecore_evas_win32_event_window_damage(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_win32_event_window_damage(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_Win32_Event_Window_Damage *e;
}
static Eina_Bool
-_ecore_evas_win32_event_window_destroy(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_win32_event_window_destroy(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_Win32_Event_Window_Destroy *e;
}
static Eina_Bool
-_ecore_evas_win32_event_window_show(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_win32_event_window_show(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_Win32_Event_Window_Show *e;
}
static Eina_Bool
-_ecore_evas_win32_event_window_hide(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_win32_event_window_hide(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_Win32_Event_Window_Hide *e;
}
static Eina_Bool
-_ecore_evas_win32_event_window_configure(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_win32_event_window_configure(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_Win32_Event_Window_Configure *e;
}
static Eina_Bool
-_ecore_evas_win32_event_window_delete_request(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_win32_event_window_delete_request(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_Win32_Event_Window_Delete_Request *e;
}
static void
-_ecore_evas_win32_focus_set(Ecore_Evas *ee, int on __UNUSED__)
+_ecore_evas_win32_focus_set(Ecore_Evas *ee, int on EINA_UNUSED)
{
ecore_win32_window_focus((struct _Ecore_Win32_Window *)ee->prop.window);
}
#else
EAPI Ecore_Evas *
-ecore_evas_software_gdi_new(Ecore_Win32_Window *parent __UNUSED__,
- int x __UNUSED__,
- int y __UNUSED__,
- int width __UNUSED__,
- int height __UNUSED__)
+ecore_evas_software_gdi_new(Ecore_Win32_Window *parent EINA_UNUSED,
+ int x EINA_UNUSED,
+ int y EINA_UNUSED,
+ int width EINA_UNUSED,
+ int height EINA_UNUSED)
{
return NULL;
}
#else
EAPI Ecore_Evas *
-ecore_evas_software_ddraw_new(Ecore_Win32_Window *parent __UNUSED__,
- int x __UNUSED__,
- int y __UNUSED__,
- int width __UNUSED__,
- int height __UNUSED__)
+ecore_evas_software_ddraw_new(Ecore_Win32_Window *parent EINA_UNUSED,
+ int x EINA_UNUSED,
+ int y EINA_UNUSED,
+ int width EINA_UNUSED,
+ int height EINA_UNUSED)
{
return NULL;
}
EAPI Ecore_Evas *
-ecore_evas_software_16_ddraw_new(Ecore_Win32_Window *parent __UNUSED__,
- int x __UNUSED__,
- int y __UNUSED__,
- int width __UNUSED__,
- int height __UNUSED__)
+ecore_evas_software_16_ddraw_new(Ecore_Win32_Window *parent EINA_UNUSED,
+ int x EINA_UNUSED,
+ int y EINA_UNUSED,
+ int width EINA_UNUSED,
+ int height EINA_UNUSED)
{
return NULL;
}
#else
EAPI Ecore_Evas *
-ecore_evas_direct3d_new(Ecore_Win32_Window *parent __UNUSED__,
- int x __UNUSED__,
- int y __UNUSED__,
- int width __UNUSED__,
- int height __UNUSED__)
+ecore_evas_direct3d_new(Ecore_Win32_Window *parent EINA_UNUSED,
+ int x EINA_UNUSED,
+ int y EINA_UNUSED,
+ int width EINA_UNUSED,
+ int height EINA_UNUSED)
{
return NULL;
}
#else
EAPI Ecore_Evas *
-ecore_evas_gl_glew_new(Ecore_Win32_Window *parent __UNUSED__,
- int x __UNUSED__,
- int y __UNUSED__,
- int width __UNUSED__,
- int height __UNUSED__)
+ecore_evas_gl_glew_new(Ecore_Win32_Window *parent EINA_UNUSED,
+ int x EINA_UNUSED,
+ int y EINA_UNUSED,
+ int width EINA_UNUSED,
+ int height EINA_UNUSED)
{
return NULL;
}
#else
EAPI Ecore_Win32_Window *
-ecore_evas_win32_window_get(const Ecore_Evas *ee __UNUSED__)
+ecore_evas_win32_window_get(const Ecore_Evas *ee EINA_UNUSED)
{
return NULL;
}
#include "Ecore_Evas.h"
EAPI Ecore_Evas *
-ecore_evas_software_wince_new(Ecore_WinCE_Window *parent __UNUSED__,
- int x __UNUSED__,
- int y __UNUSED__,
- int width __UNUSED__,
- int height __UNUSED__)
+ecore_evas_software_wince_new(Ecore_WinCE_Window *parent EINA_UNUSED,
+ int x EINA_UNUSED,
+ int y EINA_UNUSED,
+ int width EINA_UNUSED,
+ int height EINA_UNUSED)
{
return NULL;
}
EAPI Ecore_Evas *
-ecore_evas_software_wince_fb_new(Ecore_WinCE_Window *parent __UNUSED__,
- int x __UNUSED__,
- int y __UNUSED__,
- int width __UNUSED__,
- int height __UNUSED__)
+ecore_evas_software_wince_fb_new(Ecore_WinCE_Window *parent EINA_UNUSED,
+ int x EINA_UNUSED,
+ int y EINA_UNUSED,
+ int width EINA_UNUSED,
+ int height EINA_UNUSED)
{
return NULL;
}
EAPI Ecore_Evas *
-ecore_evas_software_wince_gapi_new(Ecore_WinCE_Window *parent __UNUSED__,
- int x __UNUSED__,
- int y __UNUSED__,
- int width __UNUSED__,
- int height __UNUSED__)
+ecore_evas_software_wince_gapi_new(Ecore_WinCE_Window *parent EINA_UNUSED,
+ int x EINA_UNUSED,
+ int y EINA_UNUSED,
+ int width EINA_UNUSED,
+ int height EINA_UNUSED)
{
return NULL;
}
EAPI Ecore_Evas *
-ecore_evas_software_wince_ddraw_new(Ecore_WinCE_Window *parent __UNUSED__,
- int x __UNUSED__,
- int y __UNUSED__,
- int width __UNUSED__,
- int height __UNUSED__)
+ecore_evas_software_wince_ddraw_new(Ecore_WinCE_Window *parent EINA_UNUSED,
+ int x EINA_UNUSED,
+ int y EINA_UNUSED,
+ int width EINA_UNUSED,
+ int height EINA_UNUSED)
{
return NULL;
}
EAPI Ecore_Evas *
-ecore_evas_software_wince_gdi_new(Ecore_WinCE_Window *parent __UNUSED__,
- int x __UNUSED__,
- int y __UNUSED__,
- int width __UNUSED__,
- int height __UNUSED__)
+ecore_evas_software_wince_gdi_new(Ecore_WinCE_Window *parent EINA_UNUSED,
+ int x EINA_UNUSED,
+ int y EINA_UNUSED,
+ int width EINA_UNUSED,
+ int height EINA_UNUSED)
{
return NULL;
}
EAPI Ecore_WinCE_Window *
-ecore_evas_software_wince_window_get(const Ecore_Evas *ee __UNUSED__)
+ecore_evas_software_wince_window_get(const Ecore_Evas *ee EINA_UNUSED)
{
return NULL;
}
/* TODO: we need to make this work for all the states, not just sticky */
static Eina_Bool
-_ecore_evas_x_event_property_change(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_x_event_property_change(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_X_Event_Window_Property *e;
}
static Eina_Bool
-_ecore_evas_x_event_visibility_change(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_x_event_visibility_change(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_X_Event_Window_Visibility_Change *e;
}
static Eina_Bool
-_ecore_evas_x_event_client_message(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_x_event_client_message(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_X_Event_Client_Message *e;
}
static Eina_Bool
-_ecore_evas_x_event_mouse_in(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_x_event_mouse_in(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_X_Event_Mouse_In *e;
}
static Eina_Bool
-_ecore_evas_x_event_mouse_out(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_x_event_mouse_out(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_X_Event_Mouse_Out *e;
}
static Eina_Bool
-_ecore_evas_x_event_window_focus_in(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_x_event_window_focus_in(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_X_Event_Window_Focus_In *e;
}
static Eina_Bool
-_ecore_evas_x_event_window_focus_out(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_x_event_window_focus_out(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_X_Event_Window_Focus_Out *e;
}
static Eina_Bool
-_ecore_evas_x_event_window_damage(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_x_event_window_damage(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_X_Event_Window_Damage *e;
}
static Eina_Bool
-_ecore_evas_x_event_window_destroy(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_x_event_window_destroy(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_X_Event_Window_Destroy *e;
}
static Eina_Bool
-_ecore_evas_x_event_window_configure(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_x_event_window_configure(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_X_Event_Window_Configure *e;
}
static Eina_Bool
-_ecore_evas_x_event_window_delete_request(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_x_event_window_delete_request(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_X_Event_Window_Delete_Request *e;
}
static Eina_Bool
-_ecore_evas_x_event_window_show(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_x_event_window_show(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_X_Event_Window_Show *e;
}
static Eina_Bool
-_ecore_evas_x_event_window_hide(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_evas_x_event_window_hide(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_X_Event_Window_Hide *e;
#define _USE_WIN_ROT_EFFECT 1
#if _USE_WIN_ROT_EFFECT
-static void _ecore_evas_x_flush_pre(void *data, Evas *e __UNUSED__, void *event_info __UNUSED__);
+static void _ecore_evas_x_flush_pre(void *data, Evas *e EINA_UNUSED, void *event_info EINA_UNUSED);
typedef struct _Ecore_Evas_X_Rotation_Effect Ecore_Evas_X_Rotation_Effect;
struct _Ecore_Evas_X_Rotation_Effect
}
static void
-_ecore_evas_object_cursor_del(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_ecore_evas_object_cursor_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee;
}
static void
-_ecore_evas_x_focus_set(Ecore_Evas *ee, int on __UNUSED__)
+_ecore_evas_x_focus_set(Ecore_Evas *ee, int on EINA_UNUSED)
{
ecore_x_window_focus(ee->prop.window);
}
}
static void
-_ecore_evas_x_screen_geometry_get(const Ecore_Evas *ee __UNUSED__, int *x, int *y, int *w, int *h)
+_ecore_evas_x_screen_geometry_get(const Ecore_Evas *ee EINA_UNUSED, int *x, int *y, int *w, int *h)
{
int outnum = 0;
int px = 0, py = 0, pw = 0, ph = 0;
#if defined (BUILD_ECORE_EVAS_SOFTWARE_X11) || defined (BUILD_ECORE_EVAS_OPENGL_X11)
static void
-_ecore_evas_x_flush_pre(void *data, Evas *e __UNUSED__, void *event_info __UNUSED__)
+_ecore_evas_x_flush_pre(void *data, Evas *e EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee = data;
}
static void
-_ecore_evas_x_flush_post(void *data, Evas *e __UNUSED__, void *event_info __UNUSED__)
+_ecore_evas_x_flush_post(void *data, Evas *e EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee = data;
}
#else
EAPI Ecore_Evas *
-ecore_evas_software_x11_new(const char *disp_name __UNUSED__, Ecore_X_Window parent __UNUSED__,
- int x __UNUSED__, int y __UNUSED__, int w __UNUSED__, int h __UNUSED__)
+ecore_evas_software_x11_new(const char *disp_name EINA_UNUSED, Ecore_X_Window parent EINA_UNUSED,
+ int x EINA_UNUSED, int y EINA_UNUSED, int w EINA_UNUSED, int h EINA_UNUSED)
{
return NULL;
}
}
#else
EAPI Ecore_X_Window
-ecore_evas_software_x11_window_get(const Ecore_Evas *ee __UNUSED__)
+ecore_evas_software_x11_window_get(const Ecore_Evas *ee EINA_UNUSED)
{
return 0;
}
}
#else
EAPI void
-ecore_evas_software_x11_direct_resize_set(Ecore_Evas *ee __UNUSED__, Eina_Bool on __UNUSED__)
+ecore_evas_software_x11_direct_resize_set(Ecore_Evas *ee EINA_UNUSED, Eina_Bool on EINA_UNUSED)
{
}
#endif
}
#else
EAPI Eina_Bool
-ecore_evas_software_x11_direct_resize_get(const Ecore_Evas *ee __UNUSED__)
+ecore_evas_software_x11_direct_resize_get(const Ecore_Evas *ee EINA_UNUSED)
{
return 0;
}
}
#else
EAPI void
-ecore_evas_software_x11_extra_event_window_add(Ecore_Evas *ee __UNUSED__, Ecore_X_Window win __UNUSED__)
+ecore_evas_software_x11_extra_event_window_add(Ecore_Evas *ee EINA_UNUSED, Ecore_X_Window win EINA_UNUSED)
{
}
#endif
}
#else
EAPI Ecore_Evas *
-ecore_evas_gl_x11_new(const char *disp_name __UNUSED__, Ecore_X_Window parent __UNUSED__,
- int x __UNUSED__, int y __UNUSED__, int w __UNUSED__, int h __UNUSED__)
+ecore_evas_gl_x11_new(const char *disp_name EINA_UNUSED, Ecore_X_Window parent EINA_UNUSED,
+ int x EINA_UNUSED, int y EINA_UNUSED, int w EINA_UNUSED, int h EINA_UNUSED)
{
return NULL;
}
EAPI Ecore_Evas *
-ecore_evas_gl_x11_options_new(const char *disp_name __UNUSED__, Ecore_X_Window parent __UNUSED__,
- int x __UNUSED__, int y __UNUSED__, int w __UNUSED__, int h __UNUSED__, const int *opt __UNUSED__)
+ecore_evas_gl_x11_options_new(const char *disp_name EINA_UNUSED, Ecore_X_Window parent EINA_UNUSED,
+ int x EINA_UNUSED, int y EINA_UNUSED, int w EINA_UNUSED, int h EINA_UNUSED, const int *opt EINA_UNUSED)
{
return NULL;
}
}
#else
EAPI Ecore_X_Window
-ecore_evas_gl_x11_window_get(const Ecore_Evas *ee __UNUSED__)
+ecore_evas_gl_x11_window_get(const Ecore_Evas *ee EINA_UNUSED)
{
return 0;
}
}
#else
EAPI void
-ecore_evas_gl_x11_direct_resize_set(Ecore_Evas *ee __UNUSED__, Eina_Bool on __UNUSED__)
+ecore_evas_gl_x11_direct_resize_set(Ecore_Evas *ee EINA_UNUSED, Eina_Bool on EINA_UNUSED)
{
}
#endif /* ! BUILD_ECORE_EVAS_OPENGL_X11 */
}
#else
EAPI Eina_Bool
-ecore_evas_gl_x11_direct_resize_get(const Ecore_Evas *ee __UNUSED__)
+ecore_evas_gl_x11_direct_resize_get(const Ecore_Evas *ee EINA_UNUSED)
{
return 0;
}
}
#else
EAPI void
-ecore_evas_gl_x11_extra_event_window_add(Ecore_Evas *ee __UNUSED__, Ecore_X_Window win __UNUSED__)
+ecore_evas_gl_x11_extra_event_window_add(Ecore_Evas *ee EINA_UNUSED, Ecore_X_Window win EINA_UNUSED)
{
}
#endif /* ! BUILD_ECORE_EVAS_OPENGL_X11 */
}
#else
EAPI void
-ecore_evas_gl_x11_pre_post_swap_callback_set(const Ecore_Evas *ee __UNUSED__, void *data __UNUSED__, void (*pre_cb) (void *data, Evas *e) __UNUSED__, void (*post_cb) (void *data, Evas *e) __UNUSED__)
+ecore_evas_gl_x11_pre_post_swap_callback_set(const Ecore_Evas *ee EINA_UNUSED, void *data EINA_UNUSED, void (*pre_cb) (void *data, Evas *e) EINA_UNUSED, void (*post_cb) (void *data, Evas *e) EINA_UNUSED)
{
return;
}
#endif /* ! BUILD_ECORE_EVAS_OPENGL_X11 */
EAPI Ecore_Evas *
-ecore_evas_xrender_x11_new(const char *disp_name __UNUSED__, Ecore_X_Window parent __UNUSED__,
- int x __UNUSED__, int y __UNUSED__, int w __UNUSED__, int h __UNUSED__)
+ecore_evas_xrender_x11_new(const char *disp_name EINA_UNUSED, Ecore_X_Window parent EINA_UNUSED,
+ int x EINA_UNUSED, int y EINA_UNUSED, int w EINA_UNUSED, int h EINA_UNUSED)
{
return NULL;
}
EAPI Ecore_X_Window
-ecore_evas_xrender_x11_window_get(const Ecore_Evas *ee __UNUSED__)
+ecore_evas_xrender_x11_window_get(const Ecore_Evas *ee EINA_UNUSED)
{
return 0;
}
EAPI void
-ecore_evas_xrender_x11_direct_resize_set(Ecore_Evas *ee __UNUSED__, Eina_Bool on __UNUSED__)
+ecore_evas_xrender_x11_direct_resize_set(Ecore_Evas *ee EINA_UNUSED, Eina_Bool on EINA_UNUSED)
{
}
EAPI Eina_Bool
-ecore_evas_xrender_x11_direct_resize_get(const Ecore_Evas *ee __UNUSED__)
+ecore_evas_xrender_x11_direct_resize_get(const Ecore_Evas *ee EINA_UNUSED)
{
return 0;
}
EAPI void
-ecore_evas_xrender_x11_extra_event_window_add(Ecore_Evas *ee __UNUSED__, Ecore_X_Window win __UNUSED__)
+ecore_evas_xrender_x11_extra_event_window_add(Ecore_Evas *ee EINA_UNUSED, Ecore_X_Window win EINA_UNUSED)
{
}
EAPI Ecore_Evas *
-ecore_evas_software_x11_16_new(const char *disp_name __UNUSED__, Ecore_X_Window parent __UNUSED__,
- int x __UNUSED__, int y __UNUSED__, int w __UNUSED__, int h __UNUSED__)
+ecore_evas_software_x11_16_new(const char *disp_name EINA_UNUSED, Ecore_X_Window parent EINA_UNUSED,
+ int x EINA_UNUSED, int y EINA_UNUSED, int w EINA_UNUSED, int h EINA_UNUSED)
{
return NULL;
}
EAPI Ecore_X_Window
-ecore_evas_software_x11_16_window_get(const Ecore_Evas *ee __UNUSED__)
+ecore_evas_software_x11_16_window_get(const Ecore_Evas *ee EINA_UNUSED)
{
return 0;
}
EAPI void
-ecore_evas_software_x11_16_direct_resize_set(Ecore_Evas *ee __UNUSED__, Eina_Bool on __UNUSED__)
+ecore_evas_software_x11_16_direct_resize_set(Ecore_Evas *ee EINA_UNUSED, Eina_Bool on EINA_UNUSED)
{
}
EAPI Eina_Bool
-ecore_evas_software_x11_16_direct_resize_get(const Ecore_Evas *ee __UNUSED__)
+ecore_evas_software_x11_16_direct_resize_get(const Ecore_Evas *ee EINA_UNUSED)
{
return 0;
}
EAPI void
-ecore_evas_software_x11_16_extra_event_window_add(Ecore_Evas *ee __UNUSED__, Ecore_X_Window win __UNUSED__)
+ecore_evas_software_x11_16_extra_event_window_add(Ecore_Evas *ee EINA_UNUSED, Ecore_X_Window win EINA_UNUSED)
{
}
EAPI Ecore_Evas *
-ecore_evas_software_x11_8_new(const char *disp_name __UNUSED__, Ecore_X_Window parent __UNUSED__, int x __UNUSED__, int y __UNUSED__, int w __UNUSED__, int h __UNUSED__)
+ecore_evas_software_x11_8_new(const char *disp_name EINA_UNUSED, Ecore_X_Window parent EINA_UNUSED, int x EINA_UNUSED, int y EINA_UNUSED, int w EINA_UNUSED, int h EINA_UNUSED)
{
return NULL;
}
EAPI Ecore_X_Window
-ecore_evas_software_x11_8_window_get(const Ecore_Evas *ee __UNUSED__)
+ecore_evas_software_x11_8_window_get(const Ecore_Evas *ee EINA_UNUSED)
{
return 0;
}
EAPI Ecore_X_Window
-ecore_evas_software_x11_8_subwindow_get(const Ecore_Evas *ee __UNUSED__)
+ecore_evas_software_x11_8_subwindow_get(const Ecore_Evas *ee EINA_UNUSED)
{
return 0;
}
EAPI void
-ecore_evas_software_x11_8_direct_resize_set(Ecore_Evas *ee __UNUSED__, Eina_Bool on __UNUSED__)
+ecore_evas_software_x11_8_direct_resize_set(Ecore_Evas *ee EINA_UNUSED, Eina_Bool on EINA_UNUSED)
{
}
EAPI Eina_Bool
-ecore_evas_software_x11_8_direct_resize_get(const Ecore_Evas *ee __UNUSED__)
+ecore_evas_software_x11_8_direct_resize_get(const Ecore_Evas *ee EINA_UNUSED)
{
return 0;
}
EAPI void
-ecore_evas_software_x11_8_extra_event_window_add(Ecore_Evas *ee __UNUSED__, Ecore_X_Window win __UNUSED__)
+ecore_evas_software_x11_8_extra_event_window_add(Ecore_Evas *ee EINA_UNUSED, Ecore_X_Window win EINA_UNUSED)
{
return;
}
static sighandler_t oldhand = NULL;
static void
-nosigint(int val __UNUSED__)
+nosigint(int val EINA_UNUSED)
{
}
* the Ecore_Fb library.
*/
EAPI int
-ecore_fb_init(const char *name __UNUSED__)
+ecore_fb_init(const char *name EINA_UNUSED)
{
if (++_ecore_fb_init_count != 1)
return _ecore_fb_init_count;
static Eina_Bool _ecore_fb_kbd_fd_handler(void *data, Ecore_Fd_Handler *fd_handler);
static void
-_ecore_fb_event_free_key_down(void *data __UNUSED__, void *ev)
+_ecore_fb_event_free_key_down(void *data EINA_UNUSED, void *ev)
{
Ecore_Fb_Event_Key_Down *e;
e = ev;
}
static void
-_ecore_fb_event_free_key_up(void *data __UNUSED__, void *ev)
+_ecore_fb_event_free_key_up(void *data EINA_UNUSED, void *ev)
{
Ecore_Fb_Event_Key_Up *e;
}
static Eina_Bool
-_ecore_fb_kbd_fd_handler(void *data __UNUSED__, Ecore_Fd_Handler *fd_handler __UNUSED__)
+_ecore_fb_kbd_fd_handler(void *data EINA_UNUSED, Ecore_Fd_Handler *fd_handler EINA_UNUSED)
{
int v = 0;
}
static void
-_ecore_fb_li_device_event_syn(Ecore_Fb_Input_Device *dev, struct input_event *iev __UNUSED__)
+_ecore_fb_li_device_event_syn(Ecore_Fb_Input_Device *dev, struct input_event *iev EINA_UNUSED)
{
if (!dev->listen) return;
}
static Eina_Bool
-_ecore_fb_li_device_fd_callback(void *data, Ecore_Fd_Handler *fdh __UNUSED__)
+_ecore_fb_li_device_fd_callback(void *data, Ecore_Fd_Handler *fdh EINA_UNUSED)
{
Ecore_Fb_Input_Device *dev;
struct input_event ev[64];
}
static Eina_Bool
-_ecore_fb_ps2_fd_handler(void *data __UNUSED__, Ecore_Fd_Handler *fd_handler __UNUSED__)
+_ecore_fb_ps2_fd_handler(void *data EINA_UNUSED, Ecore_Fd_Handler *fd_handler EINA_UNUSED)
{
static int prev_x = 0, prev_y = 0, prev_button = 0;
static double last_time = 0;
}
static Eina_Bool
-_ecore_fb_ts_fd_handler(void *data __UNUSED__, Ecore_Fd_Handler *fd_handler __UNUSED__)
+_ecore_fb_ts_fd_handler(void *data EINA_UNUSED, Ecore_Fd_Handler *fd_handler EINA_UNUSED)
{
static int prev_x = 0, prev_y = 0, prev_pressure = 0;
static double last_time = 0;
*/
static Eina_Bool
-_ecore_fb_signal_usr_handler(void *data __UNUSED__, int type __UNUSED__, void *ev)
+_ecore_fb_signal_usr_handler(void *data EINA_UNUSED, int type EINA_UNUSED, void *ev)
{
Ecore_Event_Signal_User *e;
};
static void *
-_ecore_fb_event_filter_start(void *data __UNUSED__)
+_ecore_fb_event_filter_start(void *data EINA_UNUSED)
{
Ecore_Fb_Filter_Data *filter_data;
}
static Eina_Bool
-_ecore_fb_event_filter_filter(void *data __UNUSED__, void *loop_data,int type, void *event __UNUSED__)
+_ecore_fb_event_filter_filter(void *data EINA_UNUSED, void *loop_data,int type, void *event EINA_UNUSED)
{
Ecore_Fb_Filter_Data *filter_data;
}
static void
-_ecore_fb_event_filter_end(void *data __UNUSED__, void *loop_data)
+_ecore_fb_event_filter_end(void *data EINA_UNUSED, void *loop_data)
{
Ecore_Fb_Filter_Data *filter_data;
#ifdef BUILD_ECORE_CON
# ifdef HAVE_CURL
static Eina_Bool
-_ecore_file_download_headers_foreach_cb(const Eina_Hash *hash __UNUSED__, const void *key, void *data, void *fdata)
+_ecore_file_download_headers_foreach_cb(const Eina_Hash *hash EINA_UNUSED, const void *key, void *data, void *fdata)
{
Ecore_File_Download_Job *job = fdata;
ecore_con_url_additional_header_add(job->url_con, key, data);
}
static Eina_Bool
-_ecore_file_download_url_complete_cb(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_file_download_url_complete_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Con_Event_Url_Complete *ev = event;
Ecore_File_Download_Job *job;
}
static Eina_Bool
-_ecore_file_download_url_progress_cb(void *data __UNUSED__, int type __UNUSED__, void *event)
+_ecore_file_download_url_progress_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
/* this reports the downloads progress. if we return 0, then download
* continues, if we return anything else, then the download stops */
}
static Eina_Bool
-_ecore_file_monitor_inotify_handler(void *data __UNUSED__, Ecore_Fd_Handler *fdh)
+_ecore_file_monitor_inotify_handler(void *data EINA_UNUSED, Ecore_Fd_Handler *fdh)
{
Ecore_File_Monitor *em;
char buffer[16384];
}
static Eina_Bool
-_ecore_file_monitor_poll_handler(void *data __UNUSED__)
+_ecore_file_monitor_poll_handler(void *data EINA_UNUSED)
{
Ecore_File_Monitor *l;
}
static void
-_ecore_imf_event_free_preedit(void *data __UNUSED__, void *event)
+_ecore_imf_event_free_preedit(void *data EINA_UNUSED, void *event)
{
free(event);
}
}
static void
-_ecore_imf_event_free_commit(void *data __UNUSED__, void *event)
+_ecore_imf_event_free_commit(void *data EINA_UNUSED, void *event)
{
Ecore_IMF_Event_Commit *ev;
}
static void
-_ecore_imf_event_free_delete_surrounding(void *data __UNUSED__, void *event)
+_ecore_imf_event_free_delete_surrounding(void *data EINA_UNUSED, void *event)
{
free(event);
}
}
static Eina_Bool
-_hash_module_available_get(const Eina_Hash *hash __UNUSED__, int *data, void *list)
+_hash_module_available_get(const Eina_Hash *hash EINA_UNUSED, int *data, void *list)
{
*(Eina_List**)list = eina_list_append(*(Eina_List**)list, data);
return EINA_TRUE;
}
static Eina_Bool
-_hash_ids_get(const Eina_Hash *hash __UNUSED__, const char *key, void *list)
+_hash_ids_get(const Eina_Hash *hash EINA_UNUSED, const char *key, void *list)
{
*(Eina_List**)list = eina_list_append(*(Eina_List**)list, key);
return EINA_TRUE;
}
static Eina_Bool
-_hash_ids_by_canvas_type_get(const Eina_Hash *hash __UNUSED__, void *data, void *fdata)
+_hash_ids_by_canvas_type_get(const Eina_Hash *hash EINA_UNUSED, void *data, void *fdata)
{
Ecore_IMF_Module *module = data;
Ecore_IMF_Selector *selector = fdata;
}
EAPI Eina_Bool
-ecore_event_evas_mouse_move(void *data __UNUSED__, int type __UNUSED__, void *event)
+ecore_event_evas_mouse_move(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Event_Mouse_Move *e;
Ecore_Input_Window *lookup;
}
EAPI Eina_Bool
-ecore_event_evas_mouse_button_down(void *data __UNUSED__, int type __UNUSED__, void *event)
+ecore_event_evas_mouse_button_down(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
return _ecore_event_evas_mouse_button((Ecore_Event_Mouse_Button *)event, ECORE_DOWN);
}
EAPI Eina_Bool
-ecore_event_evas_mouse_button_up(void *data __UNUSED__, int type __UNUSED__, void *event)
+ecore_event_evas_mouse_button_up(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
return _ecore_event_evas_mouse_button((Ecore_Event_Mouse_Button *)event, ECORE_UP);
}
}
EAPI Eina_Bool
-ecore_event_evas_key_down(void *data __UNUSED__, int type __UNUSED__, void *event)
+ecore_event_evas_key_down(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
return _ecore_event_evas_key((Ecore_Event_Key *)event, ECORE_DOWN);
}
EAPI Eina_Bool
-ecore_event_evas_key_up(void *data __UNUSED__, int type __UNUSED__, void *event)
+ecore_event_evas_key_up(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
return _ecore_event_evas_key((Ecore_Event_Key *)event, ECORE_UP);
}
EAPI Eina_Bool
-ecore_event_evas_mouse_wheel(void *data __UNUSED__, int type __UNUSED__, void *event)
+ecore_event_evas_mouse_wheel(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Event_Mouse_Wheel *e;
Ecore_Input_Window *lookup;
}
EAPI Eina_Bool
-ecore_event_evas_mouse_in(void *data __UNUSED__, int type __UNUSED__, void *event)
+ecore_event_evas_mouse_in(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
return _ecore_event_evas_mouse_io((Ecore_Event_Mouse_IO *)event, ECORE_IN);
}
EAPI Eina_Bool
-ecore_event_evas_mouse_out(void *data __UNUSED__, int type __UNUSED__, void *event)
+ecore_event_evas_mouse_out(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
return _ecore_event_evas_mouse_io((Ecore_Event_Mouse_IO *)event, ECORE_OUT);
}
static Eina_Bool
-_ecore_ipc_event_client_add(void *data __UNUSED__, int ev_type __UNUSED__, void *ev)
+_ecore_ipc_event_client_add(void *data EINA_UNUSED, int ev_type EINA_UNUSED, void *ev)
{
Ecore_Con_Event_Client_Add *e;
Ecore_Ipc_Server *svr;
}
static Eina_Bool
-_ecore_ipc_event_client_del(void *data __UNUSED__, int ev_type __UNUSED__, void *ev)
+_ecore_ipc_event_client_del(void *data EINA_UNUSED, int ev_type EINA_UNUSED, void *ev)
{
Ecore_Con_Event_Client_Del *e;
Ecore_Ipc_Server *svr;
}
static Eina_Bool
-_ecore_ipc_event_server_add(void *data __UNUSED__, int ev_type __UNUSED__, void *ev)
+_ecore_ipc_event_server_add(void *data EINA_UNUSED, int ev_type EINA_UNUSED, void *ev)
{
Ecore_Con_Event_Server_Add *e;
}
static Eina_Bool
-_ecore_ipc_event_server_del(void *data __UNUSED__, int ev_type __UNUSED__, void *ev)
+_ecore_ipc_event_server_del(void *data EINA_UNUSED, int ev_type EINA_UNUSED, void *ev)
{
Ecore_Con_Event_Server_Del *e;
msg._member = _ecore_ipc_ddlt_int(d, cl->prev.i._member, md);
static Eina_Bool
-_ecore_ipc_event_client_data(void *data __UNUSED__, int ev_type __UNUSED__, void *ev)
+_ecore_ipc_event_client_data(void *data EINA_UNUSED, int ev_type EINA_UNUSED, void *ev)
{
Ecore_Con_Event_Client_Data *e;
Ecore_Ipc_Server *svr;
msg._member = _ecore_ipc_ddlt_int(d, svr->prev.i._member, md);
static Eina_Bool
-_ecore_ipc_event_server_data(void *data __UNUSED__, int ev_type __UNUSED__, void *ev)
+_ecore_ipc_event_server_data(void *data EINA_UNUSED, int ev_type EINA_UNUSED, void *ev)
{
Ecore_Con_Event_Server_Data *e;
}
static void
-_ecore_ipc_event_client_add_free(void *data __UNUSED__, void *ev)
+_ecore_ipc_event_client_add_free(void *data EINA_UNUSED, void *ev)
{
Ecore_Ipc_Event_Client_Add *e;
}
static void
-_ecore_ipc_event_client_del_free(void *data __UNUSED__, void *ev)
+_ecore_ipc_event_client_del_free(void *data EINA_UNUSED, void *ev)
{
Ecore_Ipc_Event_Client_Del *e;
}
static void
-_ecore_ipc_event_client_data_free(void *data __UNUSED__, void *ev)
+_ecore_ipc_event_client_data_free(void *data EINA_UNUSED, void *ev)
{
Ecore_Ipc_Event_Client_Data *e;
}
static void
-_ecore_ipc_event_server_add_free(void *data __UNUSED__, void *ev)
+_ecore_ipc_event_server_add_free(void *data EINA_UNUSED, void *ev)
{
Ecore_Ipc_Event_Server_Add *e;
}
static void
-_ecore_ipc_event_server_del_free(void *data __UNUSED__, void *ev)
+_ecore_ipc_event_server_del_free(void *data EINA_UNUSED, void *ev)
{
Ecore_Ipc_Event_Server_Add *e;
}
static void
-_ecore_ipc_event_server_data_free(void *data __UNUSED__, void *ev)
+_ecore_ipc_event_server_data_free(void *data EINA_UNUSED, void *ev)
{
Ecore_Ipc_Event_Server_Data *e;
* @ingroup Ecore_PSL1GHT_Library_Group
*/
EAPI int
-ecore_psl1ght_init(const char *name __UNUSED__)
+ecore_psl1ght_init(const char *name EINA_UNUSED)
{
videoState state;
videoResolution resolution;
static Eina_Rbtree_Direction
_ecore_sdl_pressed_key(const Ecore_SDL_Pressed *left,
const Ecore_SDL_Pressed *right,
- __UNUSED__ void *data)
+ EINA_UNUSED void *data)
{
return left->key < right->key ? EINA_RBTREE_LEFT : EINA_RBTREE_RIGHT;
}
static int
_ecore_sdl_pressed_node(const Ecore_SDL_Pressed *node,
const SDLKey *key,
- __UNUSED__ int length,
- __UNUSED__ void *data)
+ EINA_UNUSED int length,
+ EINA_UNUSED void *data)
{
return node->key - *key;
}
* @ingroup Ecore_SDL_Library_Group
*/
EAPI int
-ecore_sdl_init(const char *name __UNUSED__)
+ecore_sdl_init(const char *name EINA_UNUSED)
{
if(++_ecore_sdl_init_count != 1)
return _ecore_sdl_init_count;
/* local function prototypes */
static Eina_Bool _ecore_wl_shutdown(Eina_Bool close);
static Eina_Bool _ecore_wl_cb_handle_data(void *data, Ecore_Fd_Handler *hdl);
-static void _ecore_wl_cb_handle_global(void *data, struct wl_registry *registry, unsigned int id, const char *interface, unsigned int version __UNUSED__);
+static void _ecore_wl_cb_handle_global(void *data, struct wl_registry *registry, unsigned int id, const char *interface, unsigned int version EINA_UNUSED);
static Eina_Bool _ecore_wl_xkb_init(Ecore_Wl_Display *ewd);
static Eina_Bool _ecore_wl_xkb_shutdown(Ecore_Wl_Display *ewd);
}
static void
-_ecore_wl_cb_handle_global(void *data, struct wl_registry *registry, unsigned int id, const char *interface, unsigned int version __UNUSED__)
+_ecore_wl_cb_handle_global(void *data, struct wl_registry *registry, unsigned int id, const char *interface, unsigned int version EINA_UNUSED)
{
Ecore_Wl_Display *ewd;
};
/* local function prototypes */
-static void _ecore_wl_dnd_offer(void *data, struct wl_data_offer *wl_data_offer __UNUSED__, const char *type);
-static void _ecore_wl_dnd_cb_enter_free(void *data __UNUSED__, void *event);
+static void _ecore_wl_dnd_offer(void *data, struct wl_data_offer *wl_data_offer EINA_UNUSED, const char *type);
+static void _ecore_wl_dnd_cb_enter_free(void *data EINA_UNUSED, void *event);
static void _ecore_wl_dnd_data_source_target(void *data, struct wl_data_source *source, const char *mime_type);
static void _ecore_wl_dnd_data_source_send(void *data, struct wl_data_source *source, const char *mime_type, int32_t fd);
}
EAPI Eina_Bool
-ecore_wl_dnd_start_drag(Ecore_Wl_Dnd *dnd __UNUSED__)
+ecore_wl_dnd_start_drag(Ecore_Wl_Dnd *dnd EINA_UNUSED)
{
//TODO:
return EINA_TRUE;
/* local functions */
static void
-_ecore_wl_dnd_data_source_target(void *data __UNUSED__, struct wl_data_source *source __UNUSED__, const char *mime_type __UNUSED__)
+_ecore_wl_dnd_data_source_target(void *data EINA_UNUSED, struct wl_data_source *source EINA_UNUSED, const char *mime_type EINA_UNUSED)
{
//TODO:
}
static void
-_ecore_wl_dnd_cb_data_source_send_free(void *data __UNUSED__, void *event)
+_ecore_wl_dnd_cb_data_source_send_free(void *data EINA_UNUSED, void *event)
{
Ecore_Wl_Event_Data_Source_Send *ev;
}
static void
-_ecore_wl_dnd_data_source_send(void *data, struct wl_data_source *source __UNUSED__, const char *mime_type, int32_t fd)
+_ecore_wl_dnd_data_source_send(void *data, struct wl_data_source *source EINA_UNUSED, const char *mime_type, int32_t fd)
{
Ecore_Wl_Event_Data_Source_Send *event;
}
static void
-_ecore_wl_dnd_data_source_cancelled(void *data __UNUSED__, struct wl_data_source *source)
+_ecore_wl_dnd_data_source_cancelled(void *data EINA_UNUSED, struct wl_data_source *source)
{
wl_data_source_destroy(source);
}
void
-_ecore_wl_dnd_add(Ecore_Wl_Input *input, struct wl_data_device *data_device __UNUSED__, struct wl_data_offer *offer)
+_ecore_wl_dnd_add(Ecore_Wl_Input *input, struct wl_data_device *data_device EINA_UNUSED, struct wl_data_offer *offer)
{
Ecore_Wl_Dnd_Source *source;
}
void
-_ecore_wl_dnd_enter(void *data, struct wl_data_device *data_device __UNUSED__, unsigned int timestamp __UNUSED__, struct wl_surface *surface, wl_fixed_t x, wl_fixed_t y, struct wl_data_offer *offer)
+_ecore_wl_dnd_enter(void *data, struct wl_data_device *data_device EINA_UNUSED, unsigned int timestamp EINA_UNUSED, struct wl_surface *surface, wl_fixed_t x, wl_fixed_t y, struct wl_data_offer *offer)
{
Ecore_Wl_Event_Dnd_Enter *event;
Ecore_Wl_Input *input;
}
void
-_ecore_wl_dnd_leave(void *data, struct wl_data_device *data_device __UNUSED__)
+_ecore_wl_dnd_leave(void *data, struct wl_data_device *data_device EINA_UNUSED)
{
Ecore_Wl_Input *input;
}
void
-_ecore_wl_dnd_motion(void *data, struct wl_data_device *data_device __UNUSED__, unsigned int timestamp __UNUSED__, wl_fixed_t x, wl_fixed_t y)
+_ecore_wl_dnd_motion(void *data, struct wl_data_device *data_device EINA_UNUSED, unsigned int timestamp EINA_UNUSED, wl_fixed_t x, wl_fixed_t y)
{
Ecore_Wl_Event_Dnd_Position *event;
Ecore_Wl_Input *input;
}
void
-_ecore_wl_dnd_drop(void *data, struct wl_data_device *data_device __UNUSED__)
+_ecore_wl_dnd_drop(void *data, struct wl_data_device *data_device EINA_UNUSED)
{
Ecore_Wl_Event_Dnd_Drop *event;
Ecore_Wl_Input *input;
}
void
-_ecore_wl_dnd_selection(void *data, struct wl_data_device *data_device __UNUSED__, struct wl_data_offer *offer)
+_ecore_wl_dnd_selection(void *data, struct wl_data_device *data_device EINA_UNUSED, struct wl_data_offer *offer)
{
Ecore_Wl_Input *input;
/* local functions */
static void
-_ecore_wl_dnd_offer(void *data, struct wl_data_offer *wl_data_offer __UNUSED__, const char *type)
+_ecore_wl_dnd_offer(void *data, struct wl_data_offer *wl_data_offer EINA_UNUSED, const char *type)
{
Ecore_Wl_Dnd_Source *source;
char **p;
}
static void
-_ecore_wl_dnd_cb_enter_free(void *data __UNUSED__, void *event)
+_ecore_wl_dnd_cb_enter_free(void *data EINA_UNUSED, void *event)
{
Ecore_Wl_Event_Dnd_Enter *ev;
}
static void
-_ecore_wl_dnd_cb_selection_data_ready_free(void *data __UNUSED__, void *event)
+_ecore_wl_dnd_cb_selection_data_ready_free(void *data EINA_UNUSED, void *event)
{
Ecore_Wl_Event_Selection_Data_Ready *ev;
}
static Eina_Bool
-_ecore_wl_dnd_read_data(void *data, Ecore_Fd_Handler *fd_handler __UNUSED__)
+_ecore_wl_dnd_read_data(void *data, Ecore_Fd_Handler *fd_handler EINA_UNUSED)
{
int len;
char buffer[4096];
/* local function prototypes */
static void _ecore_wl_input_seat_handle_capabilities(void *data, struct wl_seat *seat, enum wl_seat_capability caps);
-static void _ecore_wl_input_cb_pointer_enter(void *data, struct wl_pointer *pointer __UNUSED__, unsigned int serial, struct wl_surface *surface, wl_fixed_t sx, wl_fixed_t sy);
-static void _ecore_wl_input_cb_pointer_leave(void *data, struct wl_pointer *pointer __UNUSED__, unsigned int serial, struct wl_surface *surface);
-static void _ecore_wl_input_cb_pointer_motion(void *data, struct wl_pointer *pointer __UNUSED__, unsigned int timestamp, wl_fixed_t sx, wl_fixed_t sy);
-static void _ecore_wl_input_cb_pointer_button(void *data, struct wl_pointer *pointer __UNUSED__, unsigned int serial, unsigned int timestamp, unsigned int button, unsigned int state);
-static void _ecore_wl_input_cb_pointer_axis(void *data, struct wl_pointer *pointer __UNUSED__, unsigned int timestamp, unsigned int axis, wl_fixed_t value);
-static void _ecore_wl_input_cb_pointer_frame(void *data, struct wl_callback *callback, unsigned int timestamp __UNUSED__);
-static void _ecore_wl_input_cb_keyboard_keymap(void *data, struct wl_keyboard *keyboard __UNUSED__, unsigned int format, int fd, unsigned int size);
-static void _ecore_wl_input_cb_keyboard_enter(void *data, struct wl_keyboard *keyboard __UNUSED__, unsigned int serial, struct wl_surface *surface, struct wl_array *keys __UNUSED__);
-static void _ecore_wl_input_cb_keyboard_leave(void *data, struct wl_keyboard *keyboard __UNUSED__, unsigned int serial, struct wl_surface *surface);
-static void _ecore_wl_input_cb_keyboard_key(void *data, struct wl_keyboard *keyboard __UNUSED__, unsigned int serial, unsigned int timestamp, unsigned int key, unsigned int state);
-static void _ecore_wl_input_cb_keyboard_modifiers(void *data, struct wl_keyboard *keyboard __UNUSED__, unsigned int serial __UNUSED__, unsigned int depressed, unsigned int latched, unsigned int locked, unsigned int group);
-static Eina_Bool _ecore_wl_input_cb_keyboard_repeat(void *data, Ecore_Fd_Handler *handler __UNUSED__);
-static void _ecore_wl_input_cb_touch_down(void *data, struct wl_touch *touch __UNUSED__, unsigned int serial, unsigned int timestamp, struct wl_surface *surface __UNUSED__, int id __UNUSED__, wl_fixed_t x, wl_fixed_t y);
-static void _ecore_wl_input_cb_touch_up(void *data, struct wl_touch *touch __UNUSED__, unsigned int serial, unsigned int timestamp, int id __UNUSED__);
-static void _ecore_wl_input_cb_touch_motion(void *data, struct wl_touch *touch __UNUSED__, unsigned int timestamp, int id __UNUSED__, wl_fixed_t x, wl_fixed_t y);
-static void _ecore_wl_input_cb_touch_frame(void *data __UNUSED__, struct wl_touch *touch __UNUSED__);
-static void _ecore_wl_input_cb_touch_cancel(void *data __UNUSED__, struct wl_touch *touch __UNUSED__);
+static void _ecore_wl_input_cb_pointer_enter(void *data, struct wl_pointer *pointer EINA_UNUSED, unsigned int serial, struct wl_surface *surface, wl_fixed_t sx, wl_fixed_t sy);
+static void _ecore_wl_input_cb_pointer_leave(void *data, struct wl_pointer *pointer EINA_UNUSED, unsigned int serial, struct wl_surface *surface);
+static void _ecore_wl_input_cb_pointer_motion(void *data, struct wl_pointer *pointer EINA_UNUSED, unsigned int timestamp, wl_fixed_t sx, wl_fixed_t sy);
+static void _ecore_wl_input_cb_pointer_button(void *data, struct wl_pointer *pointer EINA_UNUSED, unsigned int serial, unsigned int timestamp, unsigned int button, unsigned int state);
+static void _ecore_wl_input_cb_pointer_axis(void *data, struct wl_pointer *pointer EINA_UNUSED, unsigned int timestamp, unsigned int axis, wl_fixed_t value);
+static void _ecore_wl_input_cb_pointer_frame(void *data, struct wl_callback *callback, unsigned int timestamp EINA_UNUSED);
+static void _ecore_wl_input_cb_keyboard_keymap(void *data, struct wl_keyboard *keyboard EINA_UNUSED, unsigned int format, int fd, unsigned int size);
+static void _ecore_wl_input_cb_keyboard_enter(void *data, struct wl_keyboard *keyboard EINA_UNUSED, unsigned int serial, struct wl_surface *surface, struct wl_array *keys EINA_UNUSED);
+static void _ecore_wl_input_cb_keyboard_leave(void *data, struct wl_keyboard *keyboard EINA_UNUSED, unsigned int serial, struct wl_surface *surface);
+static void _ecore_wl_input_cb_keyboard_key(void *data, struct wl_keyboard *keyboard EINA_UNUSED, unsigned int serial, unsigned int timestamp, unsigned int key, unsigned int state);
+static void _ecore_wl_input_cb_keyboard_modifiers(void *data, struct wl_keyboard *keyboard EINA_UNUSED, unsigned int serial EINA_UNUSED, unsigned int depressed, unsigned int latched, unsigned int locked, unsigned int group);
+static Eina_Bool _ecore_wl_input_cb_keyboard_repeat(void *data, Ecore_Fd_Handler *handler EINA_UNUSED);
+static void _ecore_wl_input_cb_touch_down(void *data, struct wl_touch *touch EINA_UNUSED, unsigned int serial, unsigned int timestamp, struct wl_surface *surface EINA_UNUSED, int id EINA_UNUSED, wl_fixed_t x, wl_fixed_t y);
+static void _ecore_wl_input_cb_touch_up(void *data, struct wl_touch *touch EINA_UNUSED, unsigned int serial, unsigned int timestamp, int id EINA_UNUSED);
+static void _ecore_wl_input_cb_touch_motion(void *data, struct wl_touch *touch EINA_UNUSED, unsigned int timestamp, int id EINA_UNUSED, wl_fixed_t x, wl_fixed_t y);
+static void _ecore_wl_input_cb_touch_frame(void *data EINA_UNUSED, struct wl_touch *touch EINA_UNUSED);
+static void _ecore_wl_input_cb_touch_cancel(void *data EINA_UNUSED, struct wl_touch *touch EINA_UNUSED);
static void _ecore_wl_input_cb_data_offer(void *data, struct wl_data_device *data_device, struct wl_data_offer *offer);
static void _ecore_wl_input_cb_data_enter(void *data, struct wl_data_device *data_device, unsigned int timestamp, struct wl_surface *surface, wl_fixed_t x, wl_fixed_t y, struct wl_data_offer *offer);
static void _ecore_wl_input_cb_data_leave(void *data, struct wl_data_device *data_device);
static void _ecore_wl_input_mouse_move_send(Ecore_Wl_Input *input, Ecore_Wl_Window *win, unsigned int timestamp);
static void _ecore_wl_input_mouse_in_send(Ecore_Wl_Input *input, Ecore_Wl_Window *win, unsigned int timestamp);
static void _ecore_wl_input_mouse_out_send(Ecore_Wl_Input *input, Ecore_Wl_Window *win, unsigned int timestamp);
-static void _ecore_wl_input_focus_in_send(Ecore_Wl_Input *input __UNUSED__, Ecore_Wl_Window *win, unsigned int timestamp);
-static void _ecore_wl_input_focus_out_send(Ecore_Wl_Input *input __UNUSED__, Ecore_Wl_Window *win, unsigned int timestamp);
+static void _ecore_wl_input_focus_in_send(Ecore_Wl_Input *input EINA_UNUSED, Ecore_Wl_Window *win, unsigned int timestamp);
+static void _ecore_wl_input_focus_out_send(Ecore_Wl_Input *input EINA_UNUSED, Ecore_Wl_Window *win, unsigned int timestamp);
static void _ecore_wl_input_mouse_down_send(Ecore_Wl_Input *input, Ecore_Wl_Window *win, unsigned int timestamp);
static void _ecore_wl_input_mouse_up_send(Ecore_Wl_Input *input, Ecore_Wl_Window *win, unsigned int timestamp);
static void _ecore_wl_input_mouse_wheel_send(Ecore_Wl_Input *input, unsigned int axis, int value, unsigned int timestamp);
static void
-_ecore_wl_input_cb_pointer_motion(void *data, struct wl_pointer *pointer __UNUSED__, unsigned int timestamp, wl_fixed_t sx, wl_fixed_t sy)
+_ecore_wl_input_cb_pointer_motion(void *data, struct wl_pointer *pointer EINA_UNUSED, unsigned int timestamp, wl_fixed_t sx, wl_fixed_t sy)
{
Ecore_Wl_Input *input;
}
static void
-_ecore_wl_input_cb_pointer_button(void *data, struct wl_pointer *pointer __UNUSED__, unsigned int serial, unsigned int timestamp, unsigned int button, unsigned int state)
+_ecore_wl_input_cb_pointer_button(void *data, struct wl_pointer *pointer EINA_UNUSED, unsigned int serial, unsigned int timestamp, unsigned int button, unsigned int state)
{
Ecore_Wl_Input *input;
}
static void
-_ecore_wl_input_cb_pointer_axis(void *data, struct wl_pointer *pointer __UNUSED__, unsigned int timestamp, unsigned int axis, wl_fixed_t value)
+_ecore_wl_input_cb_pointer_axis(void *data, struct wl_pointer *pointer EINA_UNUSED, unsigned int timestamp, unsigned int axis, wl_fixed_t value)
{
Ecore_Wl_Input *input;
}
static void
-_ecore_wl_input_cb_pointer_frame(void *data, struct wl_callback *callback, unsigned int timestamp __UNUSED__)
+_ecore_wl_input_cb_pointer_frame(void *data, struct wl_callback *callback, unsigned int timestamp EINA_UNUSED)
{
Ecore_Wl_Input *input;
}
static void
-_ecore_wl_input_cb_keyboard_keymap(void *data, struct wl_keyboard *keyboard __UNUSED__, unsigned int format, int fd, unsigned int size)
+_ecore_wl_input_cb_keyboard_keymap(void *data, struct wl_keyboard *keyboard EINA_UNUSED, unsigned int format, int fd, unsigned int size)
{
Ecore_Wl_Input *input;
char *map = NULL;
}
static void
-_ecore_wl_input_cb_keyboard_key(void *data, struct wl_keyboard *keyboard __UNUSED__, unsigned int serial, unsigned int timestamp, unsigned int keycode, unsigned int state)
+_ecore_wl_input_cb_keyboard_key(void *data, struct wl_keyboard *keyboard EINA_UNUSED, unsigned int serial, unsigned int timestamp, unsigned int keycode, unsigned int state)
{
Ecore_Wl_Input *input;
Ecore_Wl_Window *win;
}
static void
-_ecore_wl_input_cb_keyboard_modifiers(void *data, struct wl_keyboard *keyboard __UNUSED__, unsigned int serial __UNUSED__, unsigned int depressed, unsigned int latched, unsigned int locked, unsigned int group)
+_ecore_wl_input_cb_keyboard_modifiers(void *data, struct wl_keyboard *keyboard EINA_UNUSED, unsigned int serial EINA_UNUSED, unsigned int depressed, unsigned int latched, unsigned int locked, unsigned int group)
{
Ecore_Wl_Input *input;
}
static Eina_Bool
-_ecore_wl_input_cb_keyboard_repeat(void *data, Ecore_Fd_Handler *handler __UNUSED__)
+_ecore_wl_input_cb_keyboard_repeat(void *data, Ecore_Fd_Handler *handler EINA_UNUSED)
{
Ecore_Wl_Input *input;
Ecore_Wl_Window *win = NULL;
}
static void
-_ecore_wl_input_cb_pointer_enter(void *data, struct wl_pointer *pointer __UNUSED__, unsigned int serial, struct wl_surface *surface, wl_fixed_t sx, wl_fixed_t sy)
+_ecore_wl_input_cb_pointer_enter(void *data, struct wl_pointer *pointer EINA_UNUSED, unsigned int serial, struct wl_surface *surface, wl_fixed_t sx, wl_fixed_t sy)
{
Ecore_Wl_Input *input;
Ecore_Wl_Window *win = NULL;
}
static void
-_ecore_wl_input_cb_pointer_leave(void *data, struct wl_pointer *pointer __UNUSED__, unsigned int serial, struct wl_surface *surface)
+_ecore_wl_input_cb_pointer_leave(void *data, struct wl_pointer *pointer EINA_UNUSED, unsigned int serial, struct wl_surface *surface)
{
Ecore_Wl_Input *input;
Ecore_Wl_Window *win;
}
static void
-_ecore_wl_input_cb_keyboard_enter(void *data, struct wl_keyboard *keyboard __UNUSED__, unsigned int serial, struct wl_surface *surface, struct wl_array *keys __UNUSED__)
+_ecore_wl_input_cb_keyboard_enter(void *data, struct wl_keyboard *keyboard EINA_UNUSED, unsigned int serial, struct wl_surface *surface, struct wl_array *keys EINA_UNUSED)
{
Ecore_Wl_Input *input;
Ecore_Wl_Window *win = NULL;
}
static void
-_ecore_wl_input_cb_keyboard_leave(void *data, struct wl_keyboard *keyboard __UNUSED__, unsigned int serial, struct wl_surface *surface)
+_ecore_wl_input_cb_keyboard_leave(void *data, struct wl_keyboard *keyboard EINA_UNUSED, unsigned int serial, struct wl_surface *surface)
{
Ecore_Wl_Input *input;
Ecore_Wl_Window *win;
}
static void
-_ecore_wl_input_cb_touch_down(void *data, struct wl_touch *touch __UNUSED__, unsigned int serial, unsigned int timestamp, struct wl_surface *surface __UNUSED__, int id __UNUSED__, wl_fixed_t x, wl_fixed_t y)
+_ecore_wl_input_cb_touch_down(void *data, struct wl_touch *touch EINA_UNUSED, unsigned int serial, unsigned int timestamp, struct wl_surface *surface EINA_UNUSED, int id EINA_UNUSED, wl_fixed_t x, wl_fixed_t y)
{
Ecore_Wl_Input *input;
}
static void
-_ecore_wl_input_cb_touch_up(void *data, struct wl_touch *touch __UNUSED__, unsigned int serial, unsigned int timestamp, int id __UNUSED__)
+_ecore_wl_input_cb_touch_up(void *data, struct wl_touch *touch EINA_UNUSED, unsigned int serial, unsigned int timestamp, int id EINA_UNUSED)
{
Ecore_Wl_Input *input;
}
static void
-_ecore_wl_input_cb_touch_motion(void *data, struct wl_touch *touch __UNUSED__, unsigned int timestamp, int id __UNUSED__, wl_fixed_t x, wl_fixed_t y)
+_ecore_wl_input_cb_touch_motion(void *data, struct wl_touch *touch EINA_UNUSED, unsigned int timestamp, int id EINA_UNUSED, wl_fixed_t x, wl_fixed_t y)
{
Ecore_Wl_Input *input;
}
static void
-_ecore_wl_input_cb_touch_frame(void *data __UNUSED__, struct wl_touch *touch __UNUSED__)
+_ecore_wl_input_cb_touch_frame(void *data EINA_UNUSED, struct wl_touch *touch EINA_UNUSED)
{
LOGFN(__FILE__, __LINE__, __FUNCTION__);
}
static void
-_ecore_wl_input_cb_touch_cancel(void *data __UNUSED__, struct wl_touch *touch __UNUSED__)
+_ecore_wl_input_cb_touch_cancel(void *data EINA_UNUSED, struct wl_touch *touch EINA_UNUSED)
{
LOGFN(__FILE__, __LINE__, __FUNCTION__);
}
}
static void
-_ecore_wl_input_focus_in_send(Ecore_Wl_Input *input __UNUSED__, Ecore_Wl_Window *win, unsigned int timestamp)
+_ecore_wl_input_focus_in_send(Ecore_Wl_Input *input EINA_UNUSED, Ecore_Wl_Window *win, unsigned int timestamp)
{
Ecore_Wl_Event_Focus_In *ev;
}
static void
-_ecore_wl_input_focus_out_send(Ecore_Wl_Input *input __UNUSED__, Ecore_Wl_Window *win, unsigned int timestamp)
+_ecore_wl_input_focus_out_send(Ecore_Wl_Input *input EINA_UNUSED, Ecore_Wl_Window *win, unsigned int timestamp)
{
Ecore_Wl_Event_Focus_Out *ev;
#include "ecore_wl_private.h"
/* local function prototypes */
-static void _ecore_wl_output_cb_geometry(void *data, struct wl_output *wl_output __UNUSED__, int x, int y, int w, int h, int subpixel __UNUSED__, const char *make __UNUSED__, const char *model __UNUSED__, int transform __UNUSED__);
-static void _ecore_wl_output_cb_mode(void *data, struct wl_output *wl_output __UNUSED__, unsigned int flags, int w, int h, int refresh __UNUSED__);
+static void _ecore_wl_output_cb_geometry(void *data, struct wl_output *wl_output EINA_UNUSED, int x, int y, int w, int h, int subpixel EINA_UNUSED, const char *make EINA_UNUSED, const char *model EINA_UNUSED, int transform EINA_UNUSED);
+static void _ecore_wl_output_cb_mode(void *data, struct wl_output *wl_output EINA_UNUSED, unsigned int flags, int w, int h, int refresh EINA_UNUSED);
/* wayland listeners */
static const struct wl_output_listener _ecore_wl_output_listener =
/* local functions */
static void
-_ecore_wl_output_cb_geometry(void *data, struct wl_output *wl_output __UNUSED__, int x, int y, int w, int h, int subpixel __UNUSED__, const char *make __UNUSED__, const char *model __UNUSED__, int transform __UNUSED__)
+_ecore_wl_output_cb_geometry(void *data, struct wl_output *wl_output EINA_UNUSED, int x, int y, int w, int h, int subpixel EINA_UNUSED, const char *make EINA_UNUSED, const char *model EINA_UNUSED, int transform EINA_UNUSED)
{
Ecore_Wl_Output *output;
}
static void
-_ecore_wl_output_cb_mode(void *data, struct wl_output *wl_output __UNUSED__, unsigned int flags, int w, int h, int refresh __UNUSED__)
+_ecore_wl_output_cb_mode(void *data, struct wl_output *wl_output EINA_UNUSED, unsigned int flags, int w, int h, int refresh EINA_UNUSED)
{
Ecore_Wl_Output *output;
Ecore_Wl_Display *ewd;
#include "ecore_wl_private.h"
/* local function prototypes */
-static void _ecore_wl_window_cb_ping(void *data __UNUSED__, struct wl_shell_surface *shell_surface, unsigned int serial);
-static void _ecore_wl_window_cb_configure(void *data, struct wl_shell_surface *shell_surface __UNUSED__, unsigned int edges, int w, int h);
-static void _ecore_wl_window_cb_popup_done(void *data, struct wl_shell_surface *shell_surface __UNUSED__);
-static void _ecore_wl_window_cb_surface_enter(void *data, struct wl_surface *surface, struct wl_output *output __UNUSED__);
-static void _ecore_wl_window_cb_surface_leave(void *data, struct wl_surface *surface, struct wl_output *output __UNUSED__);
+static void _ecore_wl_window_cb_ping(void *data EINA_UNUSED, struct wl_shell_surface *shell_surface, unsigned int serial);
+static void _ecore_wl_window_cb_configure(void *data, struct wl_shell_surface *shell_surface EINA_UNUSED, unsigned int edges, int w, int h);
+static void _ecore_wl_window_cb_popup_done(void *data, struct wl_shell_surface *shell_surface EINA_UNUSED);
+static void _ecore_wl_window_cb_surface_enter(void *data, struct wl_surface *surface, struct wl_output *output EINA_UNUSED);
+static void _ecore_wl_window_cb_surface_leave(void *data, struct wl_surface *surface, struct wl_output *output EINA_UNUSED);
static void _ecore_wl_window_configure_send(Ecore_Wl_Window *win, int w, int h);
static char *_ecore_wl_window_id_str_get(unsigned int win_id);
/* local functions */
static void
-_ecore_wl_window_cb_ping(void *data __UNUSED__, struct wl_shell_surface *shell_surface, unsigned int serial)
+_ecore_wl_window_cb_ping(void *data EINA_UNUSED, struct wl_shell_surface *shell_surface, unsigned int serial)
{
if (!shell_surface) return;
wl_shell_surface_pong(shell_surface, serial);
}
static void
-_ecore_wl_window_cb_configure(void *data, struct wl_shell_surface *shell_surface __UNUSED__, unsigned int edges, int w, int h)
+_ecore_wl_window_cb_configure(void *data, struct wl_shell_surface *shell_surface EINA_UNUSED, unsigned int edges, int w, int h)
{
Ecore_Wl_Window *win;
}
static void
-_ecore_wl_window_cb_popup_done(void *data, struct wl_shell_surface *shell_surface __UNUSED__)
+_ecore_wl_window_cb_popup_done(void *data, struct wl_shell_surface *shell_surface EINA_UNUSED)
{
Ecore_Wl_Window *win;
}
static void
-_ecore_wl_window_cb_surface_enter(void *data, struct wl_surface *surface, struct wl_output *output __UNUSED__)
+_ecore_wl_window_cb_surface_enter(void *data, struct wl_surface *surface, struct wl_output *output EINA_UNUSED)
{
Ecore_Wl_Window *win;
}
static void
-_ecore_wl_window_cb_surface_leave(void *data, struct wl_surface *surface, struct wl_output *output __UNUSED__)
+_ecore_wl_window_cb_surface_leave(void *data, struct wl_surface *surface, struct wl_output *output EINA_UNUSED)
{
Ecore_Wl_Window *win;
/***** Private functions definitions *****/
static void
-_ecore_win32_event_free_key_down(void *data __UNUSED__,
+_ecore_win32_event_free_key_down(void *data EINA_UNUSED,
void *ev)
{
Ecore_Event_Key *e;
}
static void
-_ecore_win32_event_free_key_up(void *data __UNUSED__,
+_ecore_win32_event_free_key_up(void *data EINA_UNUSED,
void *ev)
{
Ecore_Event_Key *e;
}
static void
-_ecore_wince_error_print_cb(const Eina_Log_Domain *d __UNUSED__,
- Eina_Log_Level level __UNUSED__,
- const char *file __UNUSED__,
+_ecore_wince_error_print_cb(const Eina_Log_Domain *d EINA_UNUSED,
+ Eina_Log_Level level EINA_UNUSED,
+ const char *file EINA_UNUSED,
const char *fnc,
int line,
const char *fmt,
- void *data __UNUSED__,
+ void *data EINA_UNUSED,
va_list args)
{
fprintf(stderr, "[%s:%d] ", fnc, line);
static Ecore_Wince_Key_Mask _ecore_wince_key_mask = 0;
static void
-_ecore_wince_event_free_key_down(void *data __UNUSED__,
+_ecore_wince_event_free_key_down(void *data EINA_UNUSED,
void *ev)
{
Ecore_Event_Key *e;
}
static void
-_ecore_wince_event_free_key_up(void *data __UNUSED__,
+_ecore_wince_event_free_key_up(void *data EINA_UNUSED,
void *ev)
{
Ecore_Event_Key *e;
/* local function prototypes */
static int _ecore_xcb_shutdown(Eina_Bool close_display);
-static Eina_Bool _ecore_xcb_fd_handle(void *data, Ecore_Fd_Handler *hdlr __UNUSED__);
-static Eina_Bool _ecore_xcb_fd_handle_buff(void *data, Ecore_Fd_Handler *hdlr __UNUSED__);
-static Eina_Bool _ecore_xcb_idle_enter(void *data __UNUSED__);
+static Eina_Bool _ecore_xcb_fd_handle(void *data, Ecore_Fd_Handler *hdlr EINA_UNUSED);
+static Eina_Bool _ecore_xcb_fd_handle_buff(void *data, Ecore_Fd_Handler *hdlr EINA_UNUSED);
+static Eina_Bool _ecore_xcb_idle_enter(void *data EINA_UNUSED);
/* local variables */
static int _ecore_xcb_init_count = 0;
}
EAPI void
-ecore_x_display_size_get(Ecore_X_Display *dsp __UNUSED__, int *w, int *h)
+ecore_x_display_size_get(Ecore_X_Display *dsp EINA_UNUSED, int *w, int *h)
{
xcb_screen_t *screen;
}
EAPI unsigned long
-ecore_x_display_black_pixel_get(Ecore_X_Display *dsp __UNUSED__)
+ecore_x_display_black_pixel_get(Ecore_X_Display *dsp EINA_UNUSED)
{
xcb_screen_t *screen;
}
EAPI unsigned long
-ecore_x_display_white_pixel_get(Ecore_X_Display *dsp __UNUSED__)
+ecore_x_display_white_pixel_get(Ecore_X_Display *dsp EINA_UNUSED)
{
xcb_screen_t *screen;
* @since 1.1.0
*/
EAPI Ecore_X_Visual
-ecore_x_default_visual_get(Ecore_X_Display *disp __UNUSED__, Ecore_X_Screen *screen)
+ecore_x_default_visual_get(Ecore_X_Display *disp EINA_UNUSED, Ecore_X_Screen *screen)
{
xcb_screen_t *s;
xcb_depth_iterator_t diter;
* @since 1.1.0
*/
EAPI Ecore_X_Colormap
-ecore_x_default_colormap_get(Ecore_X_Display *disp __UNUSED__, Ecore_X_Screen *screen)
+ecore_x_default_colormap_get(Ecore_X_Display *disp EINA_UNUSED, Ecore_X_Screen *screen)
{
xcb_screen_t *s;
* @since 1.1.0
*/
EAPI int
-ecore_x_default_depth_get(Ecore_X_Display *disp __UNUSED__, Ecore_X_Screen *screen)
+ecore_x_default_depth_get(Ecore_X_Display *disp EINA_UNUSED, Ecore_X_Screen *screen)
{
xcb_screen_t *s;
}
static Eina_Bool
-_ecore_xcb_fd_handle(void *data, Ecore_Fd_Handler *hdlr __UNUSED__)
+_ecore_xcb_fd_handle(void *data, Ecore_Fd_Handler *hdlr EINA_UNUSED)
{
xcb_connection_t *conn;
xcb_generic_event_t *ev = NULL;
}
static Eina_Bool
-_ecore_xcb_fd_handle_buff(void *data, Ecore_Fd_Handler *hdlr __UNUSED__)
+_ecore_xcb_fd_handle_buff(void *data, Ecore_Fd_Handler *hdlr EINA_UNUSED)
{
xcb_connection_t *conn;
xcb_generic_event_t *ev = NULL;
}
static Eina_Bool
-_ecore_xcb_idle_enter(void *data __UNUSED__)
+_ecore_xcb_idle_enter(void *data EINA_UNUSED)
{
LOGFN(__FILE__, __LINE__, __FUNCTION__);
CHECK_XCB_CONN;
} Version_Cache_Item;
/* local function prototypes */
-static Eina_Bool _ecore_xcb_dnd_converter_copy(char *target __UNUSED__,
+static Eina_Bool _ecore_xcb_dnd_converter_copy(char *target EINA_UNUSED,
void *data,
int size,
void **data_ret,
int *size_ret,
- Ecore_X_Atom *tprop __UNUSED__,
- int *count __UNUSED__);
+ Ecore_X_Atom *tprop EINA_UNUSED,
+ int *count EINA_UNUSED);
/* local variables */
static int _ecore_xcb_dnd_init_count = 0;
/* local functions */
static Eina_Bool
-_ecore_xcb_dnd_converter_copy(char *target __UNUSED__,
+_ecore_xcb_dnd_converter_copy(char *target EINA_UNUSED,
void *data,
int size,
void **data_ret,
int *size_ret,
- Ecore_X_Atom *tprop __UNUSED__,
- int *count __UNUSED__)
+ Ecore_X_Atom *tprop EINA_UNUSED,
+ int *count EINA_UNUSED)
{
Ecore_Xcb_Textproperty text_prop;
Ecore_Xcb_Encoding_Style style = XcbTextStyle;
#endif
static void _ecore_xcb_event_handle_sync_counter(xcb_generic_event_t *event);
static void _ecore_xcb_event_handle_sync_alarm(xcb_generic_event_t *event);
-static void _ecore_xcb_event_handle_xfixes_selection_notify(xcb_generic_event_t *event __UNUSED__);
+static void _ecore_xcb_event_handle_xfixes_selection_notify(xcb_generic_event_t *event EINA_UNUSED);
static void _ecore_xcb_event_handle_xfixes_cursor_notify(xcb_generic_event_t *event);
static void _ecore_xcb_event_handle_generic_event(xcb_generic_event_t *event);
static void _ecore_xcb_event_handle_input_event(xcb_generic_event_t *event);
static void _ecore_xcb_event_key_press(xcb_generic_event_t *event);
static void _ecore_xcb_event_key_release(xcb_generic_event_t *event);
-static void _ecore_xcb_event_mouse_move_free(void *data __UNUSED__,
+static void _ecore_xcb_event_mouse_move_free(void *data EINA_UNUSED,
void *event);
static Ecore_X_Event_Mode _ecore_xcb_event_mode_get(uint8_t mode);
static Ecore_X_Event_Detail _ecore_xcb_event_detail_get(uint8_t detail);
-static void _ecore_xcb_event_xdnd_enter_free(void *data __UNUSED__,
+static void _ecore_xcb_event_xdnd_enter_free(void *data EINA_UNUSED,
void *event);
-static void _ecore_xcb_event_selection_notify_free(void *data __UNUSED__,
+static void _ecore_xcb_event_selection_notify_free(void *data EINA_UNUSED,
void *event);
static void _ecore_xcb_event_generic_event_free(void *data,
void *event);
}
static void
-_ecore_xcb_event_handle_keymap_notify(xcb_generic_event_t *event __UNUSED__)
+_ecore_xcb_event_handle_keymap_notify(xcb_generic_event_t *event EINA_UNUSED)
{
// LOGFN(__FILE__, __LINE__, __FUNCTION__);
}
static void
-_ecore_xcb_event_handle_gravity_notify(xcb_generic_event_t *event __UNUSED__)
+_ecore_xcb_event_handle_gravity_notify(xcb_generic_event_t *event EINA_UNUSED)
{
/*
xcb_gravity_notify_event_t *ev;
}
static void
-_ecore_xcb_event_handle_xfixes_cursor_notify(xcb_generic_event_t *event __UNUSED__)
+_ecore_xcb_event_handle_xfixes_cursor_notify(xcb_generic_event_t *event EINA_UNUSED)
{
LOGFN(__FILE__, __LINE__, __FUNCTION__);
// FIXME: TBD
}
static void
-_ecore_xcb_event_mouse_move_free(void *data __UNUSED__,
+_ecore_xcb_event_mouse_move_free(void *data EINA_UNUSED,
void *event)
{
Ecore_Event_Mouse_Move *ev;
}
static void
-_ecore_xcb_event_xdnd_enter_free(void *data __UNUSED__,
+_ecore_xcb_event_xdnd_enter_free(void *data EINA_UNUSED,
void *event)
{
Ecore_X_Event_Xdnd_Enter *e;
}
static void
-_ecore_xcb_event_selection_notify_free(void *data __UNUSED__,
+_ecore_xcb_event_selection_notify_free(void *data EINA_UNUSED,
void *event)
{
Ecore_X_Event_Selection_Notify *e;
Ecore_X_Gesture_Event_Mask mask)
#else
EAPI Eina_Bool
-ecore_x_gesture_events_select(Ecore_X_Window win __UNUSED__,
- Ecore_X_Gesture_Event_Mask mask __UNUSED__)
+ecore_x_gesture_events_select(Ecore_X_Window win EINA_UNUSED,
+ Ecore_X_Gesture_Event_Mask mask EINA_UNUSED)
#endif
{
ecore_x_gesture_events_selected_get(Ecore_X_Window win)
#else
EAPI Ecore_X_Gesture_Event_Mask
-ecore_x_gesture_events_selected_get(Ecore_X_Window win __UNUSED__)
+ecore_x_gesture_events_selected_get(Ecore_X_Window win EINA_UNUSED)
#endif
{
#ifdef ECORE_XCB_XGESTURE
int num_fingers)
#else
EAPI Eina_Bool
-ecore_x_gesture_event_grab(Ecore_X_Window win __UNUSED__,
- Ecore_X_Gesture_Event_Type type __UNUSED__,
- int num_fingers __UNUSED__)
+ecore_x_gesture_event_grab(Ecore_X_Window win EINA_UNUSED,
+ Ecore_X_Gesture_Event_Type type EINA_UNUSED,
+ int num_fingers EINA_UNUSED)
#endif
{
#ifdef ECORE_XCB_XGESTURE
int num_fingers)
#else
EAPI Eina_Bool
-ecore_x_gesture_event_ungrab(Ecore_X_Window win __UNUSED__,
- Ecore_X_Gesture_Event_Type type __UNUSED__,
- int num_fingers __UNUSED__)
+ecore_x_gesture_event_ungrab(Ecore_X_Window win EINA_UNUSED,
+ Ecore_X_Gesture_Event_Type type EINA_UNUSED,
+ int num_fingers EINA_UNUSED)
#endif
{
#ifdef ECORE_XCB_XGESTURE
#ifdef ECORE_XCB_XINPUT
_ecore_xcb_input_handle_event(xcb_generic_event_t *event)
#else
-_ecore_xcb_input_handle_event(xcb_generic_event_t * event __UNUSED__)
+_ecore_xcb_input_handle_event(xcb_generic_event_t * event EINA_UNUSED)
#endif
{
#ifdef ECORE_XCB_XINPUT
/* local functions */
int
-_ecore_xcb_netwm_startup_info_begin(Ecore_X_Window win __UNUSED__,
- uint8_t data __UNUSED__)
+_ecore_xcb_netwm_startup_info_begin(Ecore_X_Window win EINA_UNUSED,
+ uint8_t data EINA_UNUSED)
{
// TODO: TBD
return 1;
}
int
-_ecore_xcb_netwm_startup_info(Ecore_X_Window win __UNUSED__,
- uint8_t data __UNUSED__)
+_ecore_xcb_netwm_startup_info(Ecore_X_Window win EINA_UNUSED,
+ uint8_t data EINA_UNUSED)
{
// TODO: TBD
return 1;
#ifdef ECORE_XCB_RANDR
_ecore_xcb_randr_root_validate(Ecore_X_Window root)
#else
-_ecore_xcb_randr_root_validate(Ecore_X_Window root __UNUSED__)
+_ecore_xcb_randr_root_validate(Ecore_X_Window root EINA_UNUSED)
#endif
{
#ifdef ECORE_XCB_RANDR
#define ECORE_XCB_SELECTION_DATA(x) ((Ecore_X_Selection_Data *)(x))
/* local function prototypes */
-static void *_ecore_xcb_selection_parser_text(const char *target __UNUSED__,
+static void *_ecore_xcb_selection_parser_text(const char *target EINA_UNUSED,
void *data,
int size,
- int format __UNUSED__);
+ int format EINA_UNUSED);
static void *_ecore_xcb_selection_parser_files(const char *target,
void *data,
int size,
- int format __UNUSED__);
-static void *_ecore_xcb_selection_parser_targets(const char *target __UNUSED__,
+ int format EINA_UNUSED);
+static void *_ecore_xcb_selection_parser_targets(const char *target EINA_UNUSED,
void *data,
int size,
- int format __UNUSED__);
+ int format EINA_UNUSED);
//static int _ecore_xcb_selection_data_free(void *data);
static int _ecore_xcb_selection_data_text_free(void *data);
int size,
void **data_ret,
int *size_ret,
- Ecore_X_Atom *type __UNUSED__,
- int *size_type __UNUSED__)
+ Ecore_X_Atom *type EINA_UNUSED,
+ int *size_type EINA_UNUSED)
{
Ecore_Xcb_Encoding_Style style;
Ecore_Xcb_Textproperty ret;
}
static void *
-_ecore_xcb_selection_parser_text(const char *target __UNUSED__,
+_ecore_xcb_selection_parser_text(const char *target EINA_UNUSED,
void *data,
int size,
- int format __UNUSED__)
+ int format EINA_UNUSED)
{
Ecore_X_Selection_Data_Text *sel;
unsigned char *_data;
_ecore_xcb_selection_parser_files(const char *target,
void *data,
int size,
- int format __UNUSED__)
+ int format EINA_UNUSED)
{
Ecore_X_Selection_Data_Files *sel;
char *_data, *tmp, *t, **t2;
}
static void *
-_ecore_xcb_selection_parser_targets(const char *target __UNUSED__,
+_ecore_xcb_selection_parser_targets(const char *target EINA_UNUSED,
void *data,
int size,
- int format __UNUSED__)
+ int format EINA_UNUSED)
{
Ecore_X_Selection_Data_Targets *sel;
unsigned long *targets;
static Eina_Bool _ecore_xcb_dri_start(void);
static void _ecore_xcb_dri_shutdown(void);
-static Eina_Bool _ecore_xcb_dri_cb(void *data __UNUSED__,
- Ecore_Fd_Handler *fdh __UNUSED__);
-static void _ecore_xcb_dri_tick_begin(void *data __UNUSED__);
-static void _ecore_xcb_dri_tick_end(void *data __UNUSED__);
+static Eina_Bool _ecore_xcb_dri_cb(void *data EINA_UNUSED,
+ Ecore_Fd_Handler *fdh EINA_UNUSED);
+static void _ecore_xcb_dri_tick_begin(void *data EINA_UNUSED);
+static void _ecore_xcb_dri_tick_end(void *data EINA_UNUSED);
static void _ecore_xcb_dri_tick_schedule(void);
-static void _ecore_xcb_dri_vblank_handler(int fd __UNUSED__,
- unsigned int frame __UNUSED__,
- unsigned int sec __UNUSED__,
- unsigned int usec __UNUSED__,
- void *data __UNUSED__);
+static void _ecore_xcb_dri_vblank_handler(int fd EINA_UNUSED,
+ unsigned int frame EINA_UNUSED,
+ unsigned int sec EINA_UNUSED,
+ unsigned int usec EINA_UNUSED,
+ void *data EINA_UNUSED);
/* local variables */
static Ecore_X_Window _vsync_root = 0;
}
static Eina_Bool
-_ecore_xcb_dri_cb(void *data __UNUSED__,
- Ecore_Fd_Handler *fdh __UNUSED__)
+_ecore_xcb_dri_cb(void *data EINA_UNUSED,
+ Ecore_Fd_Handler *fdh EINA_UNUSED)
{
sym_drmHandleEvent(_drm_fd, &_drm_evctx);
return ECORE_CALLBACK_RENEW;
}
static void
-_ecore_xcb_dri_tick_begin(void *data __UNUSED__)
+_ecore_xcb_dri_tick_begin(void *data EINA_UNUSED)
{
_drm_event_busy = EINA_TRUE;
_ecore_xcb_dri_tick_schedule();
}
static void
-_ecore_xcb_dri_tick_end(void *data __UNUSED__)
+_ecore_xcb_dri_tick_end(void *data EINA_UNUSED)
{
_drm_event_busy = EINA_FALSE;
}
}
static void
-_ecore_xcb_dri_vblank_handler(int fd __UNUSED__,
- unsigned int frame __UNUSED__,
- unsigned int sec __UNUSED__,
- unsigned int usec __UNUSED__,
- void *data __UNUSED__)
+_ecore_xcb_dri_vblank_handler(int fd EINA_UNUSED,
+ unsigned int frame EINA_UNUSED,
+ unsigned int sec EINA_UNUSED,
+ unsigned int usec EINA_UNUSED,
+ void *data EINA_UNUSED)
{
ecore_animator_custom_tick();
if (_drm_event_busy) _ecore_xcb_dri_tick_schedule();
*/
EAPI void
ecore_x_window_focus_at_time(Ecore_X_Window win,
- Ecore_X_Time time __UNUSED__)
+ Ecore_X_Time time EINA_UNUSED)
{
LOGFN(__FILE__, __LINE__, __FUNCTION__);
CHECK_XCB_CONN;
* @ingroup Ecore_X_Window_Geometry_Group
*/
EAPI Ecore_X_Window
-ecore_x_window_shadow_parent_get(Ecore_X_Window root __UNUSED__,
+ecore_x_window_shadow_parent_get(Ecore_X_Window root EINA_UNUSED,
Ecore_X_Window win)
{
Shadow *s;
#ifdef ECORE_XCB_XTEST
ecore_x_test_fake_key_down(const char *key)
#else
-ecore_x_test_fake_key_down(const char *key __UNUSED__)
+ecore_x_test_fake_key_down(const char *key EINA_UNUSED)
#endif
{
#ifdef ECORE_XCB_XTEST
#ifdef ECORE_XCB_XTEST
ecore_x_test_fake_key_up(const char *key)
#else
-ecore_x_test_fake_key_up(const char *key __UNUSED__)
+ecore_x_test_fake_key_up(const char *key EINA_UNUSED)
#endif
{
#ifdef ECORE_XCB_XTEST
#ifdef ECORE_XCB_XTEST
ecore_x_test_fake_key_press(const char *key)
#else
-ecore_x_test_fake_key_press(const char *key __UNUSED__)
+ecore_x_test_fake_key_press(const char *key EINA_UNUSED)
#endif
{
#ifdef ECORE_XCB_XTEST
static Eina_Bool
_ecore_x_fd_handler(void *data,
- Ecore_Fd_Handler *fd_handler __UNUSED__)
+ Ecore_Fd_Handler *fd_handler EINA_UNUSED)
{
Display *d;
static Eina_Bool
_ecore_x_fd_handler_buf(void *data,
- Ecore_Fd_Handler *fd_handler __UNUSED__)
+ Ecore_Fd_Handler *fd_handler EINA_UNUSED)
{
Display *d;
static int _ecore_x_window_manage_failed = 0;
static void
-_ecore_x_window_manage_error(void *data __UNUSED__)
+_ecore_x_window_manage_error(void *data EINA_UNUSED)
{
if ((ecore_x_error_request_get() == X_ChangeWindowAttributes) &&
(ecore_x_error_code_get() == BadAccess))
}
static Eina_Bool
-_ecore_x_dnd_converter_copy(char *target __UNUSED__,
+_ecore_x_dnd_converter_copy(char *target EINA_UNUSED,
void *data,
int size,
void **data_ret,
int *size_ret,
- Ecore_X_Atom *tprop __UNUSED__,
- int *count __UNUSED__)
+ Ecore_X_Atom *tprop EINA_UNUSED,
+ int *count EINA_UNUSED)
{
XTextProperty text_prop;
char *mystr;
}
static void
-_ecore_x_event_free_mouse_move(void *data __UNUSED__,
+_ecore_x_event_free_mouse_move(void *data EINA_UNUSED,
void *ev)
{
Ecore_Event_Mouse_Move *e;
}
static void
-_ecore_x_event_free_xdnd_enter(void *data __UNUSED__,
+_ecore_x_event_free_xdnd_enter(void *data EINA_UNUSED,
void *ev)
{
Ecore_X_Event_Xdnd_Enter *e;
}
static void
-_ecore_x_event_free_selection_notify(void *data __UNUSED__,
+_ecore_x_event_free_selection_notify(void *data EINA_UNUSED,
void *ev)
{
Ecore_X_Event_Selection_Notify *e;
}
void
-_ecore_x_event_handle_keymap_notify(XEvent *xevent __UNUSED__)
+_ecore_x_event_handle_keymap_notify(XEvent *xevent EINA_UNUSED)
{
_ecore_x_last_event_mouse_move = 0;
/* FIXME: handle this event type */
}
void
-_ecore_x_event_handle_gravity_notify(XEvent *xevent __UNUSED__)
+_ecore_x_event_handle_gravity_notify(XEvent *xevent EINA_UNUSED)
{
_ecore_x_last_event_mouse_move = 0;
/* FIXME: handle this event type */
static int _ecore_x_image_err = 0;
static int
-_ecore_x_image_error_handler(Display *d __UNUSED__,
- XErrorEvent *ev __UNUSED__)
+_ecore_x_image_error_handler(Display *d EINA_UNUSED,
+ XErrorEvent *ev EINA_UNUSED)
{
_ecore_x_image_err = 1;
return 0;
}
int
-_ecore_x_netwm_startup_info_begin(Ecore_X_Window win __UNUSED__,
- char *data __UNUSED__)
+_ecore_x_netwm_startup_info_begin(Ecore_X_Window win EINA_UNUSED,
+ char *data EINA_UNUSED)
{
#if 0
Ecore_X_Startup_Info *info;
}
int
-_ecore_x_netwm_startup_info(Ecore_X_Window win __UNUSED__,
- char *data __UNUSED__)
+_ecore_x_netwm_startup_info(Ecore_X_Window win EINA_UNUSED,
+ char *data EINA_UNUSED)
{
#if 0
Ecore_X_Startup_Info *info;
int size,
void **data_ret,
int *size_ret,
- Ecore_X_Atom *targprop __UNUSED__,
- int *s __UNUSED__)
+ Ecore_X_Atom *targprop EINA_UNUSED,
+ int *s EINA_UNUSED)
{
XTextProperty text_prop;
char *mystr;
_ecore_x_selection_parser_files(const char *target,
void *_data,
int size,
- int format __UNUSED__)
+ int format EINA_UNUSED)
{
Ecore_X_Selection_Data_Files *sel;
char *t, *data = _data;
}
static void *
-_ecore_x_selection_parser_text(const char *target __UNUSED__,
+_ecore_x_selection_parser_text(const char *target EINA_UNUSED,
void *_data,
int size,
- int format __UNUSED__)
+ int format EINA_UNUSED)
{
Ecore_X_Selection_Data_Text *sel;
unsigned char *data = _data;
}
static void *
-_ecore_x_selection_parser_targets(const char *target __UNUSED__,
+_ecore_x_selection_parser_targets(const char *target EINA_UNUSED,
void *data,
int size,
- int format __UNUSED__)
+ int format EINA_UNUSED)
{
Ecore_X_Selection_Data_Targets *sel;
unsigned long *targets;
#ifdef ECORE_XTEST
ecore_x_test_fake_key_down(const char *key)
#else
-ecore_x_test_fake_key_down(const char *key __UNUSED__)
+ecore_x_test_fake_key_down(const char *key EINA_UNUSED)
#endif
{
#ifdef ECORE_XTEST
#ifdef ECORE_XTEST
ecore_x_test_fake_key_up(const char *key)
#else
-ecore_x_test_fake_key_up(const char *key __UNUSED__)
+ecore_x_test_fake_key_up(const char *key EINA_UNUSED)
#endif
{
#ifdef ECORE_XTEST
#ifdef ECORE_XTEST
ecore_x_test_fake_key_press(const char *key)
#else
-ecore_x_test_fake_key_press(const char *key __UNUSED__)
+ecore_x_test_fake_key_press(const char *key EINA_UNUSED)
#endif
{
#ifdef ECORE_XTEST
}
static void
-_dri_drm_tick_begin(void *data __UNUSED__)
+_dri_drm_tick_begin(void *data EINA_UNUSED)
{
drm_event_is_busy = 1;
_dri_drm_tick_schedule();
}
static void
-_dri_drm_tick_end(void *data __UNUSED__)
+_dri_drm_tick_end(void *data EINA_UNUSED)
{
drm_event_is_busy = 0;
}
static void
-_dri_drm_vblank_handler(int fd __UNUSED__,
- unsigned int frame __UNUSED__,
- unsigned int sec __UNUSED__,
- unsigned int usec __UNUSED__,
- void *data __UNUSED__)
+_dri_drm_vblank_handler(int fd EINA_UNUSED,
+ unsigned int frame EINA_UNUSED,
+ unsigned int sec EINA_UNUSED,
+ unsigned int usec EINA_UNUSED,
+ void *data EINA_UNUSED)
{
ecore_animator_custom_tick();
if (drm_event_is_busy) _dri_drm_tick_schedule();
}
static Eina_Bool
-_dri_drm_cb(void *data __UNUSED__,
- Ecore_Fd_Handler *fd_handler __UNUSED__)
+_dri_drm_cb(void *data EINA_UNUSED,
+ Ecore_Fd_Handler *fd_handler EINA_UNUSED)
{
sym_drmHandleEvent(drm_fd, &drm_evctx);
return ECORE_CALLBACK_RENEW;
* @ingroup Ecore_X_Window_Geometry_Group
*/
EAPI Ecore_X_Window
-ecore_x_window_shadow_parent_get(Ecore_X_Window root __UNUSED__,
+ecore_x_window_shadow_parent_get(Ecore_X_Window root EINA_UNUSED,
Ecore_X_Window win)
{
Shadow *s;
ecore_x_window_prop_property_get(Ecore_X_Window win,
Ecore_X_Atom property,
Ecore_X_Atom type,
- int size __UNUSED__,
+ int size EINA_UNUSED,
unsigned char **data,
int *num)
{