17 #ifndef __POK_ASSERT_H__
18 #define __POK_ASSERT_H__
21 #include <libc/stdio.h>
23 #define ASSERT_RET(ret) if (ret != POK_ERRNO_OK) { printf ("ASSERTION FAILED, ret=%d, file=%s, line=%d\n", ret, __FILE__, __LINE__);}
24 #define ASSERT_RET_WITH_EXCEPTION(ret,but) if ((ret != POK_ERRNO_OK)&&(ret != but)) { printf ("ASSERTION FAILED, ret=%d, file=%s, line=%d\n", ret, __FILE__, __LINE__);}