annotate lua/luadyncall/test/test_dynport_AppKit.lua @ 65:75a4082f0fce

- refactoring of deprecated/removed func PyEval_CallObject()
author Tassilo Philipp
date Sun, 19 May 2024 15:45: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 require"dynport"
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
2 AppKit = dynport("AppKit")
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
3 local success = AppKit.NSApplicationLoad()
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
4 print("success="..tostring(success))
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
5