Split: Cleanly split spinscale off from SMO

Remaining areas to split off:
* The handleLoopException, exceptionInd logic.
* getThreadName().
This commit is contained in:
2026-02-22 17:38:53 -04:00
parent e6a924a3f7
commit a7521f3760
9 changed files with 320 additions and 106 deletions

View File

@@ -0,0 +1,23 @@
#ifndef RUNTIME_H
#define RUNTIME_H
namespace sscl {
struct CrtCommandLineArgs
{
CrtCommandLineArgs(int argc, char *argv[], char *envp[])
: argc(argc), argv(argv), envp(envp)
{}
int argc;
char **argv;
char **envp;
static void set(int argc, char *argv[], char *envp[]);
};
extern CrtCommandLineArgs crtCommandLineArgs;
} // namespace sscl
#endif // RUNTIME_H