view lua/luadyncall/test/test_dynstruct.lua @ 64:6c494834e52a

version bump
author Tassilo Philipp
date Sun, 19 May 2024 15:35:03 +0200
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)