Struct.type readonly



Gets the type of the Struct as a string.

Notes

Example

--! luart-extensions import c -- Defines a RECT Struct local RECT = c.Struct("iiii", "left", "top", "right", "bottom") -- Creates a new RECT local r = RECT() print("Type of RECT is "..RECT.type) print("Type of r is "..r.type)