ruby binding added
This commit is contained in:
@@ -24,6 +24,22 @@ template = {
|
||||
'comment_open': '#',
|
||||
'comment_close': '',
|
||||
},
|
||||
'ruby': {
|
||||
'header': "# For Unicorn Engine. AUTO-GENERATED FILE, DO NOT EDIT [%s_const.rb]\n\nmodule Unicorn\n",
|
||||
'footer': "end",
|
||||
'line_format': '\tUC_%s = %s\n',
|
||||
'out_file': './ruby/unicorn_gem/lib/unicorn/%s_const.rb',
|
||||
# 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': '',
|
||||
},
|
||||
'go': {
|
||||
'header': "package unicorn\n// For Unicorn Engine. AUTO-GENERATED FILE, DO NOT EDIT [%s_const.go]\nconst (\n",
|
||||
'footer': ")",
|
||||
|
||||
Reference in New Issue
Block a user