#So I want to create a template...

1 messages · Page 1 of 1 (latest)

vestal fiber
#

That creates an extern(C) function, that can be passed to an external scripting engine like Lua, and will call a D function. How should I make something like that? Was looking into the paramTuple template, but I cannot find anything what it returns

keen heron
#

I have done that in my engine, when you call sendInterpreterFunction!MyFunc it will create the extern(C) function callable from lua

vestal fiber
#

Thank you, currently it compiles, soon I'll have to test it