2021-03-28 22:49:05 +02:00
|
|
|
#ifndef C_API_H
|
|
|
|
|
#define C_API_H
|
|
|
|
|
|
2021-04-01 00:15:05 +02:00
|
|
|
typedef void (*cAPIGph_Mthd)(void);
|
|
|
|
|
|
2023-12-25 07:31:05 -08:00
|
|
|
struct cAPI_Interface {
|
|
|
|
|
/* 0x00 */ cAPIGph_Mthd createMtd;
|
|
|
|
|
/* 0x04 */ cAPIGph_Mthd beforeOfDrawMtd;
|
|
|
|
|
/* 0x08 */ cAPIGph_Mthd afterOfDrawMtd;
|
|
|
|
|
/* 0x0C */ cAPIGph_Mthd painterMtd;
|
|
|
|
|
/* 0x10 */ cAPIGph_Mthd blankingOnMtd;
|
|
|
|
|
/* 0x14 */ cAPIGph_Mthd blankingOffMtd;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
extern cAPI_Interface g_cAPI_Interface;
|
2021-04-01 00:15:05 +02:00
|
|
|
|
2021-03-28 22:49:05 +02:00
|
|
|
#endif /* C_API_H */
|