Commit Graph

114 Commits

Author SHA1 Message Date
ThePhD
923c774d5e ability for functions that throw not bound by sol to catch and return lua errors that can be used by a handler function (for protected function). 2016-03-02 20:45:52 -05:00
Kevin Brightwell
7bcf0083f1 Fix examples, closes #26 2016-03-02 10:04:41 -05:00
ThePhD
427194bc92 Improved functions example and adjusted all errors for g++ conformance with -Wall -Werror 2016-02-10 12:12:09 -05:00
ThePhD
c97b3f2b81 Some spiffier table access syntax (and a stupid VC++ bug discovered along with it) 2016-02-01 03:53:51 -05:00
ThePhD
31e7857870 Merge remote-tracking branch 'root/develop' into develop
# Conflicts:
#	examples/usertype.cpp
#	sol.hpp
#	sol/debug.hpp
#	sol/default_construct.hpp
#	sol/demangle.hpp
#	sol/deprecate.hpp
#	sol/error.hpp
#	sol/function.hpp
#	sol/function_types.hpp
#	sol/object.hpp
#	sol/proxy.hpp
#	sol/reference.hpp
#	sol/resolve.hpp
#	sol/stack.hpp
#	sol/state.hpp
#	sol/table.hpp
#	sol/traits.hpp
#	sol/tuple.hpp
#	sol/types.hpp
#	sol/usertype.hpp
#	sol/usertype_traits.hpp
2016-01-24 12:16:38 -05:00
ThePhD
7515b8c4ad make sure examples compile 2015-12-01 13:46:32 -05:00
Rapptz
a5e24b4fa2 Fix userdata -> usertype in examples. 2015-07-21 19:26:35 -04:00
Rapptz
f6fb0fd7f0 Improve formatting of table example 2015-01-15 11:53:15 -05:00
mp4
c83d1941db added tutorial on reading in values from lua table to c++ 2015-01-11 00:28:30 -07:00
ThePhD
ad83552072 Remove bogus userdata<T> specialization; that's not longer how we're detecting userdata.
Fixed Readme example, removed bad uses of `local`
2014-09-06 22:11:16 -07:00
ThePhD
ef8fa7395f Updated examples and readme changes to reflect new API (userdata example kept erroneous info that userdata<T> must be kept alive) 2014-07-27 12:57:19 -07:00
Rapptz
06bda13c86 Add examples for userdata 2014-04-27 05:36:57 -04:00
Rapptz
5ff185f53b Add more examples 2014-01-18 22:59:59 -05:00
Rapptz
afe435910f Add basic examples directory 2013-12-16 11:17:33 -05:00