Files
FBI-NH/source/core/ui/error_display.h
lifehackerhansol 4706e8af1c core: ui: rename error.{c,h} to avoid duplicate object creation
Since devkitPro can't make a proper build system, when it finds all the
source files to compile, it treats identical file names as if they're
the same code and skips compiling the other file.

This causes many duplicate symbol issues, error.c being the worst
offender. Just rename to `error_display`.
2024-04-23 18:25:28 -07:00

7 lines
512 B
C

#pragma once
typedef struct ui_view_s ui_view;
ui_view* error_display(void* data, void (*drawTop)(ui_view* view, void* data, float x1, float y1, float x2, float y2), const char* text, ...);
ui_view* error_display_res(void* data, void (* drawTop)(ui_view* view, void* data, float x1, float y1, float x2, float y2), Result result, const char* text, ...);
ui_view* error_display_errno(void* data, void (*drawTop)(ui_view* view, void* data, float x1, float y1, float x2, float y2), int err, const char* text, ...);