annotate lua/luadyncall/test/test_dynload.lua @ 18:3bfef07b0cd9

- cleanup of non-working java binding, restart work, somewhat different interface
author cslag
date Wed, 30 Mar 2016 02:05:06 +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 "dynload"
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
2
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
3 x = dynload("GL|OpenGL")
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
4 print( dynsym(x, "glClear") )
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
5