Skip to content

Instantly share code, notes, and snippets.

@yukurt
Created June 15, 2017 07:08
Show Gist options
  • Save yukurt/6113d4240c846cd4415ac5e245b03759 to your computer and use it in GitHub Desktop.
Save yukurt/6113d4240c846cd4415ac5e245b03759 to your computer and use it in GitHub Desktop.
output.txt
% ./test.lua
101
202
x=101, y=202
number
number
function
/***** struct metatable *****/
.type Point
__gc function: 0x7fced2eaf0a1
.get table: 0xf14c60
__tostring function: 0x7fced2eaf140
__newindex function: 0x7fced2eaef9f
.static table: 0xf15010
__eq function: 0x7fced2eaf29b
__index function: 0x7fced2eaeb93
.set table: 0xf15060
.fn table: 0xf150a0
.bases table: 0xf14c20
/***** struct fields *****/
y function: 0x7fced2eb1f9b
x function: 0x7fced2eb1b2f
/***** struct methods *****/
__disown function: 0x7fced2eaf234
greet function: 0x7fced2eb219a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment