/+ + Copyright 2022 – 2023 Aya Partridge + Distributed under the Boost Software License, Version 1.0. + (See accompanying file LICENSE_1_0.txt or copy at + http://www.boost.org/LICENSE_1_0.txt) +/ module sdl.guid; import bindbc.sdl.config; import bindbc.sdl.codegen; struct SDL_GUID{ ubyte[16] data; } mixin(joinFnBinds((){ string[][] ret; static if(sdlSupport >= SDLSupport.v2_24){ ret ~= makeFnBinds([ [q{void}, q{SDL_GUIDToString}, q{SDL_GUID guid, char* pszGUID, int cbGUID}], [q{SDL_GUID}, q{SDL_GUIDFromString}, q{const(char)* pchGUID}], ]); } return ret; }()));