view lua/luadyncall/test/test_dynport_cmath.lua @ 34:2682a627168c

- breaking changes: * restrict 'Z' conversions to immutable types * restrict 'p' to mutable types (and handles)
author Tassilo Philipp
date Sun, 12 Apr 2020 19:37:37 +0200
parents 0cfcc391201f
children
line wrap: on
line source

require"dynport"
local cmath = dynportImport("cmath", { })
print(cmath)
print( cmath.sqrt(144) )