Skip to content
This repository was archived by the owner on Jul 1, 2020. It is now read-only.

Commit 131038f

Browse files
Indent autogenerated code to help with code collapsing
1 parent 951c66b commit 131038f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

gen/cdef.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@
6969
#print("--[[ AUTOGENERATED FILE, DO NOT MODIFY ]]")
7070
print("local glc; do require('ffi').cdef [[")
7171
for line in cdefs:
72-
print(line)
73-
print("]]; glc = {")
72+
print("\t", line, sep="")
73+
print("\t]]; glc = {")
7474

7575
for k in defines.keys():
76-
print("%s = %s," % ("['"+k+"']", defines[k]))
76+
print("\t%s = %s," % ("['"+k+"']", defines[k]))
7777

7878
print("} end")

0 commit comments

Comments
 (0)