Arax -8d09c51940345c86062e8ef2427c705ae66e5926
A Runtime Framework for Decoupling Applications from Heterogeneous Accelerators
Loading...
Searching...
No Matches
arax_assert.h File Reference
#include "compat.h"
+ Include dependency graph for arax_assert.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define arax_assert(EXPR)
 
#define arax_assert_obj(OBJ, TYPE)
 

Functions

ARAX_CPP void _arax_assert (int fail, const char *expr, const char *file, int line)
 
ARAX_CPP void _arax_assert_obj (void *obj, int type)
 

Macro Definition Documentation

◆ arax_assert

#define arax_assert ( EXPR)

◆ arax_assert_obj

Function Documentation

◆ _arax_assert()

ARAX_CPP 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().

+ Here is the call graph for this function:

◆ _arax_assert_obj()

ARAX_CPP 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.

+ Here is the call graph for this function: