summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2015-05-21 16:37:30 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2015-05-21 16:37:30 +0100
commit68b8d63e42a4ef47e3df344b79a81f7a9cf72721 (patch)
tree8b1dc4ea08b8df06ec8d577e22cc56c727c52165
parent8a4922132fceaa8a442b6a38d75c04d65f7c3870 (diff)
eolian: remove unnecessary function
-rw-r--r--src/lib/eolian/database_implement.c7
-rw-r--r--src/lib/eolian/eolian_database.c4
-rw-r--r--src/lib/eolian/eolian_database.h1
3 files changed, 2 insertions, 10 deletions
diff --git a/src/lib/eolian/database_implement.c b/src/lib/eolian/database_implement.c
index ff653d90a4..0e7e7675ef 100644
--- a/src/lib/eolian/database_implement.c
+++ b/src/lib/eolian/database_implement.c
@@ -13,10 +13,3 @@ database_implement_del(Eolian_Implement *impl)
13 if (impl->full_name) eina_stringshare_del(impl->full_name); 13 if (impl->full_name) eina_stringshare_del(impl->full_name);
14 free(impl); 14 free(impl);
15} 15}
16
17void
18database_implement_constructor_add(Eolian_Implement *impl, const Eolian_Class *klass)
19{
20 if (eolian_function_is_constructor(impl->foo_id, impl->klass))
21 database_function_constructor_add((Eolian_Function*)impl->foo_id, klass);
22}
diff --git a/src/lib/eolian/eolian_database.c b/src/lib/eolian/eolian_database.c
index 392dc82380..a568aa51e1 100644
--- a/src/lib/eolian/eolian_database.c
+++ b/src/lib/eolian/eolian_database.c
@@ -298,8 +298,8 @@ impls:
298 eolian_implement_full_name_get(impl)); 298 eolian_implement_full_name_get(impl));
299 goto error; 299 goto error;
300 } 300 }
301 else 301 else if (eolian_function_is_constructor(impl->foo_id, impl->klass))
302 database_implement_constructor_add(impl, class); 302 database_function_constructor_add((Eolian_Function*)impl->foo_id, class);
303 } 303 }
304 eina_iterator_free(itr); 304 eina_iterator_free(itr);
305 itr = eolian_class_constructors_get(class); 305 itr = eolian_class_constructors_get(class);
diff --git a/src/lib/eolian/eolian_database.h b/src/lib/eolian/eolian_database.h
index 8cd8cec282..2d8d4d0a8d 100644
--- a/src/lib/eolian/eolian_database.h
+++ b/src/lib/eolian/eolian_database.h
@@ -316,7 +316,6 @@ void database_parameter_del(Eolian_Function_Parameter *pdesc);
316 316
317/* implements */ 317/* implements */
318void database_implement_del(Eolian_Implement *impl); 318void database_implement_del(Eolian_Implement *impl);
319void database_implement_constructor_add(Eolian_Implement *impl, const Eolian_Class *klass);
320 319
321/* constructors */ 320/* constructors */
322void database_constructor_del(Eolian_Constructor *ctor); 321void database_constructor_del(Eolian_Constructor *ctor);