diff --git a/dub.sdl b/dub.sdl index 88d98e4..8e5061e 100644 --- a/dub.sdl +++ b/dub.sdl @@ -3,7 +3,7 @@ description "A high level, lightweight LUA library." authors "Bradley Chatha" copyright "Copyright © 2021, Bradley Chatha" license "MIT" -dependency "bindbc-lua" version="~>0.4.1" +dependency "bindbc-lua" version="~>0.5.0" dependency "taggedalgebraic" version="~>0.11.22" configuration "lua51" { targetType "library" diff --git a/dub.selections.json b/dub.selections.json index 34b4484..9f110f3 100644 --- a/dub.selections.json +++ b/dub.selections.json @@ -1,8 +1,8 @@ { "fileVersion": 1, "versions": { - "bindbc-loader": "0.3.2", - "bindbc-lua": "0.4.1", + "bindbc-loader": "1.0.1", + "bindbc-lua": "0.5.0", "taggedalgebraic": "0.11.22" } } diff --git a/source/lumars/function_.d b/source/lumars/function_.d index f29f0eb..84453b7 100644 --- a/source/lumars/function_.d +++ b/source/lumars/function_.d @@ -339,6 +339,7 @@ int luaCWrapperBasic(alias Func)(lua_State* state) nothrow + Example: + `luaState.register!(std.path.buildPath!(string[]))("buildPath")` + ++/ +extern(C) int luaCWrapperSmart(alias Func, LuaFuncWrapperType Type = LuaFuncWrapperType.isAliasFunc)(lua_State* state) nothrow { import std.format : format;