From 78c6c5cde98e4bf42b03a790c9036aec1b419a0a Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Mon, 17 Nov 2025 10:41:35 -0500 Subject: [PATCH] xo-interpreter CVector for StackFrame reflection + OSX imgui edits --- include/xo/alloc/Object.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/xo/alloc/Object.hpp b/include/xo/alloc/Object.hpp index 5a981998..81f0611c 100644 --- a/include/xo/alloc/Object.hpp +++ b/include/xo/alloc/Object.hpp @@ -61,7 +61,9 @@ namespace xo { void assign_ptr(T * x) { ptr_ = x; } gc_ptr & operator=(const gc_ptr & x) { ptr_ = x.ptr(); return *this; } + T * operator->() const { return ptr_; } + T & operator*() const { return *ptr_; } private: T * ptr_ = nullptr;