dl
dl_lua.h 文件参考

lua封装 更多...

#include <string>
#include <unordered_map>
#include <lua.hpp>
#include <LuaBridge/LuaBridge.h>
#include "dl_io.h"

浏览该文件的源代码.

class  dl::LuaScript
 lua脚本语言 更多...
 
struct  dl::LuaScript::Env
 

命名空间

namespace  dl
 

宏定义

#define LUA_USE_APICHECK
 
#define LUABRIDGE_DISABLE_CXX20_SPAN
 

变量

LuaScriptdl::g_lua
 

详细描述

lua封装

版本
1.0
作者
lveyou
日期
24-12-23
注解
例如 res/script/、as、mod 在 res/script/ui/main.as的脚本,模块名为 mod:ui/main

直接暴露lua与luabridge

在文件 dl_lua.h 中定义.

宏定义说明

◆ LUA_USE_APICHECK

#define LUA_USE_APICHECK

在文件 dl_lua.h20 行定义.

◆ LUABRIDGE_DISABLE_CXX20_SPAN

#define LUABRIDGE_DISABLE_CXX20_SPAN

在文件 dl_lua.h24 行定义.