summaryrefslogtreecommitdiff
path: root/src/lib/eolian
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2019-08-16 16:32:13 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2019-08-16 16:33:37 +0200
commit2f147f272596306dc230a5085c5a5b21aae6ba3c (patch)
tree5b5c1f516917898bbd9359e1cf23aa6ce26aa587 /src/lib/eolian
parent8a8a833837f7217aea0a33f4f7afbb6edfb103c4 (diff)
eolian: rename is_class api for functions to is_static
Still needs restriction to classes only etc to be done later. Ref https://phab.enlightenment.org/T8118 Ref https://phab.enlightenment.org/T7675
Diffstat (limited to 'src/lib/eolian')
-rw-r--r--src/lib/eolian/Eolian.h4
-rw-r--r--src/lib/eolian/database_function_api.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/eolian/Eolian.h b/src/lib/eolian/Eolian.h
index 2c23da328e..970cc4c728 100644
--- a/src/lib/eolian/Eolian.h
+++ b/src/lib/eolian/Eolian.h
@@ -1741,14 +1741,14 @@ EAPI const Eolian_Function *eolian_class_function_by_name_get(const Eolian_Class
1741EAPI const Eolian_Implement *eolian_function_implement_get(const Eolian_Function *function_id); 1741EAPI const Eolian_Implement *eolian_function_implement_get(const Eolian_Function *function_id);
1742 1742
1743/* 1743/*
1744 * @brief Get whether a function is a class method/property. 1744 * @brief Get whether a function is a static method/property.
1745 * 1745 *
1746 * @param[in] function_id Id of the function 1746 * @param[in] function_id Id of the function
1747 * @return EINA_TRUE and EINA_FALSE respectively 1747 * @return EINA_TRUE and EINA_FALSE respectively
1748 * 1748 *
1749 * @ingroup Eolian 1749 * @ingroup Eolian
1750 */ 1750 */
1751EAPI Eina_Bool eolian_function_is_class(const Eolian_Function *function_id); 1751EAPI Eina_Bool eolian_function_is_static(const Eolian_Function *function_id);
1752 1752
1753/* 1753/*
1754 * @brief Get whether a function is beta. 1754 * @brief Get whether a function is beta.
diff --git a/src/lib/eolian/database_function_api.c b/src/lib/eolian/database_function_api.c
index 910f2b8462..104ac6e829 100644
--- a/src/lib/eolian/database_function_api.c
+++ b/src/lib/eolian/database_function_api.c
@@ -117,7 +117,7 @@ eolian_function_implement_get(const Eolian_Function *fid)
117} 117}
118 118
119EAPI Eina_Bool 119EAPI Eina_Bool
120eolian_function_is_class(const Eolian_Function *fid) 120eolian_function_is_static(const Eolian_Function *fid)
121{ 121{
122 EINA_SAFETY_ON_NULL_RETURN_VAL(fid, EINA_FALSE); 122 EINA_SAFETY_ON_NULL_RETURN_VAL(fid, EINA_FALSE);
123 return fid->is_static; 123 return fid->is_static;