aboutsummaryrefslogtreecommitdiffstats
path: root/alc/inprogext.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-07-02 13:21:48 -0700
committerChris Robinson <[email protected]>2023-07-02 13:21:48 -0700
commit65d0196db6f09292c3eb3c106d6ca543ad937e82 (patch)
tree042aa7c0c10a2a0bbdd6a067b2778278c90fefc6 /alc/inprogext.h
parent548f7ad80abc253a38171b7e4eb1c84a6b179a41 (diff)
Add a function to set a callback for log messages
Diffstat (limited to 'alc/inprogext.h')
-rw-r--r--alc/inprogext.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/alc/inprogext.h b/alc/inprogext.h
index 65e34ea4..60c97536 100644
--- a/alc/inprogext.h
+++ b/alc/inprogext.h
@@ -460,9 +460,11 @@ void ALC_APIENTRY alcEventCallbackSOFT(ALCEVENTPROCTYPESOFT callback, void *user
#endif
#endif
-/* Non-standard export. Not part of any extension. */
+/* Non-standard exports. Not part of any extension. */
AL_API const ALchar* AL_APIENTRY alsoft_get_version(void) noexcept;
+typedef void (ALC_APIENTRY*LPALSOFTLOGCALLBACK)(void *userptr, char level, const char *message, int length) noexcept;
+void ALC_APIENTRY alsoft_set_log_callback(LPALSOFTLOGCALLBACK callback, void *userptr) noexcept;
/* Functions from abandoned extensions. Only here for binary compatibility. */
AL_API void AL_APIENTRY alSourceQueueBufferLayersSOFT(ALuint src, ALsizei nb,