mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +00:00
add lua dv::bytes support
This commit is contained in:
parent
9e8a33c411
commit
f7492ce449
2 changed files with 20 additions and 1 deletions
|
|
@ -61,5 +61,13 @@ namespace util {
|
|||
void resizeFast(size_t size) {
|
||||
length = size;
|
||||
}
|
||||
|
||||
const T* begin() const {
|
||||
return ptr.get();
|
||||
}
|
||||
|
||||
const T* end() const {
|
||||
return ptr.get() + size;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue