Refactors in UlxLuaValues, and add cursor-rewind to ReadLuaValues node.

This commit is contained in:
2026-03-04 20:32:05 -05:00
parent 6d018fc02b
commit db53935db9
4 changed files with 79 additions and 114 deletions

View File

@@ -1,5 +1,6 @@
#pragma once
#include "Common.h"
#include "CoreMinimal.h"
#include "lpx-basebuffer.hpp"
@@ -12,7 +13,7 @@ public:
using string_type = std::string;
using fvector_type = FVector;
using dvector_type = FVector;
using luavalue_type = BaseLuaValue<std::string>;
using luavalue_type = LuaValue;
void *basebuffer_malloc(size_t size) { return malloc(size); }
void basebuffer_free(void *p) { free(p); }
void clear_error_flags() { err_eof_on_read_ = err_string_too_long_ = err_integer_truncated_ = false; }