This commit is contained in:
2026-02-04 19:37:03 +08:00
parent 5aa4efede7
commit 36d273e09f
11 changed files with 335 additions and 93 deletions

View File

@@ -23,6 +23,9 @@ public:
// Register native function
void register_function(const std::string &name, NativeFunction func);
// Register built-in class for any type (including user native types)
void register_builtin_class(const std::string &type_name, std::shared_ptr<ClassValue> klass);
// Get global variable
ValuePtr get_global(const std::string &name);