Final Platform Layer  0.9.6-beta
Macros | Functions
Assertion & Debug

This category contains assertion & debug macro functions. More...

Macros

#define fplAlwaysAssert(exp)
 Always crashes the application with a null-pointer assignment, when the specified expression evaluates to false.
 
#define fplAssert(exp)
 Breaks with an runtime assertion, when the specified expression evaluates to false.
 
#define fplAssertPtr(ptr)
 Breaks when the specified pointer is fpl_null.
 
#define fplDebugBreak()
 Stops the debugger on this line always.
 
#define fplStaticAssert(exp)
 Breaks the compilation, when the specified expression evaluates to false.
 

Functions

fpl_common_api void fplDebugFormatOut (const char *format,...)
 Writes the given formatted text into the debugger output stream. More...
 
fpl_platform_api void fplDebugOut (const char *text)
 Writes the given text into the debugger output stream. More...
 

Detailed Description

This category contains assertion & debug macro functions.

Function Documentation

◆ fplDebugFormatOut()

fpl_common_api void fplDebugFormatOut ( const char *  format,
  ... 
)

Writes the given formatted text into the debugger output stream.

Parameters
formatThe format used for writing into the debugger output stream
...The dynamic arguments used for formatting the text.
Note
This function will only work in IDEs such as MSVC
See also
Output to the Debug-Console

◆ fplDebugOut()

fpl_platform_api void fplDebugOut ( const char *  text)

Writes the given text into the debugger output stream.

Parameters
textThe text to write into the debugger output stream
Note
This function will only work in IDEs such as MSVC
See also
Output to the Debug-Console