/*
* @brief Get an iterator to all aliases in the Eolian database.
*
+ * @param[in] unit the unit to look in
* @return the iterator or NULL
*
* Thanks to internal caching, this is an O(1) operation.
*
* @ingroup Eolian
*/
-EAPI Eina_Iterator *eolian_typedecl_all_aliases_get(void);
+EAPI Eina_Iterator *eolian_typedecl_all_aliases_get(const Eolian_Unit *unit);
/*
* @brief Get an iterator to all structs in the Eolian database.
*
+ * @param[in] unit the unit to look in
* @return the iterator or NULL
*
* Thanks to internal caching, this is an O(1) operation.
*
* @ingroup Eolian
*/
-EAPI Eina_Iterator *eolian_typedecl_all_structs_get(void);
+EAPI Eina_Iterator *eolian_typedecl_all_structs_get(const Eolian_Unit *unit);
/*
* @brief Get an iterator to all enums in the Eolian database.
*
+ * @param[in] unit the unit to look in
* @return the iterator or NULL
*
* Thanks to internal caching, this is an O(1) operation.
*
* @ingroup Eolian
*/
-EAPI Eina_Iterator *eolian_typedecl_all_enums_get(void);
+EAPI Eina_Iterator *eolian_typedecl_all_enums_get(const Eolian_Unit *unit);
/*
* @brief Get the type of a type declaration.
}
EAPI Eina_Iterator *
-eolian_typedecl_all_aliases_get(void)
+eolian_typedecl_all_aliases_get(const Eolian_Unit *unit EINA_UNUSED)
{
return (_aliases ? eina_hash_iterator_data_new(_aliases) : NULL);
}
EAPI Eina_Iterator *
-eolian_typedecl_all_structs_get(void)
+eolian_typedecl_all_structs_get(const Eolian_Unit *unit EINA_UNUSED)
{
return (_structs ? eina_hash_iterator_data_new(_structs) : NULL);
}
EAPI Eina_Iterator *
-eolian_typedecl_all_enums_get(void)
+eolian_typedecl_all_enums_get(const Eolian_Unit *unit EINA_UNUSED)
{
return (_enums ? eina_hash_iterator_data_new(_enums) : NULL);
}