diff options
author | Remko Tronçon <git@el-tramo.be> | 2014-01-18 09:27:41 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2014-01-18 10:44:42 (GMT) |
commit | d869b157f0d3eee5d4964878b3990df98a07e020 (patch) | |
tree | 4c01b3cef0a1653b8aebd80ac71ca7ede7076fff /Sluift/SluiftGlobals.h | |
parent | 85c46a0fcce3495fe94397d53791628a8ccc74c4 (diff) | |
download | swift-d869b157f0d3eee5d4964878b3990df98a07e020.zip swift-d869b157f0d3eee5d4964878b3990df98a07e020.tar.bz2 |
Sluift: Refactor global debug & timeout options.
Use regular table values on the sluift table.
Enable enabling tracing on a client after the fact.
Change-Id: Iaa2bea61bdadf0b8dec4951654c402b7133c1151
Diffstat (limited to 'Sluift/SluiftGlobals.h')
-rw-r--r-- | Sluift/SluiftGlobals.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Sluift/SluiftGlobals.h b/Sluift/SluiftGlobals.h index 0d8e637..5de7cfe 100644 --- a/Sluift/SluiftGlobals.h +++ b/Sluift/SluiftGlobals.h @@ -13,14 +13,17 @@ namespace Swift { struct SluiftGlobals { - SluiftGlobals() : networkFactories(&eventLoop), interruptRequested(0) {} + SluiftGlobals() : + networkFactories(&eventLoop), + coreLibIndex(-1), + moduleLibIndex(-1), + interruptRequested(0) {} - int timeout; - bool debug; LuaElementConvertors elementConvertor; SimpleEventLoop eventLoop; BoostNetworkFactories networkFactories; int coreLibIndex; + int moduleLibIndex; sig_atomic_t interruptRequested; }; } |