Changing enums, now referenced as int.
This commit is contained in:
parent
aaced97b12
commit
343fef4aa4
2 changed files with 9 additions and 9 deletions
|
@ -819,7 +819,7 @@ typedef enum {
|
|||
} NPatchType;
|
||||
|
||||
// Callbacks to be implemented by users
|
||||
typedef void (*TraceLogCallback)(TraceLogType logType, const char *text, va_list args);
|
||||
typedef void (*TraceLogCallback)(int logType, const char *text, va_list args);
|
||||
|
||||
#if defined(__cplusplus)
|
||||
extern "C" { // Prevents name mangling of functions
|
||||
|
@ -899,10 +899,10 @@ RLAPI Color Fade(Color color, float alpha); // Color fade-
|
|||
|
||||
// Misc. functions
|
||||
RLAPI void SetConfigFlags(unsigned char flags); // Setup window configuration flags (view FLAGS)
|
||||
RLAPI void SetTraceLogLevel(TraceLogType logType); // Set the current threshold (minimum) log level.
|
||||
RLAPI void SetTraceLogExit(TraceLogType logType); // Set the exit threshold (minimum) log level.
|
||||
RLAPI void SetTraceLogLevel(int logType); // Set the current threshold (minimum) log level.
|
||||
RLAPI void SetTraceLogExit(int logType); // Set the exit threshold (minimum) log level.
|
||||
RLAPI void SetTraceLogCallback(TraceLogCallback callback); // Set a trace log callback to enable custom logging bypassing raylib's one
|
||||
RLAPI void TraceLog(TraceLogType logType, const char *text, ...); // Show trace log messages (LOG_INFO, LOG_WARNING, LOG_ERROR, LOG_DEBUG)
|
||||
RLAPI void TraceLog(int logType, const char *text, ...); // Show trace log messages (LOG_INFO, LOG_WARNING, LOG_ERROR, LOG_DEBUG)
|
||||
RLAPI void TakeScreenshot(const char *fileName); // Takes a screenshot of current screen (saved a .png)
|
||||
RLAPI int GetRandomValue(int min, int max); // Returns a random value between min and max (both included)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue