2016-09-21 06:29:28 -07:00
|
|
|
#ifndef EOLIAN_GEN_DOCS_H
|
|
|
|
#define EOLIAN_GEN_DOCS_H
|
|
|
|
|
|
|
|
#include "main.h"
|
|
|
|
|
|
|
|
/*
|
|
|
|
* @brief Generate standard documentation
|
|
|
|
*
|
|
|
|
* @param[in] doc the documentation
|
|
|
|
* @param[in] group the group to use (can be NULL)
|
|
|
|
* @param[in] indent by how many spaces to indent the comment from second line
|
|
|
|
*
|
|
|
|
* @return A documentation comment
|
|
|
|
*
|
|
|
|
*/
|
2019-04-18 09:10:45 -07:00
|
|
|
Eina_Strbuf *eo_gen_docs_full_gen(const Eolian_State *state, const Eolian_Documentation *doc, const char *group, int indent);
|
2016-09-21 06:29:28 -07:00
|
|
|
|
|
|
|
/*
|
|
|
|
* @brief Generate function documentation
|
|
|
|
*
|
|
|
|
* @param[in] fid te function
|
|
|
|
* @param[in] type the function type (either METHOD, PROP_GET, PROP_SET)
|
|
|
|
* @param[in] indent by how many spaces to indent the comment from second line
|
|
|
|
*
|
|
|
|
* @return A documentation comment
|
|
|
|
*
|
|
|
|
*/
|
2019-03-08 06:58:52 -08:00
|
|
|
Eina_Strbuf *eo_gen_docs_func_gen(const Eolian_State *state, const Eolian_Function *fid, Eolian_Function_Type ftype, int indent);
|
2016-09-21 06:29:28 -07:00
|
|
|
|
|
|
|
/*
|
|
|
|
* @brief Generate event documentation
|
|
|
|
*
|
|
|
|
* @param[in] ev the event
|
|
|
|
* @param[in] group the group to use (can be NULL);
|
|
|
|
*
|
|
|
|
* @return A documentation comment
|
|
|
|
*
|
|
|
|
*/
|
2018-04-18 07:34:49 -07:00
|
|
|
Eina_Strbuf *eo_gen_docs_event_gen(const Eolian_State *state, const Eolian_Event *ev, const char *group);
|
2016-09-21 06:29:28 -07:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|