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.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/lib/eolian/Eolian.h b/src/lib/eolian/Eolian.h
index 8b19fd602b..9f99d361f1 100644
--- a/src/lib/eolian/Eolian.h
+++ b/src/lib/eolian/Eolian.h
@@ -236,6 +236,13 @@ typedef enum
236 236
237typedef enum 237typedef enum
238{ 238{
239 EOLIAN_C_TYPE_DEFAULT = 0,
240 EOLIAN_C_TYPE_PARAM,
241 EOLIAN_C_TYPE_RETURN
242} Eolian_C_Type_Type;
243
244typedef enum
245{
239 EOLIAN_EXPR_UNKNOWN = 0, 246 EOLIAN_EXPR_UNKNOWN = 0,
240 EOLIAN_EXPR_INT, 247 EOLIAN_EXPR_INT,
241 EOLIAN_EXPR_UINT, 248 EOLIAN_EXPR_UINT,
@@ -1883,6 +1890,7 @@ EAPI Eina_Bool eolian_type_is_ptr(const Eolian_Type *tp);
1883 * @brief Get the full C type name of the given type. 1890 * @brief Get the full C type name of the given type.
1884 * 1891 *
1885 * @param[in] tp the type. 1892 * @param[in] tp the type.
1893 * @param[in] ctype the context within which the C type string will be used.
1886 * @return The C type name assuming @c tp is not NULL. 1894 * @return The C type name assuming @c tp is not NULL.
1887 * 1895 *
1888 * You're responsible for the stringshare. 1896 * You're responsible for the stringshare.
@@ -1891,7 +1899,7 @@ EAPI Eina_Bool eolian_type_is_ptr(const Eolian_Type *tp);
1891 * 1899 *
1892 * @ingroup Eolian 1900 * @ingroup Eolian
1893 */ 1901 */
1894EAPI Eina_Stringshare *eolian_type_c_type_get(const Eolian_Type *tp); 1902EAPI Eina_Stringshare *eolian_type_c_type_get(const Eolian_Type *tp, Eolian_C_Type_Type ctype);
1895 1903
1896/* 1904/*
1897 * @brief Get the name of the given type. For regular or complex types, this 1905 * @brief Get the name of the given type. For regular or complex types, this