tile/tile/init.h
2024-08-05 08:13:00 +00:00

21 lines
396 B
C++

#ifndef TILE_INIT_H
#define TILE_INIT_H
#pragma once
#include <functional>
namespace tile {
int Start(int argc, char **argv, std::function<int(int, char **)> cb,
bool single_thread = false, bool enable_crash_catch = true);
void WaitForQuitSignal();
bool CheckForQuitSignal();
void InitializeBasicRuntime();
void TerminateBasicRuntime();
} // namespace tile
#endif // TILE_INIT_H