gates_of_skeldal/platform/error.h
2025-05-01 21:21:22 +02:00

22 lines
316 B
C++

#pragma once
#ifdef __cplusplus
#include <string>
#include <exception>
std::string exception_to_string(const std::exception& e);
extern "C" {
#endif
void send_log_impl(const char *format, ...);
void display_error(const char *format, ...);
void throw_exception(const char *text);
#ifdef __cplusplus
}
#endif