diff options
| author | 3gg <3gg@shellblade.net> | 2025-07-14 08:15:24 -0700 |
|---|---|---|
| committer | 3gg <3gg@shellblade.net> | 2025-07-14 08:15:24 -0700 |
| commit | 39ab6c2bce7434e45c3957168278cacf9dcd19f5 (patch) | |
| tree | f44b6293aa021dd1598eac9998500bab8caaf083 /src | |
| parent | c97af692c3a6984428465ab0bc99d56c301b353e (diff) | |
Rename backend functions to snake case
Diffstat (limited to 'src')
| -rw-r--r-- | src/backend.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/backend.c b/src/backend.c index f610905..567146f 100644 --- a/src/backend.c +++ b/src/backend.c | |||
| @@ -31,7 +31,7 @@ typedef struct IsoBackend { | |||
| 31 | // dimensions. | 31 | // dimensions. |
| 32 | } IsoBackend; | 32 | } IsoBackend; |
| 33 | 33 | ||
| 34 | IsoBackend* IsoBackendInit(const IsoGfx* iso) { | 34 | IsoBackend* iso_backend_init(const IsoGfx* iso) { |
| 35 | assert(iso); | 35 | assert(iso); |
| 36 | 36 | ||
| 37 | IsoBackend* backend = calloc(1, sizeof(IsoBackend)); | 37 | IsoBackend* backend = calloc(1, sizeof(IsoBackend)); |
| @@ -95,7 +95,7 @@ cleanup: | |||
| 95 | return 0; | 95 | return 0; |
| 96 | } | 96 | } |
| 97 | 97 | ||
| 98 | void IsoBackendShutdown(IsoBackend** ppApp) { | 98 | void iso_backend_shutdown(IsoBackend** ppApp) { |
| 99 | assert(ppApp); | 99 | assert(ppApp); |
| 100 | 100 | ||
| 101 | IsoBackend* app = *ppApp; | 101 | IsoBackend* app = *ppApp; |
| @@ -106,7 +106,7 @@ void IsoBackendShutdown(IsoBackend** ppApp) { | |||
| 106 | gfx_destroy(&app->gfx); | 106 | gfx_destroy(&app->gfx); |
| 107 | } | 107 | } |
| 108 | 108 | ||
| 109 | void IsoBackendResizeWindow( | 109 | void iso_backend_resize_window( |
| 110 | IsoBackend* app, const IsoGfx* iso, int width, int height) { | 110 | IsoBackend* app, const IsoGfx* iso, int width, int height) { |
| 111 | assert(app); | 111 | assert(app); |
| 112 | assert(iso); | 112 | assert(iso); |
| @@ -135,7 +135,7 @@ void IsoBackendResizeWindow( | |||
| 135 | } | 135 | } |
| 136 | } | 136 | } |
| 137 | 137 | ||
| 138 | void IsoBackendRender(const IsoBackend* app, const IsoGfx* iso) { | 138 | void iso_backend_render(const IsoBackend* app, const IsoGfx* iso) { |
| 139 | assert(app); | 139 | assert(app); |
| 140 | assert(iso); | 140 | assert(iso); |
| 141 | 141 | ||
| @@ -162,7 +162,7 @@ void IsoBackendRender(const IsoBackend* app, const IsoGfx* iso) { | |||
| 162 | gfx_end_frame(gfxcore); | 162 | gfx_end_frame(gfxcore); |
| 163 | } | 163 | } |
| 164 | 164 | ||
| 165 | bool IsoBackendGetMousePosition( | 165 | bool iso_backend_get_mouse_position( |
| 166 | const IsoBackend* app, double window_x, double window_y, double* x, | 166 | const IsoBackend* app, double window_x, double window_y, double* x, |
| 167 | double* y) { | 167 | double* y) { |
| 168 | assert(app); | 168 | assert(app); |
