diff options
-rw-r--r-- | deep_test/deep_test.cpp | 2 | ||||
-rw-r--r-- | docs/index.html | 4 | ||||
-rw-r--r-- | src/_pch.cpp | 2 | ||||
-rw-r--r-- | src/_pch.hpp (renamed from src/_pch.h) | 0 | ||||
-rw-r--r-- | src/cancel.cpp | 2 | ||||
-rw-r--r-- | src/compat.cpp | 2 | ||||
-rw-r--r-- | src/deep.cpp | 4 | ||||
-rw-r--r-- | src/deep.hpp (renamed from src/deep.h) | 0 | ||||
-rw-r--r-- | src/intercopycontext.cpp | 4 | ||||
-rw-r--r-- | src/keeper.cpp | 2 | ||||
-rw-r--r-- | src/lane.cpp | 2 | ||||
-rw-r--r-- | src/lanes.cpp | 6 | ||||
-rw-r--r-- | src/lanes.hpp (renamed from src/lanes.h) | 0 | ||||
-rw-r--r-- | src/linda.cpp | 2 | ||||
-rw-r--r-- | src/linda.h | 2 | ||||
-rw-r--r-- | src/lindafactory.cpp | 2 | ||||
-rw-r--r-- | src/lindafactory.h | 2 | ||||
-rw-r--r-- | src/nameof.cpp | 2 | ||||
-rw-r--r-- | src/state.cpp | 4 | ||||
-rw-r--r-- | src/threading.cpp | 2 | ||||
-rw-r--r-- | src/tools.cpp | 2 | ||||
-rw-r--r-- | src/tracker.cpp | 2 | ||||
-rw-r--r-- | src/universe.cpp | 4 |
23 files changed, 27 insertions, 27 deletions
diff --git a/deep_test/deep_test.cpp b/deep_test/deep_test.cpp index 43df188..8a866a9 100644 --- a/deep_test/deep_test.cpp +++ b/deep_test/deep_test.cpp | |||
@@ -1,4 +1,4 @@ | |||
1 | #include "lanes/src/_pch.h" | 1 | #include "lanes/src/_pch.hpp" |
2 | #include "lanes/src/deep.h" | 2 | #include "lanes/src/deep.h" |
3 | #include "lanes/src/compat.h" | 3 | #include "lanes/src/compat.h" |
4 | 4 | ||
diff --git a/docs/index.html b/docs/index.html index b95bc0e..edac9d8 100644 --- a/docs/index.html +++ b/docs/index.html | |||
@@ -196,7 +196,7 @@ | |||
196 | <table border="1" bgcolor="#FFFFE0" cellpadding="10" style="width:50%"> | 196 | <table border="1" bgcolor="#FFFFE0" cellpadding="10" style="width:50%"> |
197 | <tr> | 197 | <tr> |
198 | <td> | 198 | <td> |
199 | <pre> #include "lanes.h"</pre> | 199 | <pre> #include "lanes.hpp"</pre> |
200 | <br /> | 200 | <br /> |
201 | <pre> int load_lanes_lua(lua_State* L)</pre> | 201 | <pre> int load_lanes_lua(lua_State* L)</pre> |
202 | <pre> {</pre> | 202 | <pre> {</pre> |
@@ -1849,7 +1849,7 @@ static MyDeepFactory g_MyDeepFactory; | |||
1849 | </ul> | 1849 | </ul> |
1850 | Take a look at <tt>LindaFactory</tt> in <tt>lindafactory.cpp</tt> or <tt>MyDeepFactory</tt> in <tt>deep_test.cpp</tt>. | 1850 | Take a look at <tt>LindaFactory</tt> in <tt>lindafactory.cpp</tt> or <tt>MyDeepFactory</tt> in <tt>deep_test.cpp</tt>. |
1851 | </li> | 1851 | </li> |
1852 | <li>Include <tt>"_pch.h", "deep.h"</tt> and either link against Lanes or statically compile <tt>compat.cpp deep.cpp</tt> into your module if you want to avoid a runtime dependency for users that will use your module without Lanes. | 1852 | <li>Include <tt>"_pch.hpp", "deep.hpp"</tt> and either link against Lanes or statically compile <tt>compat.cpp deep.cpp</tt> into your module if you want to avoid a runtime dependency for users that will use your module without Lanes. |
1853 | <li>Instanciate your userdata using <tt>yourFactoryObject.pushDeepUserdata()</tt>, instead of the regular <tt>lua_newuserdata()</tt>. Given a <tt>factory</tt>, it sets up the support structures and returns a state-specific proxy userdata for accessing your data. This proxy can also be copied over to other lanes.</li> | 1853 | <li>Instanciate your userdata using <tt>yourFactoryObject.pushDeepUserdata()</tt>, instead of the regular <tt>lua_newuserdata()</tt>. Given a <tt>factory</tt>, it sets up the support structures and returns a state-specific proxy userdata for accessing your data. This proxy can also be copied over to other lanes.</li> |
1854 | <li>Accessing the deep userdata from your C code, use <tt>yourFactoryObject.toDeep()</tt> instead of the regular <tt>lua_touserdata()</tt>.</li> | 1854 | <li>Accessing the deep userdata from your C code, use <tt>yourFactoryObject.toDeep()</tt> instead of the regular <tt>lua_touserdata()</tt>.</li> |
1855 | <li>To push an existing proxy on the stack, use <tt>DeepPrelude::push(L)</tt>.</li> | 1855 | <li>To push an existing proxy on the stack, use <tt>DeepPrelude::push(L)</tt>.</li> |
diff --git a/src/_pch.cpp b/src/_pch.cpp index 4082771..9961a2c 100644 --- a/src/_pch.cpp +++ b/src/_pch.cpp | |||
@@ -1 +1 @@ | |||
#include "_pch.h" \ No newline at end of file | #include "_pch.hpp" \ No newline at end of file | ||
diff --git a/src/_pch.h b/src/_pch.hpp index 1c7b7dc..1c7b7dc 100644 --- a/src/_pch.h +++ b/src/_pch.hpp | |||
diff --git a/src/cancel.cpp b/src/cancel.cpp index ebb0c67..fda6dd5 100644 --- a/src/cancel.cpp +++ b/src/cancel.cpp | |||
@@ -32,7 +32,7 @@ THE SOFTWARE. | |||
32 | =============================================================================== | 32 | =============================================================================== |
33 | ]]-- | 33 | ]]-- |
34 | */ | 34 | */ |
35 | #include "_pch.h" | 35 | #include "_pch.hpp" |
36 | #include "cancel.h" | 36 | #include "cancel.h" |
37 | 37 | ||
38 | #include "debugspew.h" | 38 | #include "debugspew.h" |
diff --git a/src/compat.cpp b/src/compat.cpp index 04ac819..3dc7b56 100644 --- a/src/compat.cpp +++ b/src/compat.cpp | |||
@@ -1,4 +1,4 @@ | |||
1 | #include "_pch.h" | 1 | #include "_pch.hpp" |
2 | #include "compat.h" | 2 | #include "compat.h" |
3 | 3 | ||
4 | #include "macros_and_utils.h" | 4 | #include "macros_and_utils.h" |
diff --git a/src/deep.cpp b/src/deep.cpp index 278d25f..10d5fd5 100644 --- a/src/deep.cpp +++ b/src/deep.cpp | |||
@@ -31,8 +31,8 @@ THE SOFTWARE. | |||
31 | 31 | ||
32 | =============================================================================== | 32 | =============================================================================== |
33 | */ | 33 | */ |
34 | #include "_pch.h" | 34 | #include "_pch.hpp" |
35 | #include "deep.h" | 35 | #include "deep.hpp" |
36 | 36 | ||
37 | #include "tools.h" | 37 | #include "tools.h" |
38 | 38 | ||
diff --git a/src/deep.h b/src/deep.hpp index 0ea2712..0ea2712 100644 --- a/src/deep.h +++ b/src/deep.hpp | |||
diff --git a/src/intercopycontext.cpp b/src/intercopycontext.cpp index 06cafbd..073daff 100644 --- a/src/intercopycontext.cpp +++ b/src/intercopycontext.cpp | |||
@@ -23,11 +23,11 @@ THE SOFTWARE. | |||
23 | 23 | ||
24 | =============================================================================== | 24 | =============================================================================== |
25 | */ | 25 | */ |
26 | #include "_pch.h" | 26 | #include "_pch.hpp" |
27 | #include "intercopycontext.h" | 27 | #include "intercopycontext.h" |
28 | 28 | ||
29 | #include "debugspew.h" | 29 | #include "debugspew.h" |
30 | #include "deep.h" | 30 | #include "deep.hpp" |
31 | #include "keeper.h" | 31 | #include "keeper.h" |
32 | #include "lane.h" | 32 | #include "lane.h" |
33 | #include "linda.h" | 33 | #include "linda.h" |
diff --git a/src/keeper.cpp b/src/keeper.cpp index 8ab9681..517bd1c 100644 --- a/src/keeper.cpp +++ b/src/keeper.cpp | |||
@@ -37,7 +37,7 @@ | |||
37 | =============================================================================== | 37 | =============================================================================== |
38 | ]]-- | 38 | ]]-- |
39 | */ | 39 | */ |
40 | #include "_pch.h" | 40 | #include "_pch.hpp" |
41 | #include "keeper.h" | 41 | #include "keeper.h" |
42 | 42 | ||
43 | #include "intercopycontext.h" | 43 | #include "intercopycontext.h" |
diff --git a/src/lane.cpp b/src/lane.cpp index aaddf85..3a22a79 100644 --- a/src/lane.cpp +++ b/src/lane.cpp | |||
@@ -23,7 +23,7 @@ THE SOFTWARE. | |||
23 | 23 | ||
24 | =============================================================================== | 24 | =============================================================================== |
25 | */ | 25 | */ |
26 | #include "_pch.h" | 26 | #include "_pch.hpp" |
27 | #include "lane.h" | 27 | #include "lane.h" |
28 | 28 | ||
29 | #include "debugspew.h" | 29 | #include "debugspew.h" |
diff --git a/src/lanes.cpp b/src/lanes.cpp index 8c4ef61..5271a3c 100644 --- a/src/lanes.cpp +++ b/src/lanes.cpp | |||
@@ -79,10 +79,10 @@ THE SOFTWARE. | |||
79 | =============================================================================== | 79 | =============================================================================== |
80 | */ | 80 | */ |
81 | 81 | ||
82 | #include "_pch.h" | 82 | #include "_pch.hpp" |
83 | #include "lanes.h" | 83 | #include "lanes.hpp" |
84 | 84 | ||
85 | #include "deep.h" | 85 | #include "deep.hpp" |
86 | #include "intercopycontext.h" | 86 | #include "intercopycontext.h" |
87 | #include "keeper.h" | 87 | #include "keeper.h" |
88 | #include "lane.h" | 88 | #include "lane.h" |
diff --git a/src/lanes.h b/src/lanes.hpp index a3731e4..a3731e4 100644 --- a/src/lanes.h +++ b/src/lanes.hpp | |||
diff --git a/src/linda.cpp b/src/linda.cpp index 67526a7..aeca8d6 100644 --- a/src/linda.cpp +++ b/src/linda.cpp | |||
@@ -30,7 +30,7 @@ THE SOFTWARE. | |||
30 | =============================================================================== | 30 | =============================================================================== |
31 | */ | 31 | */ |
32 | 32 | ||
33 | #include "_pch.h" | 33 | #include "_pch.hpp" |
34 | #include "linda.h" | 34 | #include "linda.h" |
35 | 35 | ||
36 | #include "lane.h" | 36 | #include "lane.h" |
diff --git a/src/linda.h b/src/linda.h index 02b0514..583089d 100644 --- a/src/linda.h +++ b/src/linda.h | |||
@@ -1,7 +1,7 @@ | |||
1 | #pragma once | 1 | #pragma once |
2 | 2 | ||
3 | #include "cancel.h" | 3 | #include "cancel.h" |
4 | #include "deep.h" | 4 | #include "deep.hpp" |
5 | #include "universe.h" | 5 | #include "universe.h" |
6 | 6 | ||
7 | struct Keeper; | 7 | struct Keeper; |
diff --git a/src/lindafactory.cpp b/src/lindafactory.cpp index 11e2cff..1233edf 100644 --- a/src/lindafactory.cpp +++ b/src/lindafactory.cpp | |||
@@ -30,7 +30,7 @@ THE SOFTWARE. | |||
30 | =============================================================================== | 30 | =============================================================================== |
31 | */ | 31 | */ |
32 | 32 | ||
33 | #include "_pch.h" | 33 | #include "_pch.hpp" |
34 | #include "lindafactory.h" | 34 | #include "lindafactory.h" |
35 | 35 | ||
36 | #include "linda.h" | 36 | #include "linda.h" |
diff --git a/src/lindafactory.h b/src/lindafactory.h index 06eab44..ac42c10 100644 --- a/src/lindafactory.h +++ b/src/lindafactory.h | |||
@@ -1,6 +1,6 @@ | |||
1 | #pragma once | 1 | #pragma once |
2 | 2 | ||
3 | #include "deep.h" | 3 | #include "deep.hpp" |
4 | 4 | ||
5 | // ################################################################################################# | 5 | // ################################################################################################# |
6 | 6 | ||
diff --git a/src/nameof.cpp b/src/nameof.cpp index ef03820..1e2752d 100644 --- a/src/nameof.cpp +++ b/src/nameof.cpp | |||
@@ -24,7 +24,7 @@ THE SOFTWARE. | |||
24 | =============================================================================== | 24 | =============================================================================== |
25 | */ | 25 | */ |
26 | 26 | ||
27 | #include "_pch.h" | 27 | #include "_pch.hpp" |
28 | #include "nameof.h" | 28 | #include "nameof.h" |
29 | 29 | ||
30 | #include "tools.h" | 30 | #include "tools.h" |
diff --git a/src/state.cpp b/src/state.cpp index 2e551ed..cf28e2c 100644 --- a/src/state.cpp +++ b/src/state.cpp | |||
@@ -31,12 +31,12 @@ THE SOFTWARE. | |||
31 | =============================================================================== | 31 | =============================================================================== |
32 | */ | 32 | */ |
33 | 33 | ||
34 | #include "_pch.h" | 34 | #include "_pch.hpp" |
35 | #include "state.h" | 35 | #include "state.h" |
36 | 36 | ||
37 | #include "intercopycontext.h" | 37 | #include "intercopycontext.h" |
38 | #include "lane.h" | 38 | #include "lane.h" |
39 | #include "lanes.h" | 39 | #include "lanes.hpp" |
40 | #include "tools.h" | 40 | #include "tools.h" |
41 | #include "universe.h" | 41 | #include "universe.h" |
42 | 42 | ||
diff --git a/src/threading.cpp b/src/threading.cpp index ad3d3e4..bc0bc23 100644 --- a/src/threading.cpp +++ b/src/threading.cpp | |||
@@ -34,7 +34,7 @@ THE SOFTWARE. | |||
34 | 34 | ||
35 | =============================================================================== | 35 | =============================================================================== |
36 | */ | 36 | */ |
37 | #include "_pch.h" | 37 | #include "_pch.hpp" |
38 | 38 | ||
39 | #if defined(__linux__) | 39 | #if defined(__linux__) |
40 | 40 | ||
diff --git a/src/tools.cpp b/src/tools.cpp index 34b9faf..80a9f0b 100644 --- a/src/tools.cpp +++ b/src/tools.cpp | |||
@@ -31,7 +31,7 @@ THE SOFTWARE. | |||
31 | 31 | ||
32 | =============================================================================== | 32 | =============================================================================== |
33 | */ | 33 | */ |
34 | #include "_pch.h" | 34 | #include "_pch.hpp" |
35 | 35 | ||
36 | #include "tools.h" | 36 | #include "tools.h" |
37 | 37 | ||
diff --git a/src/tracker.cpp b/src/tracker.cpp index 16c9c55..83c2261 100644 --- a/src/tracker.cpp +++ b/src/tracker.cpp | |||
@@ -23,7 +23,7 @@ THE SOFTWARE. | |||
23 | 23 | ||
24 | =============================================================================== | 24 | =============================================================================== |
25 | */ | 25 | */ |
26 | #include "_pch.h" | 26 | #include "_pch.hpp" |
27 | #include "tracker.h" | 27 | #include "tracker.h" |
28 | 28 | ||
29 | #include "lane.h" | 29 | #include "lane.h" |
diff --git a/src/universe.cpp b/src/universe.cpp index 5ee2255..96ef34d 100644 --- a/src/universe.cpp +++ b/src/universe.cpp | |||
@@ -28,10 +28,10 @@ THE SOFTWARE. | |||
28 | =============================================================================== | 28 | =============================================================================== |
29 | */ | 29 | */ |
30 | 30 | ||
31 | #include "_pch.h" | 31 | #include "_pch.hpp" |
32 | #include "universe.h" | 32 | #include "universe.h" |
33 | 33 | ||
34 | #include "deep.h" | 34 | #include "deep.hpp" |
35 | #include "intercopycontext.h" | 35 | #include "intercopycontext.h" |
36 | #include "keeper.h" | 36 | #include "keeper.h" |
37 | #include "lane.h" | 37 | #include "lane.h" |