MCPcopy Create free account
hub / github.com/RobLoach/raylib-cpp / Unload

Method Unload

include/AutomationEventList.hpp:85–100  ·  view source on GitHub ↗

* Update audio stream buffers with data */

Source from the content-addressed store, hash-verified

83 * Update audio stream buffers with data
84 */
85 void Unload() {
86 if (!IsValid()) {
87 return;
88 }
89
90// The function signature of UnloadAutomationEventList() changes from raylib 5.0.
91#if RAYLIB_VERSION_MAJOR == 5
92#if RAYLIB_VERSION_MINOR == 0
93 ::UnloadAutomationEventList(this);
94#elif RAYLIB_VERSION_MINOR >= 1
95 ::UnloadAutomationEventList(*this);
96#endif
97#else
98 ::UnloadAutomationEventList(*this);
99#endif
100 }
101
102 bool IsValid() { return events != nullptr; }
103

Callers

nothing calls this directly

Calls 1

IsValidFunction · 0.70

Tested by

no test coverage detected