Showing the changes to libraries/script-engine/src/Scriptable.cpp (1 of 11 files). Show all
Unified · Split
| @@ -11,12 +11,12 @@ · 10 unmodified lines | |||
| 11 | 11 | ||
| 12 | #include "Scriptable.h" | 12 | #include "Scriptable.h" |
| 13 | 13 | ||
| 14 | static thread_local ScriptContext* ScriptContextStore; | 14 | static thread_local ScriptContext* scriptContextStore; |
| 15 | 15 | ||
| 16 | ScriptContext* Scriptable::context() { | 16 | ScriptContext* Scriptable::context() { |
| 17 | return ScriptContextStore; | 17 | return scriptContextStore; |
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | void Scriptable::setContext(ScriptContext* context) { | 20 | void Scriptable::setContext(ScriptContext* context) { |
| 21 | ScriptContextStore = context; | 21 | scriptContextStore = context; |
| 22 | } | 22 | } |