Updated raylib-cpp header files

This commit is contained in:
2025-09-08 22:06:21 -04:00
parent a0a658ca8a
commit fff611cc72
45 changed files with 2533 additions and 2382 deletions

View File

@@ -15,17 +15,23 @@ extern "C" {
#include RAYLIB_H_FILE // NOLINT
#if !defined(RAYLIB_VERSION_MAJOR) || !defined(RAYLIB_VERSION_MINOR)
#if RAYLIB_VERSION_MAJOR < 5
#error "raylib-cpp requires at least raylib 5.0.0"
#error "raylib-cpp requires raylib >= 5"
#endif
#if RAYLIB_VERSION_MAJOR < 5
#error "raylib-cpp requires raylib >= 5"
#endif
#if RAYLIB_VERSION_MAJOR > 5
#error "raylib-cpp targets raylib 5. Use the `next` branch for the next version of raylib."
#error "raylib-cpp requires raylib ~5.0. Use the `next` branch for the next version of raylib."
#endif
#if RAYLIB_VERSION_MINOR < 1
#error "raylib-cpp targets raylib 5.1 or higher."
#endif
#ifdef __cplusplus
}
#endif
#endif // RAYLIB_CPP_INCLUDE_RAYLIB_HPP_
#endif // RAYLIB_CPP_INCLUDE_RAYLIB_HPP_