packages feed

bindings-DSL 1.0.4 → 1.0.5

raw patch · 2 files changed

+6/−3 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

bindings-DSL.cabal view
@@ -17,7 +17,7 @@   .   This package contains no Haskell code, only C header files   designed for hsc2hs.-version: 1.0.4+version: 1.0.5 license: BSD3 license-file: LICENSE maintainer: Maurício C. Antunes <mauricio.antunes@gmail.com>
bindings.dsl.h view
@@ -100,10 +100,13 @@     bc_varid(# name);printf(" :: FunPtr a\n"); \  #define hsc_ccall(name,type) \-    printf("foreign import ccall \"%s\" ",# name); \+    hsc_callconv(name,ccall,type) \++#define hsc_callconv(name,conv,type) \+    printf("foreign import "# conv" \"%s\" ",# name); \     bc_varid(# name);printf("\n"); \     printf("  :: ");bc_typemarkup(# type);printf("\n"); \-    printf("foreign import ccall \"&%s\" ",# name); \+    printf("foreign import "# conv" \"&%s\" ",# name); \     bc_ptrid(# name);printf("\n"); \     printf("  :: FunPtr (");bc_typemarkup(# type);printf(")\n"); \