summaryrefslogtreecommitdiff
path: root/src/bindings
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2016-11-07 13:42:33 -0800
committerCedric BAIL <cedric@osg.samsung.com>2016-11-07 13:43:11 -0800
commit90c7a8a680ede36f6843585812943a646234b4cd (patch)
tree200f484b5c4b87ab1b35c6b660cffda9230a90e7 /src/bindings
parent6ee17d8f2dd01133edc3d7d798d1373911ad879a (diff)
bindings: remove Eina_Promise reference from JS binding.
Diffstat (limited to 'src/bindings')
-rw-r--r--src/bindings/js/eina_js/eina_js_get_value.hh10
-rw-r--r--src/bindings/js/eina_js/eina_js_get_value_from_c.hh7
2 files changed, 0 insertions, 17 deletions
diff --git a/src/bindings/js/eina_js/eina_js_get_value.hh b/src/bindings/js/eina_js/eina_js_get_value.hh
index 3a96970..450ba06 100644
--- a/src/bindings/js/eina_js/eina_js_get_value.hh
+++ b/src/bindings/js/eina_js/eina_js_get_value.hh
@@ -463,16 +463,6 @@ inline Evas_Smart_Cb get_value_from_javascript (
463 return nullptr; 463 return nullptr;
464} 464}
465 465
466template <typename T, typename K>
467inline Eina_Promise* get_value_from_javascript (
468 v8::Local<v8::Value>,
469 v8::Isolate*,
470 const char*,
471 value_tag<complex_tag<Eina_Promise*, T, K> >)
472{
473 return nullptr;
474}
475
476} } } 466} } }
477 467
478#endif 468#endif
diff --git a/src/bindings/js/eina_js/eina_js_get_value_from_c.hh b/src/bindings/js/eina_js/eina_js_get_value_from_c.hh
index f949ae6..7e6499b 100644
--- a/src/bindings/js/eina_js/eina_js_get_value_from_c.hh
+++ b/src/bindings/js/eina_js/eina_js_get_value_from_c.hh
@@ -267,13 +267,6 @@ get_value_from_c(efl::eina::js::complex_tag<const Eina_Iterator *, T, K> v, v8::
267 return get_value_from_c(efl::eina::js::complex_tag<Eina_Iterator *, T, K>{const_cast<Eina_Iterator*>(v.value)}, isolate, class_name); 267 return get_value_from_c(efl::eina::js::complex_tag<Eina_Iterator *, T, K>{const_cast<Eina_Iterator*>(v.value)}, isolate, class_name);
268} 268}
269 269
270template <typename T, typename K>
271inline v8::Local<v8::Value>
272get_value_from_c(efl::eina::js::complex_tag<Eina_Promise *, T, K>, v8::Isolate*, const char*)
273{
274 std::abort();
275}
276
277template <typename T, typename KT, typename U, typename KU> 270template <typename T, typename KT, typename U, typename KU>
278inline v8::Local<v8::Value> 271inline v8::Local<v8::Value>
279get_value_from_c(efl::eina::js::complex_tag<Eina_Hash *, T, KT, U, KU>, v8::Isolate*, const char*) 272get_value_from_c(efl::eina::js::complex_tag<Eina_Hash *, T, KT, U, KU>, v8::Isolate*, const char*)