packages feed

hayland-0.1.0.0: Graphics/Wayland/Internal/Version.chs

module Graphics.Wayland.Internal.Version (version) where

#include <wayland-version.h>

{#enum define VersionInt {WAYLAND_VERSION_MAJOR as MajorInt, WAYLAND_VERSION_MINOR as MinorInt, WAYLAND_VERSION_MICRO as MicroInt} deriving (Eq, Ord) #}

version = (fromEnum MajorInt, fromEnum MinorInt, fromEnum MicroInt)