Skip to content
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Lua_library_template/udtype_example/
Lua_library_template/udtype_example/

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

Sample library using the Lua libary template

Module has a single function 'type()' that is identical to the regular Lua type() function, except that it returns a second value in case of a userdata; its metatable name.

The first time a metatable is searched for it will be searched for in the registry, once collected it will be stored in a proxy table for quicker retrieval the next time it is requested.

LICENSE

Copyright 2012-2014, Thijs Schreijer. License is MIT/X11, the same as Lua itself

Example

see test and sample Lua scripts.