JakobOvrum
JakobOvrum
Some work on this in 35bf547e8f3c6681ba9065f6b2b04ca6b9d2baec
Well excuuuuuse me, princess
It also gets cut off when overflow kicks in. Ideally only the symbol _name_ gets abbreviated, while the expand/collapse icon stays in place.
What version of `make` are you using? Make sure it's something like GNU make, not DigitalMars make, which comes with the DMD distribution. However, the makefile is written for DMD...
Provide the `LuaState` in the function's context, making it a delegate. Methods of doing that include using a nested function, anonymous function or aggregate member function.
I thought about it, but it would interfere with anyone wanting to push/get `LuaState` to/from Lua as-is. It could cause hard-to-detect bugs.
Attributes are attached to symbols/declarations, not types, so using a UDA won't work in the most basic case: ``` d void myFunc() @luaCallerState; lua["func"] = &myFunc; // RHS expression loses...
How come it's not possible for you to use a delegate? It should always be possible.
> Because the program has multiple LuaStates, and the code that needs to create a LuaObject can be called from any of them; I don't really see how that's a...
> I'm curious about this method, care to provide an example for it as well? Sure: ``` d class MyState { private: LuaState lua; public: this(LuaState lua) { this.lua =...