[commit: packages/integer-gmp] master: Refactor C-- wrappers to use macros for mpz_t access (ebec308)

git at git.haskell.org git at git.haskell.org
Sat Jan 4 08:16:54 UTC 2014


Repository : ssh://git@git.haskell.org/integer-gmp

On branch  : master
Link       : http://git.haskell.org/packages/integer-gmp.git/commitdiff/ebec3089e10a4a415b0ebf856c827bfbf8726d96

>---------------------------------------------------------------

commit ebec3089e10a4a415b0ebf856c827bfbf8726d96
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Sat Jan 4 08:42:01 2014 +0100

    Refactor C-- wrappers to use macros for mpz_t access
    
    This factors out the recurring task of converting mpz_t structures
    to/from Int#/ByteArrays# pairs and makes the code more readable.
    
    Signed-off-by: Herbert Valerio Riedel <hvr at gnu.org>


>---------------------------------------------------------------

ebec3089e10a4a415b0ebf856c827bfbf8726d96
 cbits/gmp-wrappers.cmm |  133 ++++++++++++++++--------------------------------
 1 file changed, 43 insertions(+), 90 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc ebec3089e10a4a415b0ebf856c827bfbf8726d96


More information about the ghc-commits mailing list