internal/ui: rename ebitengine_Init -> ebitengine_Initialize

This commit is contained in:
Hajime Hoshi 2023-01-03 19:23:38 +09:00
parent 0e0205b2d0
commit 723a44a822
3 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@
#include "init_nintendosdk.h" #include "init_nintendosdk.h"
extern "C" NativeWindowType ebitengine_Init() {} extern "C" NativeWindowType ebitengine_Initialize() {}
extern "C" void ebitengine_InitializeProfiler() {} extern "C" void ebitengine_InitializeProfiler() {}

View File

@ -20,7 +20,7 @@
extern "C" { extern "C" {
#endif #endif
NativeWindowType ebitengine_Init(); NativeWindowType ebitengine_Initialize();
void ebitengine_InitializeProfiler(); void ebitengine_InitializeProfiler();
void ebitengine_RecordProfilerHeartbeat(); void ebitengine_RecordProfilerHeartbeat();

View File

@ -71,7 +71,7 @@ func (u *userInterfaceImpl) Run(game Game, options *RunOptions) error {
} }
u.graphicsDriver = g u.graphicsDriver = g
n := C.ebitengine_Init() n := C.ebitengine_Initialize()
if err := u.egl.init(n); err != nil { if err := u.egl.init(n); err != nil {
return err return err
} }