Update for latest GDNative API changes

This commit is contained in:
Ruslan Mustakov 2017-11-13 10:18:25 +07:00
commit cc6bfa0045
3 changed files with 3086 additions and 1382 deletions

File diff suppressed because it is too large Load diff

View file

@ -817,8 +817,9 @@ proc godot_nativescript_frame() {.cdecl, exportc, dynlib.} =
setStackBottom((void*)(&`stackBottom`));
""".}
for _ in 1..10:
if asyncdispatch.hasPendingOperations():
poll(0)
if not asyncdispatch.hasPendingOperations():
break
poll(0)
GC_step(nimGcStepLengthUs, true, 0)
when not defined(release):