diff options
author | Daniel Kolesa <d.kolesa@osg.samsung.com> | 2015-07-08 12:09:56 +0100 |
---|---|---|
committer | Daniel Kolesa <d.kolesa@osg.samsung.com> | 2015-07-08 12:10:20 +0100 |
commit | 825349c7b8a7edb54d24b74356ec597f27e5d18a (patch) | |
tree | 70484c067c277bd64fbe50aa8a122696c7134b04 /src/bin/eolian/types_generator.h | |
parent | ef65806ce4dc7560d9027b951cf707e7aae4eb86 (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.h | 3 |
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 | */ |
16 | Eina_Bool types_header_generate(const char *eo_filename, Eina_Strbuf *buf, Eina_Bool full); | 17 | Eina_Bool types_header_generate(const char *eo_filename, Eina_Strbuf *buf, Eina_Bool full, Eina_Bool use_legacy); |
17 | 18 | ||
18 | Eina_Bool types_class_typedef_generate(const char *eo_filename, Eina_Strbuf *buf); | 19 | Eina_Bool types_class_typedef_generate(const char *eo_filename, Eina_Strbuf *buf); |
19 | 20 | ||