mirror of
https://github.com/notwa/mm
synced 2024-11-04 22:39:02 -08:00
convenience function
This commit is contained in:
parent
19a0e65352
commit
3ff9b9289b
1 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue