#pragma once

// Thanks to Managarm: 
// https://github.com/managarm/managarm/blob/master/kernel/klibc/assert.h

void __assert_fail(const char *assertion, const char *file, unsigned int line,
		const char *function);

#define assert(assertion) ((void)((assertion) \
		|| (__assert_fail(#assertion, __FILE__, __LINE__, __func__), 0)))
