Files
ss/include/egg/prim/eggAssert.h
T
Elijah Thomas 26af4db82d update from dtk-template - clangd :) (#66)
* update from dtk-template and start work towards using clangd

* include <a> -> "a"

* Update build.yml

* remove/add non-trivial class in union warning
2024-10-16 15:36:02 -04:00

29 lines
645 B
C++

#ifndef EGG_ASSERT_H
#define EGG_ASSERT_H
#include "__va_arg.h"
#include "common.h"
namespace EGG {
// All this is guess
// TODO: Fixup funtions
namespace Assert {
typedef void (*AssertCallback)();
void wait(u32 time);
void system_vreport(const char *str, va_list list);
void system_report(const char *str, ...);
s32 getPeriodPos(const char *);
char *getMapSymbol();
bool isOutsideMEM1(u32 addr);
AssertCallback setAssertCallback(AssertCallback cb);
void system_halt(const char *file, u32 line, const char *msg, va_list list);
void assert(const char *file, u32 line, const char *msg, ...);
} // namespace Assert
} // namespace EGG
#endif