summaryrefslogtreecommitdiff
path: root/src/bin/eolian/types_generator.h
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2015-07-08 12:09:56 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2015-07-08 12:10:20 +0100
commit825349c7b8a7edb54d24b74356ec597f27e5d18a (patch)
tree70484c067c277bd64fbe50aa8a122696c7134b04 /src/bin/eolian/types_generator.h
parentef65806ce4dc7560d9027b951cf707e7aae4eb86 (diff)
eolian: improve function_full_c_name_get API
It's now generalized to work properly with legacy functions as well as correctly append suffixes. Thus, it can be easily used with the documentation generator and in other places. @feature
Diffstat (limited to '')
-rw-r--r--src/bin/eolian/types_generator.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/eolian/types_generator.h b/src/bin/eolian/types_generator.h
index 84eb15dd25..5096614217 100644
--- a/src/bin/eolian/types_generator.h
+++ b/src/bin/eolian/types_generator.h
@@ -9,11 +9,12 @@
9 * @param[in] eo_filename Eo filename 9 * @param[in] eo_filename Eo filename
10 * @param[inout] buf buffer to fill 10 * @param[inout] buf buffer to fill
11 * @param[in]full whether to generate full type definitions 11 * @param[in]full whether to generate full type definitions
12 * @param[in] use_legacy whether to use legacy names
12 * 13 *
13 * @return EINA_TRUE on success, EINA_FALSE on error. 14 * @return EINA_TRUE on success, EINA_FALSE on error.
14 * 15 *
15 */ 16 */
16Eina_Bool types_header_generate(const char *eo_filename, Eina_Strbuf *buf, Eina_Bool full); 17Eina_Bool types_header_generate(const char *eo_filename, Eina_Strbuf *buf, Eina_Bool full, Eina_Bool use_legacy);
17 18
18Eina_Bool types_class_typedef_generate(const char *eo_filename, Eina_Strbuf *buf); 19Eina_Bool types_class_typedef_generate(const char *eo_filename, Eina_Strbuf *buf);
19 20