Created
September 2, 2010 12:20
-
-
Save vrld/562209 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function listTable(tbl, prefix) | |
local prefix = prefix or "" | |
for i,t in pairs(tbl) do | |
if type(t) == "table" then listTable(t, prefix.."."..i) | |
elseif type(t) == "function" then print(prefix.."."..i) end | |
end | |
end | |
function love.load() | |
listTable(love, "love") | |
love.event.push('q') | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment