view lua/luadyncall/test/test_dynstruct.lua @ 45:da553362fa7c

- forgot to bounce version for last commit on oct 27
author Tassilo Philipp
date Thu, 12 Nov 2020 19:56:33 +0100
parents 0cfcc391201f
children
line wrap: on
line source

require "dynstruct"

regstructinfo("Rect{cccc}x y z w;")
x = newdynstruct("Rect")
print(x.x)
x.x = -34
print(x.x)