BluFedora Job System v1.0.0
This is a C++ job system library for use in game engines.
job_assert.hpp File Reference

Assertion macro for this library. More...

Go to the source code of this file.

Namespaces

namespace  Job
 
namespace  Job::detail
 

Macros

#define JOB_SYS_ASSERTIONS   1
 Should be turned on during development as it catches API misuse, then for release switched off. More...
 
#define JobAssert(expr, msg)   ::Job::detail::assertHandler((expr), __FILE__, __LINE__, msg)
 

Functions

void Job::detail::assertHandler (const bool condition, const char *const filename, const int line_number, const char *const msg)
 

Detailed Description

Assertion macro for this library.

Author
Shareef Abdoul-Raheem (https://blufedora.github.io/)

Definition in file job_assert.hpp.

Macro Definition Documentation

◆ JOB_SYS_ASSERTIONS

#define JOB_SYS_ASSERTIONS   1

Should be turned on during development as it catches API misuse, then for release switched off.

Definition at line 15 of file job_assert.hpp.

◆ JobAssert

#define JobAssert (   expr,
  msg 
)    ::Job::detail::assertHandler((expr), __FILE__, __LINE__, msg)

Definition at line 27 of file job_assert.hpp.