From d9c2d065698641837bc75ded236b23d5aaa36fd4 Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 10 Sep 2020 20:55:10 +0800 Subject: *table string comment --- src/math/math.cpp | 37 ------------------------------------- src/math/math.h | 9 --------- 2 files changed, 46 deletions(-) delete mode 100644 src/math/math.cpp delete mode 100644 src/math/math.h (limited to 'src/math') diff --git a/src/math/math.cpp b/src/math/math.cpp deleted file mode 100644 index acb215f..0000000 --- a/src/math/math.cpp +++ /dev/null @@ -1,37 +0,0 @@ -#include "math.h" - -#pragma comment(lib, "lua.lib") - -#define MATH_API __declspec(dllexport) - -MATH_API int /*__cdecl*/ luaopen_math_vector(lua_State* L) -{ - lua_pushstring(L, "math.vector module"); - - return 1; -} - - -extern "C" MATH_API int /*__cdecl*/ luaopen_math_matrix(lua_State* L) -{ - lua_pushstring(L, "math.matrix module"); - - return 1; -} - -extern "C" MATH_API int /*__cdecl*/ luaopen_math_quaternion(lua_State* L) -{ - lua_pushstring(L, "math.quaternion module"); - - return 1; -} - -MATH_API void foo() -{ - -} - -class MATH_API Vector -{ - -}; diff --git a/src/math/math.h b/src/math/math.h deleted file mode 100644 index 494b725..0000000 --- a/src/math/math.h +++ /dev/null @@ -1,9 +0,0 @@ -#pragma once - -extern "C" { -#include "../lua51/lua.h" -#include "../lua51/lualib.h" -#include "../lua51/lauxlib.h" -} - -//#define MATH_API __declspec(dllexport) -- cgit v1.1-26-g67d0