aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2014-11-20 17:13:12 +0000
committerDaniel Kolesa <d.kolesa@samsung.com>2014-11-20 17:13:12 +0000
commit6448803ab03986e33e214eaebdddaf7dd965e207 (patch)
tree0995b5fa9b3b8ba3ab5b3e87fc2d7e88e90bb524
parenteolian: add support for @optional ctor tag (diff)
downloadefl-6448803ab03986e33e214eaebdddaf7dd965e207.tar.gz
eolian: forgot to add prototype to header
-rw-r--r--src/lib/eolian/Eolian.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/eolian/Eolian.h b/src/lib/eolian/Eolian.h
index 4463862b87..d2712d5f30 100644
--- a/src/lib/eolian/Eolian.h
+++ b/src/lib/eolian/Eolian.h
@@ -1151,6 +1151,16 @@ EAPI const Eolian_Class *eolian_constructor_class_get(const Eolian_Constructor *
EAPI const Eolian_Function *eolian_constructor_function_get(const Eolian_Constructor *ctor);
/*
+ * @brief Checks if a constructor is tagged optional.
+ *
+ * @param[in] ctor the handle of the constructor
+ * @return EINA_TRUE if optional, EINA_FALSE if not (or if input is NULL).
+ *
+ * @ingroup Eolian
+ */
+EAPI Eina_Bool eolian_constructor_is_optional(const Eolian_Constructor *ctor);
+
+/*
* @brief Get an iterator to the constructing functions defined in a class.
*
* @param[in] klass the class.