replaced "static unsigned const" to "static const unsigned" so that SWIG can generate wrappers without a syntax error
This commit is contained in:
parent
92338f7051
commit
8a0c63cc64
6 changed files with 126 additions and 126 deletions
|
|
@ -122,8 +122,8 @@ def run_cli(
|
|||
for file in spirv_files:
|
||||
print(xxd_cmd)
|
||||
header_data = str(run_cmd(xxd_cmd, "-i", file))
|
||||
# Ensuring the variable is a static unsigned const
|
||||
header_data = header_data.replace("unsigned", "static unsigned const")
|
||||
# Ensuring the variable is a static const unsigned
|
||||
header_data = header_data.replace("unsigned", "static const unsigned")
|
||||
if is_windows:
|
||||
raw_file_name = file.split("\\")[-1]
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue