File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed
class_implementation/classes Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -25,13 +25,15 @@ macro(add_header_macro TARGET_NAME YAML_FILE DEF_FILE GEN_HDR DEPENDS)
25
25
DEF_FILE ${DEF_FILE}
26
26
GEN_HDR ${GEN_HDR}
27
27
${DEPENDS}
28
+ ${ARGN}
28
29
)
29
30
else ()
30
31
add_gen_header(
31
32
${TARGET_NAME}
32
33
DEF_FILE ${DEF_FILE}
33
34
GEN_HDR ${GEN_HDR}
34
35
${DEPENDS}
36
+ ${ARGN}
35
37
)
36
38
endif ()
37
39
endmacro ()
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ def __str__(self):
26
26
attributes_str = " " .join (self .attributes )
27
27
arguments_str = ", " .join (self .arguments )
28
28
if attributes_str == "" :
29
- result = f"{ self .return_type } { self .name } ({ arguments_str } );"
29
+ result = f"{ self .return_type } { self .name } ({ arguments_str } ) __NOEXCEPT ;"
30
30
else :
31
- result = f"{ attributes_str } { self .return_type } { self .name } ({ arguments_str } )"
31
+ result = f"{ attributes_str } { self .return_type } { self .name } ({ arguments_str } ) __NOEXCEPT; "
32
32
return result
Original file line number Diff line number Diff line change @@ -60,24 +60,24 @@ def __str__(self):
60
60
current_guard = None
61
61
for function in self .functions :
62
62
if function .guard == None :
63
- content .append (str (function ) + " __NOEXCEPT;" )
63
+ content .append (str (function ))
64
64
content .append ("" )
65
65
else :
66
66
if current_guard == None :
67
67
current_guard = function .guard
68
68
content .append (f"#ifdef { current_guard } " )
69
- content .append (str (function ) + " __NOEXCEPT;" )
69
+ content .append (str (function ))
70
70
content .append ("" )
71
71
elif current_guard == function .guard :
72
- content .append (str (function ) + " __NOEXCEPT;" )
72
+ content .append (str (function ))
73
73
content .append ("" )
74
74
else :
75
75
content .pop ()
76
76
content .append (f"#endif // { current_guard } " )
77
77
content .append ("" )
78
78
current_guard = function .guard
79
79
content .append (f"#ifdef { current_guard } " )
80
- content .append (str (function ) + " __NOEXCEPT;" )
80
+ content .append (str (function ))
81
81
content .append ("" )
82
82
if current_guard != None :
83
83
content .pop ()
You can’t perform that action at this time.
0 commit comments