| 59 | } |
| 60 | |
| 61 | bool Lua::Memory::read(uintptr_t addr, void* return_value, int size) |
| 62 | { |
| 63 | return MemAccess::read(return_value, reinterpret_cast<void*>(addr), size) == (size_t)size; |
| 64 | } |
| 65 | |
| 66 | /* Define a macro to declare all read functions */ |
| 67 | #define READFUNCINT(NAME, TYPE) \ |
no outgoing calls
no test coverage detected