Make proxys const.

This commit is contained in:
Cody Goodson 2021-05-19 13:14:38 -05:00 committed by Charles Giessen
parent 85b17b40e7
commit cd0959f37e
2 changed files with 391 additions and 391 deletions

View File

@ -240,7 +240,7 @@ for level in core_commands:
if i < length: if i < length:
proxy_definition += ', ' proxy_definition += ', '
i += 1 i += 1
proxy_definition += ') {\n' proxy_definition += ') const {\n'
proxy_definition += '\t\t' proxy_definition += '\t\t'
if return_type != 'void': if return_type != 'void':
proxy_definition += 'return ' proxy_definition += 'return '
@ -349,7 +349,7 @@ for extension in extension_commands:
if i < length: if i < length:
proxy_definition += ', ' proxy_definition += ', '
i += 1 i += 1
proxy_definition += ') {\n' proxy_definition += ') const {\n'
proxy_definition += '\t\t' proxy_definition += '\t\t'
if return_type != 'void': if return_type != 'void':
proxy_definition += 'return ' proxy_definition += 'return '

File diff suppressed because it is too large Load Diff