summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2018-01-31 15:33:49 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2018-01-31 15:33:49 +0100
commit5b0b1a0f9178ca9909159158ce4602410adbcdf2 (patch)
treea133d5f3540ef1b326a2de8dfcbeab2f04541149
parent8ed75b74481bf5b8b4a2be3d62019df6dc4f3bd6 (diff)
fix latest eo api breaks
Thx for taking care of our debugging infrastructure ;)
-rw-r--r--src/lib/clouseau_debug.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/clouseau_debug.c b/src/lib/clouseau_debug.c
index 968e2ed..8d008fe 100644
--- a/src/lib/clouseau_debug.c
+++ b/src/lib/clouseau_debug.c
@@ -474,15 +474,14 @@ static Eina_Bool
474_api_resolvable(Eo *obj, const Eolian_Function *function) 474_api_resolvable(Eo *obj, const Eolian_Function *function)
475{ 475{
476 Efl_Object_Op_Call_Data call_data = {}; 476 Efl_Object_Op_Call_Data call_data = {};
477 Efl_Object_Call_Cache call_cache = {}; 477 Efl_Object_Op op;
478 const char *func_c_name; 478 const char *func_c_name;
479 void *func_api; 479 void *func_api;
480 480
481 func_c_name = eolian_function_full_c_name_get(function, EOLIAN_PROP_GET, EINA_FALSE); 481 func_c_name = eolian_function_full_c_name_get(function, EOLIAN_PROP_GET, EINA_FALSE);
482 func_api = dlsym(RTLD_DEFAULT, func_c_name); 482 func_api = dlsym(RTLD_DEFAULT, func_c_name);
483 call_cache.op = _efl_object_op_api_id_get(func_api, obj, func_c_name, __FILE__, __LINE__); 483 op = _efl_object_op_api_id_get(func_api, obj, func_c_name, __FILE__, __LINE__);
484 call_cache.generation = _efl_object_init_generation; 484 _efl_object_call_resolve(obj, func_c_name, &call_data, op, __FILE__, __LINE__);
485 _efl_object_call_resolve(obj, func_c_name, &call_data, &call_cache, __FILE__, __LINE__);
486 485
487 return !!call_data.func; 486 return !!call_data.func;
488} 487}