Rename `{import,export}Integer`
authorHerbert Valerio Riedel <hvr@gnu.org>
Thu, 7 Nov 2013 20:40:57 +0000 (21:40 +0100)
committerHerbert Valerio Riedel <hvr@gnu.org>
Thu, 7 Nov 2013 20:40:57 +0000 (21:40 +0100)
commit449f188d1aef582ce0e37640c25f14ba6ef3ad8c
tree44f7d57affb8f61646b0a984ef60ae290b846a23
parent1415647776c75f7d9738d03be46401d7b0bd50a7
Rename `{import,export}Integer`

This renames to more verbose names which include the type these
operations import/export from/to:

 - `importIntegerFromByteArray`, and
 - `exportIntegerToMutableByteArray`.

This follows the naming convention used for other primitive operations,
such as the recently added `copyMutableByteArrayToAddr` operation.

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
libraries/integer-gmp/GHC/Integer/GMP/Internals.hs
libraries/integer-gmp/GHC/Integer/GMP/Prim.hs
libraries/integer-gmp/GHC/Integer/Type.lhs
libraries/integer-gmp/cbits/gmp-wrappers.cmm