mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 06:53:43 +00:00
Emscripten port
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "CoreDefs.h"
|
||||
#include "VirtualDirectory.h"
|
||||
|
||||
#include <stdint.h>
|
||||
@@ -9,5 +10,18 @@ namespace PLSysCalls
|
||||
void Sleep(uint32_t ticks);
|
||||
void Exit(int exitCode);
|
||||
|
||||
#if GP_DEBUG_CONFIG && GP_ASYNCIFY_PARANOID
|
||||
class AsyncifyDisarmScope
|
||||
{
|
||||
public:
|
||||
AsyncifyDisarmScope();
|
||||
~AsyncifyDisarmScope();
|
||||
};
|
||||
|
||||
#define PL_ASYNCIFY_PARANOID_DISARM_FOR_SCOPE() PLSysCalls::AsyncifyDisarmScope disarmScope
|
||||
#else
|
||||
#define PL_ASYNCIFY_PARANOID_DISARM_FOR_SCOPE()
|
||||
#endif
|
||||
|
||||
int MainExitWrapper(int (*mainFunc)());
|
||||
}
|
||||
|
Reference in New Issue
Block a user