summaryrefslogtreecommitdiff
path: root/libs/raylib/src/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/raylib/src/utils.h')
-rw-r--r--libs/raylib/src/utils.h17
1 files changed, 15 insertions, 2 deletions
diff --git a/libs/raylib/src/utils.h b/libs/raylib/src/utils.h
index 31c54aa..675f43b 100644
--- a/libs/raylib/src/utils.h
+++ b/libs/raylib/src/utils.h
@@ -32,6 +32,19 @@
#include <android/asset_manager.h> // Required for: AAssetManager
#endif
+#if defined(SUPPORT_TRACELOG)
+ #define TRACELOG(level, ...) TraceLog(level, __VA_ARGS__)
+
+ #if defined(SUPPORT_TRACELOG_DEBUG)
+ #define TRACELOGD(...) TraceLog(LOG_DEBUG, __VA_ARGS__)
+ #else
+ #define TRACELOGD(...) (void)0
+ #endif
+#else
+ #define TRACELOG(level, ...) (void)0
+ #define TRACELOGD(...) (void)0
+#endif
+
//----------------------------------------------------------------------------------
// Some basic Defines
//----------------------------------------------------------------------------------
@@ -55,8 +68,8 @@ extern "C" { // Prevents name mangling of functions
// Module Functions Declaration
//----------------------------------------------------------------------------------
#if defined(PLATFORM_ANDROID)
-void InitAssetManager(AAssetManager *manager); // Initialize asset manager from android app
-FILE *android_fopen(const char *fileName, const char *mode); // Replacement for fopen()
+void InitAssetManager(AAssetManager *manager, const char *dataPath); // Initialize asset manager from android app
+FILE *android_fopen(const char *fileName, const char *mode); // Replacement for fopen() -> Read-only!
#endif
#if defined(PLATFORM_UWP)