Search FAQ

debug.getregistry

Summary

Returns the registry table

Prototype

t = debug.getregistry ()


Description

Returns the registry table. This is a special table used by C functions to store information it wants to keep isolated from Lua functions.


table.foreach (debug.getregistry (), print)

  -->
  
FILE* table: 01B43F50
_LOADLIB table: 01B42BC0
mushclient.world table: 01B4BBC0
_LOADED table: 01B418C0
mushclient.document userdata: 017A8C58
pcre_regex_handle table: 01B4E830


See Also ...

Lua functions

debug.debug - Enters interactive debugging
debug.getfenv - Returns the environment of an object
debug.gethook - Returns the current hook settings
debug.getinfo - Returns a table with information about a function
debug.getlocal - Returns name and value of a local variable
debug.getmetatable - Returns the metatable of the given object
debug.getupvalue - Returns the name and value of an upvalue
debug.setfenv - Sets the environment of an object
debug.sethook - Sets a debug hook function
debug.setlocal - Sets the value of the local variable
debug.setmetatable - Sets the metatable for an object
debug.setupvalue - Sets an upvalue for a function
debug.traceback - Returns a string with a traceback of the stack call

Topics

Lua base functions
Lua bc (big number) functions
Lua bit manipulation functions
Lua coroutine functions
Lua debug functions
Lua io functions
Lua math functions
Lua os functions
Lua package functions
Lua PCRE regular expression functions
Lua script extensions
Lua string functions
Lua syntax
Lua table functions
Lua utilities
Scripting
Scripting callbacks - plugins

(Help topic: lua=debug.getregistry)

Documentation contents page


Search ...

Enter a search string to find matching documentation.

Search for:   

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.