From e188740c1819ff8bafb31667eba1ddc24b91092b Mon Sep 17 00:00:00 2001 From: Alex Szpakowski Date: Fri, 28 Feb 2020 22:17:20 -0400 Subject: [PATCH] Fix a link error on Windows --- src/common/runtime.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.