open_url.cpp
1 2 3 4 5 | #include <planet/sdl/open_url.hpp> #include <planet/sdl/sdl.hpp> bool planet::sdl::open_url(char const *const url) noexcept { |
SDL3's SDL_OpenURL returns a bool that is true on success.
7 8 | return SDL_OpenURL(url); } |
1 2 3 4 5 | #include <planet/sdl/open_url.hpp> #include <planet/sdl/sdl.hpp> bool planet::sdl::open_url(char const *const url) noexcept { |
SDL3's SDL_OpenURL returns a bool that is true on success.
7 8 | return SDL_OpenURL(url); } |