Skip to content

Commit 2a517c1

Browse files
committed
Python - fix load_il2cpp
1 parent 6794e82 commit 2a517c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bindings/python/TypeTreeGeneratorAPI/TypeTreeGenerator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def load_dll(self, dll: bytes):
100100

101101
def load_il2cpp(self, il2cpp: bytes, metadata: bytes):
102102
assert not DLL.TypeTreeGenerator_loadIL2CPP(
103-
self.ptr, il2cpp, metadata
103+
self.ptr, il2cpp, len(il2cpp), metadata, len(metadata)
104104
), "failed to load il2cpp"
105105

106106
def get_nodes_as_json(self, assembly: str, fullname: str) -> str:

0 commit comments

Comments
 (0)