module Lua::StackMixin::Registry

Direct including types

Defined in:

lua/stack/registry.cr

Instance Method Summary

Instance Method Detail

def rawgeti(ref) #

Retrieves an object referred by reference.


[View source]
def reference(pos) #

Creates a reference in registry to object at pos is a stack. It copies a value to stack top, places top element to registry and removes it from the stack. Returns a reference.


[View source]
def unref(ref) #

Frees a reference and its associated object.


[View source]