bytestring-builder 0.10.4.1.1 → 0.10.4.1.2
raw patch · 3 files changed
+9/−8 lines, 3 files
Files
bytestring-builder.cabal view
@@ -1,5 +1,5 @@ name: bytestring-builder-version: 0.10.4.1.1+version: 0.10.4.1.2 synopsis: The new bytestring builder, packaged outside of GHC description: This is the bytestring builder that is debuting in bytestring-0.10.4.0, which@@ -27,10 +27,11 @@ deprecated in 7.10. license: BSD3 license-file: LICENSE-author: Simon Meier, Jasper Van der Jeugt+author: Simon Meier, Jasper Van der Jeugt, Duncan Coutts maintainer: Leon P Smith <leon@melding-monads.com> copyright: (c) 2010 Jasper Van der Jeugt (c) 2010-2013 Simon Meier+ (c) 2012-2013 Duncan Coutts category: Data build-type: Simple extra-source-files:@@ -50,7 +51,7 @@ source-repository this type: git location: http://github.com/lpsmith/bytestring-builder- tag: v0.10.4.1.1+ tag: v0.10.4.1.2 Flag bytestring_has_builder default: True@@ -63,7 +64,7 @@ build-depends: bytestring >= 0.10.4 -- package is empty for bytestring >= 0.10.4 else- build-depends: bytestring >= 0.9 && < 0.10.4+ build-depends: bytestring >= 0.9 && < 0.10.2 hs-source-dirs: src c-sources: cbits/itoa.c cbits/fpstring.c
cbits/itoa.c view
@@ -179,7 +179,7 @@ /////////////////////// // unsigned ints (32 bit words)-char* bytestring_bytestring_uint_hex (unsigned int x, char* buf) {+char* bytestring_builder_uint_hex (unsigned int x, char* buf) { // write hex representation in reverse order char c, *ptr = buf, *next_free; do {@@ -197,7 +197,7 @@ }; // unsigned long ints (64 bit words)-char* bytestring_bytestring_long_long_uint_hex (long long unsigned int x, char* buf) {+char* bytestring_builder_long_long_uint_hex (long long unsigned int x, char* buf) { // write hex representation in reverse order char c, *ptr = buf, *next_free; do {
src/Data/ByteString/Builder/Prim/ASCII.hs view
@@ -186,10 +186,10 @@ -- without lead --------------- -foreign import ccall unsafe "static bytestring_bytestring_uint_hex" c_uint_hex+foreign import ccall unsafe "static bytestring_builder_uint_hex" c_uint_hex :: CUInt -> Ptr Word8 -> IO (Ptr Word8) -foreign import ccall unsafe "static bytestring_bytestring_long_long_uint_hex" c_long_long_uint_hex+foreign import ccall unsafe "static bytestring_builder_long_long_uint_hex" c_long_long_uint_hex :: CULLong -> Ptr Word8 -> IO (Ptr Word8) {-# INLINE encodeWordHex #-}