LuaFuncWeak

A weak reference to a lua function that currently exists on the LUA stack.

Notes: As with all weak references, while they're marginally more efficient, they're harder to use, and their pop and push functions are no-ops.

Constructors

this
this(LuaState* lua, int index)

Creates a new LuaFuncWeak that references a function at index.

Members

Functions

pop
void pop()

This function is a no-op and exists to make generic code easier to write.

push
int push()

This function is a no-op and exists to make generic code easier to write.

Mixins

__anonymous
mixin LuaFuncFuncs
Undocumented in source.

Properties

lua
LuaState* lua [@property getter]

Mixed In Members

From mixin LuaFuncFuncs

bind
auto bind()

Binds this lua function into a statically typed wrapper.

Meta