随笔分类 - Lua
摘要:> git clone -b 'v5.4.0' https://github.com/lua/lua.git > cd lua > vim CMakeLists.txt > cmake -DCMAKE_BUILD_TYPE=Release -S . -B build > cmake --build
阅读全文
摘要:参考手册 hello.dll #include "pch.h" #include "lua.hpp" #pragma comment(lib, "lua.lib") BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LP
阅读全文
摘要:##注释 -- 单行 --[[ 多行 ... --]] 基本类型和类型判断 print(type("Hello world")) --> string print(type([[ hello world ]])) --> string, 块字符串 print(type(10.4*3)) --> nu
阅读全文