Revert "Read-Only marked as protected" (#921)
Some checks are pending
Build coop / build-linux (push) Waiting to run
Build coop / build-steamos (push) Waiting to run
Build coop / build-windows-opengl (push) Waiting to run
Build coop / build-windows-directx (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run

This commit is contained in:
PeachyPeachSM64 2025-08-29 19:08:27 +02:00
parent 85ab20357d
commit 6f9c83d3e4
2 changed files with 655 additions and 657 deletions

View file

@ -768,10 +768,8 @@ def def_struct(struct):
ftype = translate_to_def(ftype)
if ftype.startswith('Pointer_') and ftype not in def_pointers:
def_pointers.append(ftype)
fscope = "protected" if fimmutable == "true" else "public"
s += '--- @field %s %s %s\n' % (fscope, fid, ftype)
s += '--- @field public %s %s\n' % (fid, ftype)
return s

File diff suppressed because it is too large Load diff