Pointer.type readonly



The Pointer.type property gets the type of the data that the Pointer points to.

Notes

Example

--! luart-extensions import c -- create a C Pointer that points to a C string local pstr = c.Pointer(c.string("LuaRT")) -- prints the Pointer type print("C Pointer type : "..pstr.type) print("C Pointer content is : "..pstr.content)