tools: Update translator tool for Doxygen comment format (see issue #3384)

Comments for translated classes/methods/functions must now take the form:

///
/// ... text ...
///
This commit is contained in:
Marshall Greenblatt
2022-08-31 22:01:37 -04:00
parent 00f34d5e68
commit 7b352159df
2 changed files with 13 additions and 26 deletions

View File

@ -163,7 +163,7 @@ extern "C" {
result += '\n' + format_comment(cls.get_comment(), '', translate_map)
result += 'typedef struct _'+classname+' {\n'+\
' ///\n'+\
' // Base structure.\n'+\
' /// Base structure.\n'+\
' ///\n'+\
' '+cls.get_parent_capi_name()+' base;\n'
funcs = cls.get_virtual_funcs()