diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2026-04-01 19:38:51 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2026-04-01 19:38:51 -0400 |
| commit | 765f88e4f3a804418fb19aeb33f4f7cf7a1dd35d (patch) | |
| tree | 0654937274294a6762475573fc5921446f0bcf84 /src/SSystem/SComponent/c_API.cpp | |
| parent | 36c9a1e4b43b0d89c4faa5b9e5865abb771cadb5 (diff) | |
Move extern forward decls from cpps to headers
Diffstat (limited to 'src/SSystem/SComponent/c_API.cpp')
| -rw-r--r-- | src/SSystem/SComponent/c_API.cpp | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/src/SSystem/SComponent/c_API.cpp b/src/SSystem/SComponent/c_API.cpp index 2f8f5e8a..ea346096 100644 --- a/src/SSystem/SComponent/c_API.cpp +++ b/src/SSystem/SComponent/c_API.cpp @@ -1,15 +1,13 @@ #include "SSystem/SComponent/c_API.h" #include "dolphin/types.h" - -extern u8 g_mDoGph_graphicInfo; -extern bool mDoGph_Create(); -extern bool mDoGph_BeforeOfDraw(); -extern bool mDoGph_AfterOfDraw(); -extern bool mDoGph_Painter(); -extern bool mDoGph_BlankingON(); -extern bool mDoGph_BlankingOFF(); +#include "m_Do/m_Do_graphic.h" cAPIGph__Iface g_cAPI_Interface = { - &g_mDoGph_graphicInfo, mDoGph_Create, mDoGph_BeforeOfDraw, mDoGph_AfterOfDraw, - mDoGph_Painter, mDoGph_BlankingON, mDoGph_BlankingOFF, + /* mpGInfo */ &g_mDoGph_graphicInfo, + /* mpCreate */ (cAPIGph_Mthd)mDoGph_Create, + /* mpBeforeOfDraw */ (cAPIGph_Mthd)mDoGph_BeforeOfDraw, + /* mpAfterOfDraw */ (cAPIGph_Mthd)mDoGph_AfterOfDraw, + /* mpPainter */ (cAPIGph_Mthd)mDoGph_Painter, + /* mpBlankingOn */ (cAPIGph_Mthd)mDoGph_BlankingON, + /* mpBlankingOff */ (cAPIGph_Mthd)mDoGph_BlankingOFF, }; |
