Version.this - multiple declarations
Function Version.this
Constructs a dsdl
from a vanilla SDL_version
from bindbc-sdl
ref this
(
bindbc .sdl .config .SDL_version sdlVersion
) @safe;
Parameters
Name | Description |
---|---|
sdlVersion | the SDL_version struct |
Function Version.this
Constructs a dsdl
by feeding in major
, minor
, and patch
version numbers
ref this
(
ubyte major,
ubyte minor,
ubyte patch = cast(ubyte)0u
) @safe;
Parameters
Name | Description |
---|---|
major | major version number |
minor | minor version number |
patch | patch verion number |