ThePhD
f37eedd6c2
reverse_iterator
2016-04-23 17:13:49 -04:00
ThePhD
863e8aa3ff
Shiny quick 'n' dirty tutorial -- variadic_args now is iterable -- fixed bug with transparent args in overload resolution -- added load
functions
2016-04-23 17:08:23 -04:00
ThePhD
006357430b
Shiny quick 'n' dirty tutorial -- variadic_args now is iterable -- fixed bug with transparent args in overload resolution -- added load
functions
2016-04-23 17:07:51 -04:00
ThePhD
69ad2b4c71
better static assert
2016-04-22 17:59:44 -04:00
ThePhD
1b6062404b
Demangling will kill us one day.
2016-04-22 17:39:54 -04:00
ThePhD
2cfe74cc7f
Better demangling
...
Userdata pushed before the usertype is pushed will not latch onto the new metatable if its added
Updated tests
2016-04-22 17:06:56 -04:00
ThePhD
96da27d565
Ensure argument transparency.
2016-04-18 08:27:30 -04:00
ThePhD
062d2281d5
bit32 was deprecated, apparently. Lovely.
2016-04-17 21:14:33 -04:00
ThePhD
9872c67b4f
jit lib and all
2016-04-17 21:00:24 -04:00
ThePhD
4123830e6c
Should probably introduce a is_push_pop_transparent
trait for things like is_this_state
...
2016-04-17 03:13:46 -04:00
ThePhD
4fb5edab59
today is not a good day
2016-04-17 02:59:09 -04:00
ThePhD
a585dd45ab
cout-style debugging... caaaan't wait....
2016-04-17 02:52:41 -04:00
ThePhD
4e029b7a00
-.- Macros.
2016-04-17 02:32:51 -04:00
ThePhD
90ea495d4c
"constexpr" my ass.
2016-04-17 02:26:18 -04:00
ThePhD
88155d44e0
sol::property is implemented for usertypes now
...
sol::this_state is a transparent argument that gets the current state at any position in any callback
sol::variadic_args allows a person to get something that can reference the "rest of the arguments", though it doesn't enforce that it has to be the last argument
Closes #57
Closes #59
Closes #60
2016-04-17 02:18:34 -04:00
ThePhD
f10988363c
implicit conversion operator to make using the framework easier.
2016-04-11 18:07:25 -04:00
ThePhD
30415845df
Indentation fixes
2016-04-11 02:15:06 -04:00
ThePhD
42f4455383
Allow for "static functions" to be registered on userdata like other parts of the framework, as well as self-contained structs and lambas.
...
sol::readonly for the ability to make a variable set on a userdata readonly.
No support for property yet: put on issues list for later
2016-04-11 01:02:43 -04:00
ThePhD
a9a1903339
improvements for the getting started tutorial based on iz's feedback.
2016-04-09 17:54:19 -04:00
ThePhD
fe8f19631e
Erase-a-var documentation.
2016-04-09 01:21:16 -04:00
ThePhD
8ac929f748
WIP
2016-04-09 01:07:03 -04:00
ThePhD
16007fa792
Documentation update, get_or
for proxies, and other goodies.
2016-04-09 00:55:12 -04:00
ThePhD
eb91320652
<_<
2016-04-07 05:53:33 -04:00
ThePhD
9de3ed48e1
>_>
2016-04-07 05:46:49 -04:00
ThePhD
4cdcac2001
Ensure compilation for 2 more function types
2016-04-07 05:43:44 -04:00
ThePhD
4854cc98a5
S I G H Luajit
2016-04-07 05:29:08 -04:00
ThePhD
9734577fdb
stack implementation, plus reference semantics within lua for usertypes/data now.
...
I hate my life.
I hate the projects I'm working on.
Closes #53
Closes #56
Closes #52
2016-04-07 05:21:49 -04:00
ThePhD
204bd5d5ed
This adds the additional safety features. stack_guard should probably be migrated into the tests too, since a lesser form is already used there.
...
Closes #54 #55
2016-04-04 02:28:39 -04:00
ThePhD
5efbae5798
Is pedantic safe to turn on? TIME TO FIND OUT.
2016-04-02 09:11:44 -04:00
ThePhD
c087ca30bf
.-. good thing we have travis CI
2016-03-31 16:33:21 -04:00
ThePhD
8862c65f0a
NOW we're truly feature complete. Sheesh, the work that this requires....
2016-03-31 16:16:07 -04:00
ThePhD
2d14cedc17
Eat shit, std::tuple
2016-03-31 12:12:04 -04:00
ThePhD
1fc0d0882c
Documentation updates.
2016-03-30 17:07:14 -04:00
ThePhD
7af3fc4ffa
Added nullopt pushing, optional pushing, improved tests
2016-03-30 16:52:51 -04:00
ThePhD
a683d615a5
compat for g fucking libgarbage
2016-03-30 03:33:44 -04:00
ThePhD
623f83547d
Enumeraatiions...
2016-03-30 03:25:22 -04:00
ThePhD
3f753b55b9
Enumeration warnings
2016-03-30 03:24:07 -04:00
ThePhD
3abcf7f086
Fuck you, clang: http://stackoverflow.com/a/8629943/5280922
2016-03-30 03:08:53 -04:00
ThePhD
aff7688620
mfw clang sucks
2016-03-30 02:35:13 -04:00
ThePhD
2826a1f8c0
unused q_q
2016-03-30 02:21:52 -04:00
ThePhD
2ee9967cdd
More unused parameters. .-.
2016-03-30 02:16:08 -04:00
ThePhD
20c4fee60e
unused parameter derp
2016-03-30 02:07:09 -04:00
ThePhD
92c388e30a
And nooow we're set for optional. Totally. With the get_or
implementation as well. Hopefully this will be all we need.
2016-03-30 01:40:40 -04:00
ThePhD
9804d7dd63
Merge remote-tracking branch 'zwparchman/develop' into develop
2016-03-30 00:34:05 -04:00
ThePhD
5acb33e2bc
full-on optional support. so much support it's coming through my eyeballs. Goodness.
...
Support for c_call wrapper to be a thing.
2016-03-30 00:31:18 -04:00
Zachary
6637f2e1b7
Added table::get_with_default method
...
There is now a sol::table::get_with_default method that takes 2
arguments, one being the key to search on, the other being the default.
If the key does not have a value in the table the default value is
returned.
2016-03-29 13:03:19 -05:00
ThePhD
cd1e085224
documentation cleanup
2016-03-25 10:58:33 -04:00
ThePhD
a0fdaaaa7d
Full-on optional support.
2016-03-25 10:39:54 -04:00
ThePhD
7efc577eea
Meow.
2016-03-25 05:43:37 -04:00
ThePhD
9aabf71896
Off by one errors .-.
2016-03-25 05:38:09 -04:00