mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 00:14:32 -08:00
Correct the name of 'modules' folder to 'libraries'
This commit is contained in:
16
src/libraries/kutil/assert.cpp
Normal file
16
src/libraries/kutil/assert.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#include "assert.h"
|
||||
|
||||
namespace kutil {
|
||||
|
||||
assert_callback __kernel_assert_p = nullptr;
|
||||
|
||||
assert_callback
|
||||
assert_set_callback(assert_callback f)
|
||||
{
|
||||
assert_callback old = __kernel_assert_p;
|
||||
__kernel_assert_p = f;
|
||||
return old;
|
||||
}
|
||||
|
||||
|
||||
} // namespace kutil
|
||||
Reference in New Issue
Block a user