Version.this - multiple declarations

Function Version.this

Constructs a dsdl2.Version from a vanilla SDL_version from bindbc-sdl

ref this (
  bindbc.sdl.config.SDL_version sdlVersion
) @safe;

Parameters

NameDescription
sdlVersion the SDL_version struct

Function Version.this

Constructs a dsdl2.Version by feeding in major, minor, and patch version numbers

ref this (
  ubyte major,
  ubyte minor,
  ubyte patch = cast(ubyte)0u
) @safe;

Parameters

NameDescription
major major version number
minor minor version number
patch patch verion number