summaryrefslogtreecommitdiff
path: root/include/SSystem/SComponent/c_API.h
blob: 99feed4334195f6e8e2e323059ec89a69a407fe2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef C_API_H
#define C_API_H

#include "dolphin/types.h"

typedef void (*cAPIGph_Mthd)(void);

struct cAPIGph__Iface {
    void* mpGInfo;
    cAPIGph_Mthd mpCreate;
    cAPIGph_Mthd mpBeforeOfDraw;
    cAPIGph_Mthd mpAfterOfDraw;
    cAPIGph_Mthd mpPainter;
    cAPIGph_Mthd mpBlankingOn;
    cAPIGph_Mthd mpBlankingOff;
};

extern cAPIGph__Iface g_cAPI_Interface;

#endif /* C_API_H */