1
0
Fork 0
mirror of https://github.com/notwa/mm synced 2024-11-04 22:39:02 -08:00

convenience function

This commit is contained in:
Connor Olding 2015-05-25 22:17:43 -07:00
parent 19a0e65352
commit 3ff9b9289b

View file

@ -100,6 +100,11 @@ function asciize(bytes)
return str
end
function hex(i)
-- convenience function for use in console
printf("%08X", i)
end
--[[
-- now we can just write:
handle = A(0x123456, 1)