summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2013-01-05 16:15:59 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2013-01-05 16:15:59 +0000
commit519a7026811eee3b7a1ace22ec29ecf9ba7a2c7f (patch)
tree89aca600c8012b36255d153dd66dd543d50a2843 /src
parent1108fc893b21b52e4885cff41949c107f3908f3e (diff)
efl/edje: fix definition of parameter-less functions.
SVN revision: 82280
Diffstat (limited to 'src')
-rw-r--r--src/lib/edje/edje_external.c4
-rw-r--r--src/lib/edje/edje_lua.c6
-rw-r--r--src/lib/edje/edje_private.h14
3 files changed, 12 insertions, 12 deletions
diff --git a/src/lib/edje/edje_external.c b/src/lib/edje/edje_external.c
index 9c812f1d25..febbe1bb1d 100644
--- a/src/lib/edje/edje_external.c
+++ b/src/lib/edje/edje_external.c
@@ -419,7 +419,7 @@ edje_external_type_get(const char *type_name)
419} 419}
420 420
421void 421void
422_edje_external_init() 422_edje_external_init(void)
423{ 423{
424 if (!type_registry) 424 if (!type_registry)
425 type_registry = eina_hash_string_superfast_new(NULL); 425 type_registry = eina_hash_string_superfast_new(NULL);
@@ -428,7 +428,7 @@ _edje_external_init()
428} 428}
429 429
430void 430void
431_edje_external_shutdown() 431_edje_external_shutdown(void)
432{ 432{
433 if (--init_count == 0) 433 if (--init_count == 0)
434 { 434 {
diff --git a/src/lib/edje/edje_lua.c b/src/lib/edje/edje_lua.c
index 83ba536400..b7f4b0c4e0 100644
--- a/src/lib/edje/edje_lua.c
+++ b/src/lib/edje/edje_lua.c
@@ -5018,7 +5018,7 @@ _edje_lua_open(lua_State *L)
5018static lua_State *Ledje = NULL; 5018static lua_State *Ledje = NULL;
5019 5019
5020lua_State * 5020lua_State *
5021_edje_lua_state_get () 5021_edje_lua_state_get(void)
5022{ 5022{
5023 return Ledje; 5023 return Ledje;
5024} 5024}
@@ -5054,7 +5054,7 @@ _edje_lua_alloc(void *ud, void *ptr, size_t osize, size_t nsize)
5054} 5054}
5055 5055
5056void 5056void
5057_edje_lua_init() 5057_edje_lua_init(void)
5058{ 5058{
5059 if (Ledje != NULL) return; 5059 if (Ledje != NULL) return;
5060 /* 5060 /*
@@ -5140,7 +5140,7 @@ _edje_lua_init()
5140} 5140}
5141 5141
5142void 5142void
5143_edje_lua_shutdown() 5143_edje_lua_shutdown(void)
5144{ 5144{
5145 if (Ledje == NULL) return; 5145 if (Ledje == NULL) return;
5146 lua_close(Ledje); 5146 lua_close(Ledje);
diff --git a/src/lib/edje/edje_private.h b/src/lib/edje/edje_private.h
index 6e25bce71f..4e44b791a9 100644
--- a/src/lib/edje/edje_private.h
+++ b/src/lib/edje/edje_private.h
@@ -2157,7 +2157,7 @@ void _edje_script_only_message(Edje *ed, Edje_Message *em);
2157extern jmp_buf _edje_lua_panic_jmp; 2157extern jmp_buf _edje_lua_panic_jmp;
2158#define _edje_lua_panic_here() setjmp(_edje_lua_panic_jmp) 2158#define _edje_lua_panic_here() setjmp(_edje_lua_panic_jmp)
2159 2159
2160lua_State *_edje_lua_state_get(); 2160lua_State *_edje_lua_state_get(void);
2161lua_State *_edje_lua_new_thread(Edje *ed, lua_State *L); 2161lua_State *_edje_lua_new_thread(Edje *ed, lua_State *L);
2162void _edje_lua_free_thread(Edje *ed, lua_State *L); 2162void _edje_lua_free_thread(Edje *ed, lua_State *L);
2163void _edje_lua_new_reg(lua_State *L, int index, void *ptr); 2163void _edje_lua_new_reg(lua_State *L, int index, void *ptr);
@@ -2165,8 +2165,8 @@ void _edje_lua_get_reg(lua_State *L, void *ptr);
2165void _edje_lua_free_reg(lua_State *L, void *ptr); 2165void _edje_lua_free_reg(lua_State *L, void *ptr);
2166void _edje_lua_script_fn_new(Edje *ed); 2166void _edje_lua_script_fn_new(Edje *ed);
2167void _edje_lua_group_fn_new(Edje *ed); 2167void _edje_lua_group_fn_new(Edje *ed);
2168void _edje_lua_init(); 2168void _edje_lua_init(void);
2169void _edje_lua_shutdown(); 2169void _edje_lua_shutdown(void);
2170 2170
2171void __edje_lua_error(const char *file, const char *fnc, int line, lua_State *L, int err_code); 2171void __edje_lua_error(const char *file, const char *fnc, int line, lua_State *L, int err_code);
2172#define _edje_lua_error(L, err_code) \ 2172#define _edje_lua_error(L, err_code) \
@@ -2242,8 +2242,8 @@ Edje_Input_Panel_Return_Key_Type _edje_entry_input_panel_return_key_type_get(Edj
2242void _edje_entry_input_panel_return_key_disabled_set(Edje_Real_Part *rp, Eina_Bool disabled); 2242void _edje_entry_input_panel_return_key_disabled_set(Edje_Real_Part *rp, Eina_Bool disabled);
2243Eina_Bool _edje_entry_input_panel_return_key_disabled_get(Edje_Real_Part *rp); 2243Eina_Bool _edje_entry_input_panel_return_key_disabled_get(Edje_Real_Part *rp);
2244 2244
2245void _edje_external_init(); 2245void _edje_external_init(void);
2246void _edje_external_shutdown(); 2246void _edje_external_shutdown(void);
2247Evas_Object *_edje_external_type_add(const char *type_name, Evas *evas, Evas_Object *parent, const Eina_List *params, const char *part_name); 2247Evas_Object *_edje_external_type_add(const char *type_name, Evas *evas, Evas_Object *parent, const Eina_List *params, const char *part_name);
2248void _edje_external_signal_emit(Evas_Object *obj, const char *emission, const char *source); 2248void _edje_external_signal_emit(Evas_Object *obj, const char *emission, const char *source);
2249Eina_Bool _edje_external_param_set(Evas_Object *obj, Edje_Real_Part *rp, const Edje_External_Param *param) EINA_ARG_NONNULL(2); 2249Eina_Bool _edje_external_param_set(Evas_Object *obj, Edje_Real_Part *rp, const Edje_External_Param *param) EINA_ARG_NONNULL(2);
@@ -2257,8 +2257,8 @@ void *_edje_external_params_parse(Evas_Object *obj, const Eina_List *params);
2257void _edje_external_parsed_params_free(Evas_Object *obj, void *params); 2257void _edje_external_parsed_params_free(Evas_Object *obj, void *params);
2258 2258
2259Eina_Module *_edje_module_handle_load(const char *module); 2259Eina_Module *_edje_module_handle_load(const char *module);
2260void _edje_module_init(); 2260void _edje_module_init(void);
2261void _edje_module_shutdown(); 2261void _edje_module_shutdown(void);
2262 2262
2263static inline Eina_Bool 2263static inline Eina_Bool
2264edje_program_is_strncmp(const char *str) 2264edje_program_is_strncmp(const char *str)