diff --git a/src/common/runtime.h b/src/common/runtime.h index 44f6e4cd7..93441e6d0 100644 --- a/src/common/runtime.h +++ b/src/common/runtime.h @@ -355,12 +355,12 @@ void luax_rawnewtype(lua_State *L, love::Type &type, love::Object *object); /** * Stores the value at the given index on the stack into a Variant object. */ -Variant luax_checkvariant(lua_State *L, int idx, bool allowuserdata = true, std::set *tableSet = nullptr); +LOVE_EXPORT Variant luax_checkvariant(lua_State *L, int idx, bool allowuserdata = true, std::set *tableSet = nullptr); /** * Pushes the contents of the given Variant index onto the stack. */ -void luax_pushvariant(lua_State *L, const Variant &v); +LOVE_EXPORT void luax_pushvariant(lua_State *L, const Variant &v); /** * Checks whether the value at idx is a certain type.