summaryrefslogtreecommitdiff
path: root/src/lib/eolian/Eolian.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/eolian/Eolian.h')
-rw-r--r--src/lib/eolian/Eolian.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/lib/eolian/Eolian.h b/src/lib/eolian/Eolian.h
index ad35d16..2f63366 100644
--- a/src/lib/eolian/Eolian.h
+++ b/src/lib/eolian/Eolian.h
@@ -1807,12 +1807,13 @@ EAPI const Eolian_Type *eolian_typedecl_base_type_get(const Eolian_Typedecl *tp)
1807 * If the given typedecl is an alias, it returns the result of 1807 * If the given typedecl is an alias, it returns the result of
1808 * eolian_type_aliased_base_get on its base type. Otherwise this returns NULL. 1808 * eolian_type_aliased_base_get on its base type. Otherwise this returns NULL.
1809 * 1809 *
1810 * @param[in] unit the unit to look in
1810 * @param[in] tp the type declaration. 1811 * @param[in] tp the type declaration.
1811 * @return the lowest alias base or the given type. 1812 * @return the lowest alias base or the given type.
1812 * 1813 *
1813 * @ingroup Eolian 1814 * @ingroup Eolian
1814 */ 1815 */
1815EAPI const Eolian_Type *eolian_typedecl_aliased_base_get(const Eolian_Typedecl *tp); 1816EAPI const Eolian_Type *eolian_typedecl_aliased_base_get(const Eolian_Unit *unit, const Eolian_Typedecl *tp);
1816 1817
1817/* 1818/*
1818 * @brief Check if a struct or alias type declaration is extern. 1819 * @brief Check if a struct or alias type declaration is extern.
@@ -1955,12 +1956,13 @@ EAPI const Eolian_Type *eolian_type_next_type_get(const Eolian_Type *tp);
1955 * 1956 *
1956 * This tries to look up alias, struct and enum in that order. 1957 * This tries to look up alias, struct and enum in that order.
1957 * 1958 *
1959 * @param[in] unit the unit to look in
1958 * @param[in] tp the type. 1960 * @param[in] tp the type.
1959 * @return the pointed to type decalration or NULL. 1961 * @return the pointed to type decalration or NULL.
1960 * 1962 *
1961 * @ingroup Eolian 1963 * @ingroup Eolian
1962 */ 1964 */
1963EAPI const Eolian_Typedecl *eolian_type_typedecl_get(const Eolian_Type *tp); 1965EAPI const Eolian_Typedecl *eolian_type_typedecl_get(const Eolian_Unit *unit, const Eolian_Type *tp);
1964 1966
1965/* 1967/*
1966 * @brief Get the lowest base type of an alias stack. 1968 * @brief Get the lowest base type of an alias stack.
@@ -1972,12 +1974,13 @@ EAPI const Eolian_Typedecl *eolian_type_typedecl_get(const Eolian_Type *tp);
1972 * type actually is while still having convenience. Keep in mind that this stops 1974 * type actually is while still having convenience. Keep in mind that this stops
1973 * if the found type is actually a pointer (has a ptr() on it). 1975 * if the found type is actually a pointer (has a ptr() on it).
1974 * 1976 *
1977 * @param[in] unit the unit to look in
1975 * @param[in] tp the type. 1978 * @param[in] tp the type.
1976 * @return the lowest alias base or the given type. 1979 * @return the lowest alias base or the given type.
1977 * 1980 *
1978 * @ingroup Eolian 1981 * @ingroup Eolian
1979 */ 1982 */
1980EAPI const Eolian_Type *eolian_type_aliased_base_get(const Eolian_Type *tp); 1983EAPI const Eolian_Type *eolian_type_aliased_base_get(const Eolian_Unit *unit, const Eolian_Type *tp);
1981 1984
1982/* 1985/*
1983 * @brief Get the class associated with an EOLIAN_TYPE_CLASS type. 1986 * @brief Get the class associated with an EOLIAN_TYPE_CLASS type.
@@ -2025,6 +2028,7 @@ EAPI Eina_Bool eolian_type_is_ptr(const Eolian_Type *tp);
2025/* 2028/*
2026 * @brief Get the full C type name of the given type. 2029 * @brief Get the full C type name of the given type.
2027 * 2030 *
2031 * @param[in] unit the unit to look in
2028 * @param[in] tp the type. 2032 * @param[in] tp the type.
2029 * @param[in] ctype the context within which the C type string will be used. 2033 * @param[in] ctype the context within which the C type string will be used.
2030 * @return The C type name assuming @c tp is not NULL. 2034 * @return The C type name assuming @c tp is not NULL.
@@ -2035,7 +2039,7 @@ EAPI Eina_Bool eolian_type_is_ptr(const Eolian_Type *tp);
2035 * 2039 *
2036 * @ingroup Eolian 2040 * @ingroup Eolian
2037 */ 2041 */
2038EAPI Eina_Stringshare *eolian_type_c_type_get(const Eolian_Type *tp, Eolian_C_Type_Type ctype); 2042EAPI Eina_Stringshare *eolian_type_c_type_get(const Eolian_Unit *unit, const Eolian_Type *tp, Eolian_C_Type_Type ctype);
2039 2043
2040/* 2044/*
2041 * @brief Get the name of the given type. For regular types, this is for 2045 * @brief Get the name of the given type. For regular types, this is for