c-storable-deriving-0.1: Generate C-like storable instances from datatypes

Foreign.CStorable

Description

This primarily exports the CStorable typeclass, which may have its methods automatically defaulted if it has a Generic instance. Then, this instance can be transfered via the Storable constructor.

Synopsis

Documentation

newtype StorableWrap a Source

Applying the Storable constructor to something which is Storable gives it a corresponding CStorable instance.

Constructors

Storable a 

Instances

Storable a => CStorable (StorableWrap a)

Translates a Storable instance to a CStorable instance