-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathACExport.h
More file actions
39 lines (26 loc) · 743 Bytes
/
ACExport.h
File metadata and controls
39 lines (26 loc) · 743 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#pragma once
#include "Python.h"
#include "pybind11/pybind11.h"
#include "Location.hpp"
#include "Definitions.hpp"
#include "APIdefs_Environment.h"
typedef struct {
void(*WriteReport_Alert)(const char* format, ...);
GSErrCode (*ACAPI_Environment)(API_EnvironmentID code, void* par1, void* par2, void* par3);
//-------- Application --------
IO::Location(*ApplicationPath)();
}ExportFuns;
#define APP_INFO_FLAGS_IS_INIT 0x01
#define APP_INFO_FLAGS_IS_REBOOT 0x02
#define APP_INFO_NAME_MAX 64
#define APP_INFO_VERSION 0x00000001
typedef struct {
UINT32 iVersion;
int ID;
char Name[APP_INFO_NAME_MAX];
UINT8 iFlags;
UINT32 iFunsSize;
PyThreadState *iState;
PyObject *iMain;
ExportFuns *iFuns;
}APP_Info;