Skip to content

BurningWitness/libspng

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libspng

Raw bindings to the libspng C library (version 0.7.2).

This package reexports the
Foreign.Storable.Offset module and implements the Offset instance for all the datatypes.
Alas Hackage currently does not show this (as per haddock#563).

Caveats of this library:

  • DuplicateRecordFields (since GHC 9.2 also NoFieldSelectors) are turned on in all modules with datatype definitions, record field names are the same as in the C library.
    You should use GHC.Records.getField or record dot syntax to access datatype fields;

  • data and type record fields are replaced with data_ and type_ respectively. GHC.Records.HasField and Foreign.Storable.Offset.Offset instances are defined over both variants;

Maintenance

Some bindings are bound to have errors in them, feel free to report them through Github.

About

Haskell bindings for libspng

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published