mirror of
https://github.com/Alcaro/Flips.git
synced 2026-09-04 08:44:33 -05:00
Rewrite this one to Arlib API, and wipe out moremem
This commit is contained in:
@@ -74,6 +74,7 @@ struct info {
|
||||
//Deprecated
|
||||
struct mem {
|
||||
mem() : ptr(NULL), len(0) {}
|
||||
mem(uint8_t* ptr, size_t len) : ptr(ptr), len(len) {}
|
||||
mem(arrayview<byte> v) : ptr((byte*)v.ptr()), len(v.size()) {}
|
||||
arrayvieww<byte> v() { return arrayvieww<byte>(ptr, len); }
|
||||
uint8_t * ptr;
|
||||
|
||||
Reference in New Issue
Block a user