aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2017-06-05 17:43:21 -0300
committerLauro Moura <lauromoura@expertisesolutions.com.br>2017-06-19 15:19:07 -0300
commit44b5dda25f2bfd2fca501639f125122d5e2bf779 (patch)
tree385111a9969bd83c7d3276557eceb6a28e70b55a
parentjs: Update after many elm/efl.ui changes (diff)
downloadefl-devs/lauromoura/js.tar.gz
js: Update after Eolian_Unit API changedevs/lauromoura/js
-rw-r--r--src/bin/eolian_js/eolian/class.hh2
-rw-r--r--src/bin/eolian_js/main.cc8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/bin/eolian_js/eolian/class.hh b/src/bin/eolian_js/eolian/class.hh
index 633d6c4e72..c9f027d532 100644
--- a/src/bin/eolian_js/eolian/class.hh
+++ b/src/bin/eolian_js/eolian/class.hh
@@ -44,7 +44,7 @@ inline std::string type_class_name(Eolian_Type const* tp)
tpt = ::eolian_type_type_get(tp);
if (tpt == EOLIAN_TYPE_CLASS)
{
- Eolian_Class const* klass = ::eolian_type_class_get(tp);
+ Eolian_Class const* klass = ::eolian_type_class_get(NULL, tp);
if (klass)
{
Eina_Stringshare* klass_name = ::eolian_class_full_name_get(klass);
diff --git a/src/bin/eolian_js/main.cc b/src/bin/eolian_js/main.cc
index dff474f0c7..f3f1a75a5c 100644
--- a/src/bin/eolian_js/main.cc
+++ b/src/bin/eolian_js/main.cc
@@ -513,7 +513,7 @@ int main(int argc, char** argv)
{
char* dup = strdup(in_file.c_str());
char *bn = basename(dup);
- klass = ::eolian_class_get_by_file(bn);
+ klass = ::eolian_class_get_by_file(NULL, bn);
file_basename = bn;
free(dup);
}
@@ -543,7 +543,7 @@ int main(int argc, char** argv)
, last; first != last; ++first)
{
EINA_CXX_DOM_LOG_WARN(eolian::js::domain) << &*first << std::endl;
- Eolian_Class const* base = ::eolian_class_get_by_name(&*first);
+ Eolian_Class const* base = ::eolian_class_get_by_name(NULL, &*first);
function(base);
recurse_inherits(base, function);
}
@@ -679,7 +679,7 @@ int main(int argc, char** argv)
// generate all structs parsed in this file
std::stringstream structs_ss;
- for (efl::eina::iterator<Eolian_Typedecl> first(::eolian_typedecl_structs_get_by_file(file_basename.c_str()))
+ for (efl::eina::iterator<Eolian_Typedecl> first(::eolian_typedecl_structs_get_by_file(NULL, file_basename.c_str()))
, last; first != last; ++first)
{
std::stringstream ss;
@@ -1151,7 +1151,7 @@ int main(int argc, char** argv)
os << structs_ss.str();
// generate enumerations
- for (efl::eina::iterator<Eolian_Typedecl> first(::eolian_typedecl_enums_get_by_file(file_basename.c_str()))
+ for (efl::eina::iterator<Eolian_Typedecl> first(::eolian_typedecl_enums_get_by_file(NULL, file_basename.c_str()))
, last; first != last; ++first)
{
auto tpd = &*first;