Print some info on exceptions.

This commit is contained in:
2024-01-19 00:06:00 +01:00
parent 9f1f1e80f2
commit 355b1641bd
6 changed files with 477 additions and 191 deletions

View File

@@ -5,6 +5,7 @@
#define BAD_APPLE_OS_STDIO_H_INCLUDED
#include <stdarg.h>
#include <stddef.h>
#include "./detail/common.h"
BA_EXTERN_C_BEGIN
@@ -13,6 +14,8 @@ int putchar(int chr) BA_CXX_NOEXCEPT;
int puts(const char* str) BA_CXX_NOEXCEPT;
int printf(const char* format, ...) BA_CXX_NOEXCEPT __attribute__((format(printf, 1, 2)));
int vprintf(const char* format, va_list vlist) BA_CXX_NOEXCEPT;
int snprintf(char* buffer, size_t bufferSize, const char* format, ...) BA_CXX_NOEXCEPT __attribute__((format(printf, 3, 4)));
int vsnprintf(char* buffer, size_t bufferSize, const char* format, va_list vlist) BA_CXX_NOEXCEPT;
BA_EXTERN_C_END