Pascal/Delphi binding (#987)
* Pascal/Delphi binding Pascal/Delphi language binding * update credits
This commit is contained in:

committed by
Nguyen Anh Quynh

parent
c7be4a2160
commit
84220d8360
@ -88,6 +88,22 @@ template = {
|
||||
'comment_open': ' //',
|
||||
'comment_close': '',
|
||||
},
|
||||
'pascal': {
|
||||
'header': "// For Unicorn Engine. AUTO-GENERATED FILE, DO NOT EDIT\n\nunit %sConst;\n\ninterface\n\nconst",
|
||||
'footer': "\nimplementation\nend.",
|
||||
'line_format': ' UC_%s = %s;\n',
|
||||
'out_file': os.path.join('pascal', 'unicorn', '%sConst.pas'),
|
||||
# prefixes for constant filenames of all archs - case sensitive
|
||||
'arm.h': 'Arm',
|
||||
'arm64.h': 'Arm64',
|
||||
'mips.h': 'Mips',
|
||||
'x86.h': 'X86',
|
||||
'sparc.h': 'Sparc',
|
||||
'm68k.h': 'M68k',
|
||||
'unicorn.h': 'Unicorn',
|
||||
'comment_open': '//',
|
||||
'comment_close': '',
|
||||
},
|
||||
}
|
||||
|
||||
# markup for comments to be added to autogen files
|
||||
|
Reference in New Issue
Block a user