Commit Graph

2110 Commits

Author SHA1 Message Date
ThePhD
a7048aea45
fix up variables tutorial 2018-11-09 14:36:27 -08:00
ThePhD
091ca39438
update call 2018-11-09 10:53:46 -08:00
ThePhD
1f90b049f2
cut off containers if they are not specialization 2018-11-09 09:41:44 -08:00
ThePhD
f75d335988
Merge remote-tracking branch 'origin/develop' into sol3
# Conflicts:
#	include/single/sol/sol.hpp
#	include/single/sol/sol_forward.hpp
2018-11-09 08:26:27 -08:00
Patryk Czachurski
47bbe98e20 Regenerate the single header file 2018-10-28 14:11:27 -07:00
Patryk Czachurski
bd10d0e6c4 Add the clang check to load_result.hpp as well 2018-10-28 14:11:27 -07:00
Patryk Czachurski
2d47fc09c3 Inside sol::proxy::call, check if we're building with clang
If building with clang on Windows, it tries to imitate MSVC by specifying reasonable _MSC_VER defines.
This makes sol2 compile MSVC version of sol::proxy::call (without the "template" preffix) that is nevertheless not accepted by clang.

This commit fixes the problem by also checking if "__clang__" is defined.
2018-10-28 14:11:27 -07:00
syl
2a91f2416a Fix typo error in usertype.rst 2018-10-25 02:05:35 -07:00
ThePhD
a1951a79f2
Merge branch 'develop' into sol3 2018-10-25 01:53:46 -04:00
ThePhD
3f49a4e2de
Update README 2018-10-25 01:52:37 -04:00
The Phantom Derpstorm
2a68514241
Merge pull request #718 from jquesnelle/topointer-stack-fix
Pop stack element used as argument of lua_topointer
2018-10-17 13:26:51 -07:00
Jeffrey Quesnelle
2ebbe5de86
Pop the correct element that was pushed 2018-10-17 14:40:18 -04:00
Jeffrey Quesnelle
511765c734
Pop stack element used as argument of lua_topointer 2018-10-17 14:29:30 -04:00
ThePhD
cae67925a4
Merge branch 'develop' into sol3 2018-10-15 22:03:27 -04:00
ThePhD
929e3f27a0
update readme 2018-10-15 22:02:16 -04:00
ThePhD
037fa994f3
add new presentation about sol2/sol3 2018-10-15 21:53:56 -04:00
ThePhD
fa07e54e08
some small fixes for usertypes, still need a few more drastic improvements... 2018-10-15 21:53:16 -04:00
ThePhD
50f92be1c7
std decay, huh?
change base walk comparison to be less derp
2018-09-28 05:24:46 -07:00
ThePhD
015ef6a37a
usertype destructor needs to be of the right type for non-const values 2018-09-28 04:43:06 -07:00
ThePhD
72b9d91c14
ultra fast lua_Cfunction serialization, wew 2018-09-28 04:25:17 -07:00
ThePhD
75ff9b3658
change include guard 2018-09-28 03:53:40 -07:00
ThePhD
a70a166132
more minor fixes 2018-09-28 03:53:17 -07:00
ThePhD
f42a678d20
minor fixes 2018-09-28 00:55:47 -07:00
ThePhD
e56cbc1dc5
update sol3 tag 2018-09-27 23:55:09 -07:00
ThePhD
1335c67967
fix all the terrible includes 2018-09-27 23:50:05 -07:00
ThePhD
03979d2200
Merge branch 'develop' into sol3
# Conflicts:
#	include/single/sol/sol.hpp
#	include/sol/container_traits.hpp
2018-09-27 22:29:29 -07:00
ThePhD
0a9dc24f1f
first big sol3 push... tests not updated yet 2018-09-27 22:27:38 -07:00
The Phantom Derpstorm
4f974a7424
Merge pull request #701 from isvogor-foi/develop
fmt rename to fmt_ to avoid naming conflict with the spdlog library
2018-09-03 09:40:02 -04:00
isvogor
f438284a47 fmt rename to fmt_ to avoid naming conflict with the spdlog library 2018-09-03 15:36:37 +02:00
ThePhD
94c4b7c89e
Merge branch 'develop' into sol3 2018-08-10 20:54:15 -04:00
ThePhD
db927c5159
update CMake to have namespaced stuff 2018-08-10 20:53:31 -04:00
ThePhD
e7886facda
update single 2018-08-10 20:51:13 -04:00
ThePhD
c09e8309df update cmakelists, think about normalizing base_type from T everywhere... consistency and stuff, y'know? 2018-08-10 20:43:39 -04:00
ThePhD
0e321272e6
update docs a bit, think aobut changes to container_traits and friends... 2018-08-10 11:17:31 -04:00
ThePhD
cf1376cd06
Merge branch 'develop' into sol3
# Conflicts:
#	single/sol/sol.hpp
#	single/sol/sol_forward.hpp
2018-08-04 12:05:27 -04:00
ThePhD
7f1c2e3ecf
committing, with signing 2018-08-04 11:59:29 -04:00
ThePhD
daa9993a3e update single 2018-08-04 11:01:38 -04:00
ThePhD
92fa032ff4 fix arity accumulation 2018-08-04 11:00:31 -04:00
The Phantom Derpstorm
2b53d764ed
Merge pull request #691 from peterbell10/develop
Fix build when SOL_STRINGS_ARE_NUMBERS is set
2018-08-04 10:59:07 -04:00
peterbell10
06dfed4204 Fix build when SOL_STRINGS_ARE_NUMBERS is set 2018-08-04 15:01:44 +01:00
ThePhD
9306f319ef Merge branch 'develop' into sol3
# Conflicts:
#	single/sol/sol.hpp
#	single/sol/sol_forward.hpp
2018-07-29 14:39:43 -04:00
ThePhD
6638b300cc Update single and tag 2018-07-29 14:05:40 -04:00
ThePhD
d01d49aa7e update single 2018-07-29 13:21:32 -04:00
ThePhD
71847ff64a some traits changes 2018-07-29 13:20:01 -04:00
The Phantom Derpstorm
84ec59f313
Merge pull request #686 from OrfeasZ/hotfix/size-traits
Fix size trait detection for containers
2018-07-23 14:57:15 -04:00
Orfeas Zafeiris
7181a179c8 Update single 2018-07-23 17:59:17 +03:00
Orfeas Zafeiris
d34326492a Fix default args on single generation script 2018-07-23 17:58:27 +03:00
Orfeas Zafeiris
4c7a8663b5 Fix size trait detection for containers 2018-07-23 17:50:50 +03:00
NullCascade
bff48c91cc Fix a few typos in the threading doc. 2018-07-03 10:24:55 -04:00
The Phantom Derpstorm
e3ff28f58d
Merge pull request #679 from NullCascade/patch-1
Fix a few typos in the threading doc.
2018-06-30 16:31:58 -04:00