summaryrefslogtreecommitdiff
path: root/src/tests/efl_js
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2016-08-15 12:31:05 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-10-25 12:23:34 -0200
commit508edf78c6be3165ef56e968e41e1cc875471024 (patch)
tree7f80b99e67ec94af28c046bd2612e6e85517fe5a /src/tests/efl_js
parent4f52588b3ce86e3bef7041d76d07eda58c41c79d (diff)
efl_js: Update after eo/efl api changes
Diffstat (limited to 'src/tests/efl_js')
-rw-r--r--src/tests/efl_js/benchmark_object_impl.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/efl_js/benchmark_object_impl.cc b/src/tests/efl_js/benchmark_object_impl.cc
index ab7aa2b778..39e84ef17c 100644
--- a/src/tests/efl_js/benchmark_object_impl.cc
+++ b/src/tests/efl_js/benchmark_object_impl.cc
@@ -49,7 +49,7 @@ using efl::eina::js::compatibility_new;
49 compatibility_return_type js_benchmark_object_##name##arg(compatibility_callback_info_type) \ 49 compatibility_return_type js_benchmark_object_##name##arg(compatibility_callback_info_type) \
50 { \ 50 { \
51 Eina_Counter* counter = eina_counter_new("counter"); \ 51 Eina_Counter* counter = eina_counter_new("counter"); \
52 Eo* object = eo_add(BENCHMARK_OBJECT_CLASS, NULL); \ 52 Eo* object = efl_add(BENCHMARK_OBJECT_CLASS, NULL); \
53 Eina_List* l = NULL; \ 53 Eina_List* l = NULL; \
54 (void)l; \ 54 (void)l; \
55 /* Warm */ \ 55 /* Warm */ \
@@ -65,7 +65,7 @@ using efl::eina::js::compatibility_new;
65 } \ 65 } \
66 eina_counter_stop(counter, 20000); \ 66 eina_counter_stop(counter, 20000); \
67 fprintf(stderr, "%s", eina_counter_dump(counter)); \ 67 fprintf(stderr, "%s", eina_counter_dump(counter)); \
68 eo_unref(object); \ 68 efl_unref(object); \
69 return compatibility_return(); \ 69 return compatibility_return(); \
70 } 70 }
71 71
@@ -83,7 +83,7 @@ void benchmark_object_module_init(v8::Handle<v8::Object> exports)
83 try 83 try
84 { 84 {
85 eina_init(); 85 eina_init();
86 eo_init(); 86 efl_object_init();
87 register_benchmark_object(exports, v8::Isolate::GetCurrent()); 87 register_benchmark_object(exports, v8::Isolate::GetCurrent());
88#define JS_BENCHMARK_EXPORT(name) \ 88#define JS_BENCHMARK_EXPORT(name) \
89 exports->Set(compatibility_new<v8::String>(nullptr, "benchmark_" #name "arg") \ 89 exports->Set(compatibility_new<v8::String>(nullptr, "benchmark_" #name "arg") \