diff options
author | Robin Gareus <robin@gareus.org> | 2016-02-21 19:25:42 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-02-22 22:06:47 +0100 |
commit | 12a58015a3810ed9df4661cee88be2563ea3db4e (patch) | |
tree | 13ff54b946696364f9f7ea9484522f2174908aca /libs/lua/LuaBridge/LuaBridge.h | |
parent | 5b40e073e9c973479c3d286a007c57e1e0fa3d0f (diff) |
customize LuaBridge
* introduce boost::shared_ptr support
* support enum & const
* allow to add non-class member functions
* STL iterators (vector, list, set, bitset & map)
* support reference arguments (framecnt_t&)
* add support for arrays of basic types (e.g. float*, int*)
* fix compiler warnings
Diffstat (limited to 'libs/lua/LuaBridge/LuaBridge.h')
-rw-r--r-- | libs/lua/LuaBridge/LuaBridge.h | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/libs/lua/LuaBridge/LuaBridge.h b/libs/lua/LuaBridge/LuaBridge.h index 1928e9a1f0..fb61340bcc 100644 --- a/libs/lua/LuaBridge/LuaBridge.h +++ b/libs/lua/LuaBridge/LuaBridge.h @@ -1,7 +1,8 @@ //------------------------------------------------------------------------------ /* https://github.com/vinniefalco/LuaBridge - + + Copyright 2016, Robin Gareus <robin@gareus.org> Copyright 2012, Vinnie Falco <vinnie.falco@gmail.com> Copyright 2007, Nathan Reed @@ -39,6 +40,17 @@ #include <string> #include <typeinfo> +#include <bitset> +#include <list> +#include <map> +#include <set> +#include <vector> + +#include <inttypes.h> +#include <boost/ref.hpp> +#include <boost/type_traits.hpp> +#include <boost/shared_ptr.hpp> + #define LUABRIDGE_MAJOR_VERSION 2 #define LUABRIDGE_MINOR_VERSION 0 #define LUABRIDGE_VERSION 200 @@ -137,6 +149,6 @@ inline void setHideMetatables (bool shouldHide) Security::setHideMetatables (shouldHide); } -} +} // end Namespace #endif |