You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Resets state and prepares actual set coroutine for execution. same as ChangeCoroutine( old_coroutine ).
78
-
voidReset();
93
+
TEASCRIPT_COMPILE_MODE_INLINE voidReset();
79
94
80
95
/// \returns whether the coroutine is neither running, nor yet finished and no error occurred, so that in can be continued (e.g., for yielding more values)
/// Adds given ValueObjects as a tuple "args[idx]". Additionally adding an "argN" variable indicating the parameter amount. The coroutine must be suspended.
126
141
/// The ValueObjects for the parameters must be in shared state (created with ValueShared or a MakeShared() call issued).
127
142
/// \note this function is _not_ thread safe. Only one thread is allowed to call this function the _same_ time and the coroutine must not be running!
/// Adds given parameters as ValueObjects as a tuple "args[idx]". Additionally adding an "argN" variable indicating the parameter amount. The coroutine must be suspended.
131
146
/// \note this function is _not_ thread safe. Only one thread is allowed to call this function the _same_ time and the coroutine must not be running!
@@ -140,10 +155,6 @@ class CoroutineScriptEngine
140
155
} // namespace teascript
141
156
142
157
143
-
#if !defined(TEASCRIPT_DISABLE_HEADER_ONLY)
144
-
# defineTEASCRIPT_DISABLE_HEADER_ONLY0
145
-
#endif
146
-
147
158
// check for broken header only / not header only configurations.
/// enables or disables debug mode (default: off). This will also set the optimization level to Debug.
121
135
/// \note enabled debug mode will preserve the source code for the ASTNodes. Thus, the parsing will take slightly longer and the ASTNodes use more memory.
/// Registers the given callback function \param rCallback as name \param rName in the current scope.
@@ -162,7 +176,7 @@ class Engine : public EngineBase
162
176
/// \note The legacy form of the arg variables "arg1", "arg2", ... is available via the compile setting TEASCRIPT_ENGINE_USE_LEGACY_ARGS=1
163
177
/// \note \see EngineBase::ExecuteScript for further important details.
164
178
/// \throw May throw exception::load_file_error or any exception based on exception::parsing_error/compile_error/eval_error/runtime_error/bad_value_cast.
0 commit comments