The c2hsc package

[Tags: bsd3, program]

Convert C API header files to .hsc and .hsc.helper.c files


[Skip to ReadMe]

Properties

Versions0.1.0, 0.2.0, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.4.0, 0.5.0, 0.5.1, 0.6.2, 0.6.3, 0.6.4, 0.6.5
Change logNone available
Dependenciesbase (==4.*), containers, directory, filepath, HStringTemplate, language-c, mtl (>=1.1 && <2.1), pretty, transformers [details]
LicenseBSD3
AuthorJohn Wiegley
MaintainerJohn Wiegley <johnw@newartisans.com>
CategoryUtilities
Home pagehttps://github.com/jwiegley/c2hsc
Source repositoryhead: git clone https://github.com/jwiegley/c2hsc
Executablesc2hs
UploadedTue Sep 4 09:22:27 UTC 2012 by JohnWiegley
DistributionsNixOS:0.6.5
Downloads2287 total (106 in last 30 days)
Votes
0 []
StatusDocs not available [build log]
Last success reported on 2015-05-24 [all 1 reports]

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for c2hsc-0.1.0

Converts C API header files to .hsc and .hsc.helper.c files

Usage: c2hsc <Lib Prefix> [cpp options...] <FILE>.h

This will create <FILE>.hsc, and <FILE>.hsc.helper.c if the header file contains inline functions.

For example, in hlibgit2 on the Mac I'm using:

c2hsc Bindings.Libgit2 -U__BLOCKS__ libgit2/include/git2/tree.h