*
* @ingroup Eolian
*/
-Eina_Bool eolian_eo_file_parse(const char *filename);
+EAPI Eina_Bool eolian_eo_file_parse(const char *filename);
/*
* @brief Init Eolian.
*
* @ingroup Eolian
*/
-Eina_Bool eolian_init();
+EAPI Eina_Bool eolian_init();
/*
* @brief Shutdown Eolian.
*
* @ingroup Eolian
*/
-Eina_Bool eolian_shutdown();
+EAPI Eina_Bool eolian_shutdown();
/*
* @brief Show information about a given class.
*
* @ingroup Eolian
*/
-Eina_Bool eolian_show(const char *class_name);
+EAPI Eina_Bool eolian_show(const char *class_name);
/*
* @brief Returns the class type of the given class
*
* @ingroup Eolian
*/
-Eolian_Class_Type eolian_class_type_get(const char *class_name);
+EAPI Eolian_Class_Type eolian_class_type_get(const char *class_name);
/*
* @brief Returns the names list of all the classes stored into the database.
* @ingroup Eolian
*/
/* Returns the list of class names of the database */
-const Eina_List *eolian_class_names_list_get();
+EAPI const Eina_List *eolian_class_names_list_get();
/*
* @brief Indicates if class exists in the database.
*
* @ingroup Eolian
*/
-Eina_Bool eolian_class_exists(const char *class_name);
+EAPI Eina_Bool eolian_class_exists(const char *class_name);
/*
* @brief Returns the description of a class.
*
* @ingroup Eolian
*/
-const char*
-eolian_class_description_get(const char *class_name);
+EAPI const char *eolian_class_description_get(const char *class_name);
/*
* @brief Returns the legacy prefix of a class
*
* @ingroup Eolian
*/
-const char*
-eolian_class_legacy_prefix_get(const char *class_name);
+EAPI const char *eolian_class_legacy_prefix_get(const char *class_name);
/*
* @brief Returns the names list of the inherit classes of a class
*
* @ingroup Eolian
*/
-const Eina_List *eolian_class_inherits_list_get(const char *class_name);
+EAPI const Eina_List *eolian_class_inherits_list_get(const char *class_name);
/*
* @brief Returns a list of functions of a class.
*
* @ingroup Eolian
*/
-const Eina_List *eolian_class_functions_list_get(const char *class_name, Eolian_Function_Type func_type);
+EAPI const Eina_List *eolian_class_functions_list_get(const char *class_name, Eolian_Function_Type func_type);
/*
* @brief Returns the Function Id for the default constructor.
*
* @ingroup Eolian
*/
-Eolian_Function eolian_class_default_constructor_get(const char *class_name);
+EAPI Eolian_Function eolian_class_default_constructor_get(const char *class_name);
/*
* @brief Returns the Function Id for the default destructor.
*
* @ingroup Eolian
*/
-Eolian_Function eolian_class_default_destructor_get(const char *class_name);
+EAPI Eolian_Function eolian_class_default_destructor_get(const char *class_name);
/*
* @brief Returns the type of a function
*
* @ingroup Eolian
*/
-Eolian_Function_Type eolian_function_type_get(Eolian_Function function_id);
+EAPI Eolian_Function_Type eolian_function_type_get(Eolian_Function function_id);
/*
* @brief Returns the name of a function
*
* @ingroup Eolian
*/
-const char *eolian_function_name_get(Eolian_Function function_id);
+EAPI const char *eolian_function_name_get(Eolian_Function function_id);
/*
* @brief Indicates if a function of a certain type exists in a class.
*
* @ingroup Eolian
*/
-Eina_Bool eolian_class_function_exists(const char *classname, const char *func_name, Eolian_Function_Type f_type);
+EAPI Eina_Bool eolian_class_function_exists(const char *classname, const char *func_name, Eolian_Function_Type f_type);
/*
* @brief Returns a specific data for a function.
*
* @ingroup Eolian
*/
-const char *eolian_function_data_get(Eolian_Function function_id, const char *key);
+EAPI const char *eolian_function_data_get(Eolian_Function function_id, const char *key);
/*
* @brief Returns a specific description for a function.
*
* @ingroup Eolian
*/
-Eolian_Function_Parameter eolian_function_parameter_get(const Eolian_Function function_id, const char *param_name);
+EAPI Eolian_Function_Parameter eolian_function_parameter_get(const Eolian_Function function_id, const char *param_name);
/*
* @brief Returns a list of parameter handles for a function pointed by its id.
*
* @ingroup Eolian
*/
-const Eina_List *eolian_parameters_list_get(Eolian_Function function_id);
+EAPI const Eina_List *eolian_parameters_list_get(Eolian_Function function_id);
/*
* @brief Get information about a function parameter
*
* @ingroup Eolian
*/
-void eolian_parameter_information_get(Eolian_Function_Parameter param_desc, Eolian_Parameter_Dir *param_dir, const char **type, const char **name, const char **description);
+EAPI void eolian_parameter_information_get(Eolian_Function_Parameter param_desc, Eolian_Parameter_Dir *param_dir, const char **type, const char **name, const char **description);
/*
* @brief Get type of a parameter
*
* @ingroup Eolian
*/
-Eina_Stringshare* eolian_parameter_type_get(const Eolian_Function_Parameter param);
+EAPI Eina_Stringshare *eolian_parameter_type_get(const Eolian_Function_Parameter param);
/*
* @brief Get name of a parameter
*
* @ingroup Eolian
*/
-Eina_Stringshare* eolian_parameter_name_get(const Eolian_Function_Parameter param);
+EAPI Eina_Stringshare *eolian_parameter_name_get(const Eolian_Function_Parameter param);
/*
* @brief Indicates if a parameter has a const attribute.
*
* @ingroup Eolian
*/
-Eina_Bool eolian_parameter_get_const_attribute_get(Eolian_Function_Parameter param_desc);
+EAPI Eina_Bool eolian_parameter_get_const_attribute_get(Eolian_Function_Parameter param_desc);
/*
* @brief Get the return type of a function.
*
* @ingroup Eolian
*/
-const char *eolian_function_return_type_get(Eolian_Function function_id, Eolian_Function_Type ftype);
+EAPI const char *eolian_function_return_type_get(Eolian_Function function_id, Eolian_Function_Type ftype);
/*
* @brief Indicates if a function object is const.
*
* @ingroup Eolian
*/
-Eina_Bool eolian_function_object_is_const(Eolian_Function function_id);
+EAPI Eina_Bool eolian_function_object_is_const(Eolian_Function function_id);
/*
* @brief Get information about an overriding function (implement).
*
* @ingroup Eolian
*/
-Eina_Bool
-eolian_implement_information_get(Eolian_Implement impl,
+EAPI Eina_Bool eolian_implement_information_get(Eolian_Implement impl,
const char **class_name, const char **func_name, Eolian_Function_Type *type);
/*
*
* @ingroup Eolian
*/
-const Eina_List*
-eolian_class_implements_list_get(const char *class_name);
+EAPI const Eina_List *eolian_class_implements_list_get(const char *class_name);
/*
* @brief Get the list of events defined in a class.
*
* @ingroup Eolian
*/
-const Eina_List*
-eolian_class_events_list_get(const char *class_name);
+EAPI const Eina_List *eolian_class_events_list_get(const char *class_name);
/*
* @brief Get information about an event.
*
* @ingroup Eolian
*/
-Eina_Bool
-eolian_class_event_information_get(Eolian_Event event, const char **event_name, const char **event_desc);
+EAPI Eina_Bool eolian_class_event_information_get(Eolian_Event event, const char **event_name, const char **event_desc);
#ifdef __cplusplus
} // extern "C" {
return EINA_TRUE;
}
-Eolian_Class_Type
+EAPI Eolian_Class_Type
eolian_class_type_get(const char *class_name)
{
Class_desc *cl = _class_get(class_name);
return EINA_FALSE;
}
-const Eina_List *
+EAPI const Eina_List *
eolian_class_names_list_get()
{
Eina_List *list = NULL;
return list;
}
-Eina_Bool eolian_class_exists(const char *class_name)
+EAPI Eina_Bool eolian_class_exists(const char *class_name)
{
return !!_class_get(class_name);
}
return EINA_TRUE;
}
-const char*
+EAPI const char *
eolian_class_description_get(const char *class_name)
{
Class_desc *desc = _class_get(class_name);
if (desc) desc->description = eina_stringshare_add(description);
}
-const char*
+EAPI const char*
eolian_class_legacy_prefix_get(const char *class_name)
{
Class_desc *desc = _class_get(class_name);
if (desc) desc->legacy_prefix = eina_stringshare_add(legacy_prefix);
}
-const Eina_List *
+EAPI const Eina_List *
eolian_class_inherits_list_get(const char *class_name)
{
Class_desc *desc = _class_get(class_name);
return (desc?desc->inherits:NULL);
}
-const Eina_List*
+EAPI const Eina_List*
eolian_class_implements_list_get(const char *class_name)
{
Class_desc *desc = _class_get(class_name);
return EINA_TRUE;
}
-Eina_Bool
+EAPI Eina_Bool
eolian_implement_information_get(Eolian_Implement impl, const char **class_name, const char **func_name, Eolian_Function_Type *type)
{
_Implement_Desc *_impl = (_Implement_Desc *)impl;
return EINA_TRUE;
}
-Eina_Bool eolian_class_function_exists(const char *class_name, const char *func_name, Eolian_Function_Type f_type)
+EAPI Eina_Bool eolian_class_function_exists(const char *class_name, const char *func_name, Eolian_Function_Type f_type)
{
Eina_Bool ret = EINA_FALSE;
Eina_List *itr;
return ret;
}
-const Eina_List *
+EAPI const Eina_List *
eolian_class_functions_list_get(const char *class_name, Eolian_Function_Type foo_type)
{
Class_desc *desc = _class_get(class_name);
}
}
-Eolian_Function
+EAPI Eolian_Function
eolian_class_default_constructor_get(const char *class_name)
{
Class_desc *desc = _class_get(class_name);
return desc->dflt_ctor;
}
-Eolian_Function
+EAPI Eolian_Function
eolian_class_default_destructor_get(const char *class_name)
{
Class_desc *desc = _class_get(class_name);
return desc->dflt_dtor;
}
-Eolian_Function_Type
+EAPI Eolian_Function_Type
eolian_function_type_get(Eolian_Function function_id)
{
_Function_Id *fid = (_Function_Id *)function_id;
return fid->type;
}
-const char *
+EAPI const char *
eolian_function_name_get(Eolian_Function function_id)
{
_Function_Id *fid = (_Function_Id *)function_id;
}
}
-const char *
+EAPI const char *
eolian_function_data_get(Eolian_Function function_id, const char *key)
{
_Function_Id *fid = (_Function_Id *)function_id;
return (Eolian_Function_Parameter) param;
}
-Eolian_Function_Parameter
+EAPI Eolian_Function_Parameter
eolian_function_parameter_get(const Eolian_Function foo_id, const char *param_name)
{
_Function_Id *fid = (_Function_Id *)foo_id;
return NULL;
}
-Eina_Stringshare*
+EAPI Eina_Stringshare*
eolian_parameter_type_get(const Eolian_Function_Parameter param)
{
eina_stringshare_ref(((_Parameter_Desc*)param)->type);
return ((_Parameter_Desc*)param)->type;
}
-Eina_Stringshare*
+EAPI Eina_Stringshare*
eolian_parameter_name_get(const Eolian_Function_Parameter param)
{
eina_stringshare_ref(((_Parameter_Desc*)param)->name);
return ((_Parameter_Desc*)param)->name;
}
-const Eina_List *
+EAPI const Eina_List *
eolian_parameters_list_get(Eolian_Function foo_id)
{
_Function_Id *fid = (_Function_Id *)foo_id;
}
/* Get parameter information */
-void
+EAPI void
eolian_parameter_information_get(Eolian_Function_Parameter param_desc, Eolian_Parameter_Dir *param_dir, const char **type, const char **name, const char **description)
{
_Parameter_Desc *param = (_Parameter_Desc *)param_desc;
param->is_const = is_const;
}
-Eina_Bool
+EAPI Eina_Bool
eolian_parameter_get_const_attribute_get(Eolian_Function_Parameter param_desc)
{
_Parameter_Desc *param = (_Parameter_Desc *)param_desc;
database_function_data_set(foo_id, key, ret_type);
}
-const char *eolian_function_return_type_get(Eolian_Function foo_id, Eolian_Function_Type ftype)
+EAPI const char *eolian_function_return_type_get(Eolian_Function foo_id, Eolian_Function_Type ftype)
{
const char *key = NULL;
switch (ftype)
}
}
-Eina_Bool
+EAPI Eina_Bool
eolian_function_object_is_const(Eolian_Function foo_id)
{
_Function_Id *fid = (_Function_Id *)foo_id;
return EINA_TRUE;
}
-const Eina_List*
+EAPI const Eina_List*
eolian_class_events_list_get(const char *class_name)
{
Class_desc *desc = _class_get(class_name);
return (desc ? desc->events : NULL);
}
-Eina_Bool
+EAPI Eina_Bool
eolian_class_event_information_get(Eolian_Event event, const char **event_name, const char **event_comment)
{
_Event_Desc *_event_desc = (_Event_Desc *) event;
return EINA_TRUE;
}
-Eina_Bool eolian_show(const char *class_name)
+EAPI Eina_Bool eolian_show(const char *class_name)
{
if (!class_name)
eina_hash_foreach(_classes, _class_print, NULL);