NativeList getters/setters

This commit is contained in:
Dr. Chat
2015-12-06 17:19:46 -06:00
committed by Ben Vanik
parent 89c408965e
commit a6322c7bf4
2 changed files with 10 additions and 1 deletions

View File

@@ -38,6 +38,11 @@ class NativeList {
uint32_t Shift();
bool HasPending();
uint32_t head() const { return head_; }
void set_head(uint32_t head) { head_ = head; }
void set_memory(Memory* mem) { memory_ = mem; }
private:
const uint32_t kInvalidPointer = 0xE0FE0FFF;