![]() |
Arax -8d09c51940345c86062e8ef2427c705ae66e5926
A Runtime Framework for Decoupling Applications from Heterogeneous Accelerators
|
#include "arax_assert.h"
#include "core/arax_ptr.h"
#include "core/arax_object.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <execinfo.h>
#include "system.h"
Go to the source code of this file.
Macros | |
#define | ARAX_FILE_PREFIX_LEN (strlen(__FILE__) - 23) |
Functions | |
void | _arax_assert (int fail, const char *expr, const char *file, int line) |
void | _arax_assert_obj (void *obj, int type) |
#define ARAX_FILE_PREFIX_LEN (strlen(__FILE__) - 23) |
Definition at line 10 of file arax_assert.c.
Referenced by _arax_assert().
void _arax_assert | ( | int | fail, |
const char * | expr, | ||
const char * | file, | ||
int | line ) |
Definition at line 12 of file arax_assert.c.
References ARAX_FILE_PREFIX_LEN, and system_backtrace().
void _arax_assert_obj | ( | void * | obj, |
int | type ) |
Definition at line 21 of file arax_assert.c.
References arax_assert, arax_ptr_valid(), and arax_object_s::type.