annotate lua/luadyncall/test/test_SDL.lua @ 43:1086ca649715

- fixed use after free issue with string handling (keeping strings as copy until after call)
author Tassilo Philipp
date Wed, 15 Apr 2020 21:58:13 +0200
parents 0cfcc391201f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
1 DG = require "ldynguess"
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
2 require "dynport"
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
3 if DG.os == "osx" then
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
4 dynport "cocoautil"
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
5 CocoaInit()
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
6 end
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
7