diff options
| author | Thomas Voss <mail@thomasvoss.com> | 2026-03-10 17:35:13 +0100 |
|---|---|---|
| committer | Thomas Voss <mail@thomasvoss.com> | 2026-03-10 17:35:13 +0100 |
| commit | 71bc8c5b936c84c405f3961ab613ae69868fa50f (patch) | |
| tree | 856626d5ec71086de5b68f997b909947995a162d /oryxc | |
| parent | 57e3f53598059dd4553ee0f5933ca60a11ad6d91 (diff) | |
Mark funtions as public
Diffstat (limited to 'oryxc')
| -rw-r--r-- | oryxc/src/arena.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oryxc/src/arena.rs b/oryxc/src/arena.rs index 44c5529..cbbf485 100644 --- a/oryxc/src/arena.rs +++ b/oryxc/src/arena.rs @@ -179,7 +179,7 @@ impl<'a> LocalArena<'a> { return unsafe { slice::from_raw_parts_mut(ptr, len) }; } - fn mark(&self) -> Mark { + pub fn mark(&self) -> Mark { return Mark { blk: self.curblk.get(), beg: self.beg.get(), @@ -187,7 +187,7 @@ impl<'a> LocalArena<'a> { }; } - fn restore(&self, mark: Mark) { + pub fn restore(&self, mark: Mark) { self.curblk.set(mark.blk); self.beg.set(mark.beg); self.end.set(mark.end); |