- Removed Double Underscores for portability

This commit is contained in:
2025-07-26 21:13:32 -04:00
parent 7493b5252a
commit d02a51fd8d
51 changed files with 279 additions and 279 deletions

View File

@@ -16,15 +16,15 @@
// along with this program. If not, see <https://www.gnu.org/licenses/>.
// =====================================================================================================================
#include <fennec/lang/detail/__stdlib.h>
#include <fennec/lang/detail/_stdlib.h>
using assert_handler = void (*)(const char *, const char *, int , const char *);
void __assert_callback(const char* expression, const char* file, int line, const char* function, const char* description);
void _assert_callback(const char* expression, const char* file, int line, const char* function, const char* description);
void __assert_impl(const char* expression, const char* file, int line, const char* function, const char* description, bool halt)
void _assert_impl(const char* expression, const char* file, int line, const char* function, const char* description, bool halt)
{
__assert_callback(expression, file, line, function, description);
_assert_callback(expression, file, line, function, description);
if (halt) {
::abort();