galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
Loading...
Searching...
No Matches
galaxy::log Namespace Reference

Functions

bool physfs_check (const int code) noexcept
 Call a physfs function with error handling and logs a message for you.
bool physfs_check (void *ptr) noexcept
 Call a physfs function with error handling and logs a message for you.

Function Documentation

◆ physfs_check() [1/2]

bool galaxy::log::physfs_check ( const int code)
noexcept

Call a physfs function with error handling and logs a message for you.

Parameters
codeThe code returned by physfs function.
Returns
True if function call succeeded.

Definition at line 18 of file PhysFSError.cpp.

Here is the caller graph for this function:

◆ physfs_check() [2/2]

bool galaxy::log::physfs_check ( void * ptr)
noexcept

Call a physfs function with error handling and logs a message for you.

Parameters
ptrPointer returned by physfs function.
Returns
True if function call succeeded.

Definition at line 29 of file PhysFSError.cpp.