D is coming to a town near you
Jesse Phillips
Jessekphillips+D at gmail.com
Thu Feb 21 09:13:25 PST 2013
On Thursday, 21 February 2013 at 01:50:27 UTC, 1100110 wrote:
> I was playing with LuaD (https://github.com/JakobOvrum/LuaD)
> and was disappointed to learn that the only way to call D
> functions from Lua is for the lua code to be 'inside' a D
> module. (string l = "lua goes here"; or similar)
I don't understand "inside a D module"
void someFun(string content) { ... }
lua["someFun"] = &someFun;
lua.doFile("SomeFileName.lua");
More information about the Digitalmars-d
mailing list