Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
types.h File Reference

Go to the source code of this file.

Data Structures

struct  cri_assert_param
 
struct  cri_assert_node
 

Macros

#define CRI_ASSERT_MAX_PARAMS   4
 

Enumerations

enum  cri_assert_result_type { CRI_ASSERT_RT_RAW , CRI_ASSERT_RT_STR }
 

Functions

CR_BEGIN_C_API CR_API void cri_assert_node_init (struct cri_assert_node *node)
 
CR_API struct cri_assert_nodecri_assert_node_add (struct cri_assert_node *tree, struct cri_assert_node *node)
 
CR_API void cri_assert_node_negate (struct cri_assert_node *tree)
 
CR_API void cri_assert_node_term (struct cri_assert_node *tree)
 
CR_API void cri_assert_node_send (const char *file, size_t line, struct cri_assert_node *tree)
 
CR_API char * cri_assert_message (const char *fmt,...)
 
CR_API void * cri_assert_mkbytes (size_t size, const void *bytes)
 

Macro Definition Documentation

◆ CRI_ASSERT_MAX_PARAMS

#define CRI_ASSERT_MAX_PARAMS   4

Definition at line 32 of file internal/assert/types.h.

Enumeration Type Documentation

◆ cri_assert_result_type

Enumerator
CRI_ASSERT_RT_RAW 
CRI_ASSERT_RT_STR 

Definition at line 27 of file internal/assert/types.h.

27 {
30};
@ CRI_ASSERT_RT_STR
@ CRI_ASSERT_RT_RAW

Function Documentation

◆ cri_assert_message()

CR_API char * cri_assert_message ( const char * fmt,
... )

◆ cri_assert_mkbytes()

CR_API void * cri_assert_mkbytes ( size_t size,
const void * bytes )

◆ cri_assert_node_add()

CR_API struct cri_assert_node * cri_assert_node_add ( struct cri_assert_node * tree,
struct cri_assert_node * node )

◆ cri_assert_node_init()

CR_BEGIN_C_API CR_API void cri_assert_node_init ( struct cri_assert_node * node)

◆ cri_assert_node_negate()

CR_API void cri_assert_node_negate ( struct cri_assert_node * tree)

◆ cri_assert_node_send()

CR_API void cri_assert_node_send ( const char * file,
size_t line,
struct cri_assert_node * tree )

◆ cri_assert_node_term()

CR_API void cri_assert_node_term ( struct cri_assert_node * tree)