-
Notifications
You must be signed in to change notification settings - Fork 13
Assertion Debug
This category contains assertion & debug macro functions. More...
| Type | Name |
|---|---|
| #define |
fplAlwaysAssert(exp) Always crashes the application with a null-pointer assignment when the specified expression evaluates to false. |
| #define |
fplAssert(exp) Breaks with a runtime assertion when the specified expression evaluates to false. |
| #define |
fplAssertPtr(ptr) Breaks when the specified pointer is null. |
| #define |
fplDebugBreak() Stops the debugger on this line always. |
| #define |
fplStaticAssert(exp) Breaks the compilation when the specified expression evaluates to false. |
| Type | Name |
|---|---|
| fpl_common_api void |
fplDebugFormatOut (const char *format,...) Writes the given formatted text into the debugger output stream. |
| fpl_platform_api void |
fplDebugOut (const char *text) Writes the given text into the debugger output stream. |
This category contains assertion & debug macro functions.
#define fplAlwaysAssert ( exp)Always crashes the application with a null-pointer assignment when the specified expression evaluates to false.
Parameters
| Direction | Parameter | Description |
|---|---|---|
| [in] | exp | Expression to evaluate. |
Definition at line 3137 of file final_platform_layer.h.
#define fplAssert ( exp)Breaks with a runtime assertion when the specified expression evaluates to false.
Parameters
| Direction | Parameter | Description |
|---|---|---|
| [in] | exp | Expression to evaluate. |
Definition at line 3123 of file final_platform_layer.h.
#define fplAssertPtr ( ptr)Breaks when the specified pointer is null.
Parameters
| Direction | Parameter | Description |
|---|---|---|
| [in] | ptr | Pointer to evaluate. |
Definition at line 3144 of file final_platform_layer.h.
#define fplDebugBreak ( )Stops the debugger on this line always.
Definition at line 3186 of file final_platform_layer.h.
#define fplStaticAssert ( exp)Breaks the compilation when the specified expression evaluates to false.
Parameters
| Direction | Parameter | Description |
|---|---|---|
| [in] | exp | Expression to evaluate. |
Definition at line 3130 of file final_platform_layer.h.
fpl_common_api void fplDebugFormatOut ( const char * format, ... )Writes the given formatted text into the debugger output stream.
Parameters
| Direction | Parameter | Description |
|---|---|---|
| [in] | format | The format used for writing into the debugger output stream. |
| [in] | ... | 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
fpl_platform_api void fplDebugOut ( const char * text)Writes the given text into the debugger output stream.
Parameters
| Direction | Parameter | Description |
|---|---|---|
| [in] | text | The 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
- Assertion & Debug
- Atomic operations
- Audio functions
- Clipboard functions
- Console functions
- Constants
- Display/Monitor functions
- Dynamic library loading
- Error Handling
- Files/IO functions
- Function macros
- Hardware Infos
- Input types and functions
- Localization functions
- Logging
- Memory Macros
- Memory functions
- Operating system Infos
- Path functions
- Platform functions
- Session Infos
- Settings & Configurations
- Storage class identifiers
- String functions
- Threading and synchronizations routines
- Timing functions
- Video functions
- Window events
- Window functions
- fplARMCPUCapabilities
- fplAudioChannelMap
- fplAudioDeviceID
- fplAudioDeviceInfo
- fplAudioFormat
- fplAudioSettings
- fplColor32
- fplConditionVariable
- fplConsoleSettings
- fplCPUCapabilities
- fplCPUIDLeaf
- fplDateTime
- fplDateTimeCreationResult
- fplDateTimeResult
- fplDisplayInfo
- fplDisplayMode
- fplDynamicLibraryHandle
- fplEndianess
- fplEvent
- fplFileEntry
- fplFileHandle
- fplFilePermissions
- fplFileTimeStamps
- fplGamepadButton
- fplGamepadData
- fplGamepadEvent
- fplGamepadInfo
- fplGamepadInputBinding
- fplGamepadMapping
- fplGamepadSettings
- fplGamepadState
- fplGamepadStates
- fplGraphicsApiSettings
- fplImageSource
- fplInputBackendMask
- fplInputBackendSupport
- fplInputDevice
- fplInputDeviceGuid
- fplInputSettings
- fplInternalConditionVariable
- fplInternalDynamicLibraryHandle
- fplInternalFileEntryHandle
- fplInternalFileHandle
- fplInternalFileRootInfo
- fplInternalMutexHandle
- fplInternalSemaphoreHandle
- fplInternalSignalHandle
- fplInternalThreadHandle
- fplKeyboardEvent
- fplKeyboardState
- fplLogSettings
- fplLogWriter
- fplLogWriterConsole
- fplLogWriterCustom
- fplMemoryAllocationSettings
- fplMemoryBlock
- fplMemoryInfos
- fplMemorySettings
- fplMouseEvent
- fplMouseState
- fplMutexHandle
- fplOpenGLSettings
- fplOSVersionInfos
- fplSemaphoreHandle
- fplSettings
- fplSignalHandle
- fplSpecificAudioSettings
- fplThreadHandle
- fplThreadParameters
- fplTimestamp
- fplVersionInfo
- fplVideoBackBuffer
- fplVideoRect
- fplVideoRequirements
- fplVideoRequirementsVulkan
- fplVideoSettings
- fplVideoSurface
- fplVideoSurfaceOpenGL
- fplVideoSurfaceVulkan
- fplVideoWindow
- fplVulkanSettings
- fplWindowCallbacks
- fplWindowDropFiles
- fplWindowEvent
- fplWindowPosition
- fplWindowSettings
- fplWindowSize
- fplX86CPUCapabilities