- Added namespace
addFunction()
acceptingstd::function
(C++11 only). - Added class
addStaticFunction()
acceptingstd::function
(C++11 only). - Update the Doxygen documentation.
- Add brief API reference into the manual.
- Hide non-public
luabridge
members into thedetail
namespace. - Fix stack cleanup by
LuaRef::isInstance()
method.
- Introduce stack
isInstance()
method. - Introduce LuaRef
isInstance()
method. - Added a convenience
isInstance()
function template.
- Do not call the object destructor then its constructor throws.
- String stack get specialization doesn't change the stack value anymore.
- Added namespace
addProperty()
accepting C-functions. - Introduce enableExceptions function.
- Fixed registration continuation for an already registered class.
- Fixed registration continuation issues.
- Added class
addFunction()
accepting proxy functions (C++11 only). - Added class
addFunction()
acceptingstd::function
(C++11 only). - Added class
addProperty()
accepting functions with lua_State* parameter. - Added class
addProperty()
acceptingstd::function
(C++11 only). - Added stack traits for
std::unordered_map
(UnorderedMap.h
). - Now using lightuserdata for function pointers.
- Performance optimization.
- Refactored namespace and class handling.
- Refactored stack operations.
- Handle exceptions in stack operations.
- Added
operator==
andoperator!=
forRefCountedPtr
template.
- Support for
__stdcall
function pointers.
- Added stack traits for
std::vector
(Vector.h
). - Added stack traits for
std::list
(List.h
). - Added stack traits for
std::map
(Map.h
). - Added ability to use
LuaRef
objects as anstd::map
keys. - Fixed some manual errata.
- Numerous bug fixes.
- Feature Requests from Github issues.
- Added
LuaRef
object. - Rewritten documentation.
- Split code up into several files.
- Add Lua table and type representations (based on Nigel's code).
- Reformat documentation as external HTML file.
- Pass
nil
to Lua when a null pointer is passed for objects with shared lifetime.
- Option to hide metatables selectable at runtime, default to true.
addStaticMethod()
renamed toaddStaticFunction()
for consistency.addMethod()
renamed toaddFunction()
for consistency.addCFunction()
registrations.- Convert null pointers to and from
nil
. - Small performance increase in class pointer extraction.
- Backward compatibility with Lua 5.1.x.
- Explicit lifetime management models.
- Generalized containers.
- Single header distribution.