summaryrefslogtreecommitdiff
path: root/bignum.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-06 23:05:59 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-06 23:05:59 +0000
commita8c4a952767d0f554b3ac4ea999dbeb5f54ae6eb (patch)
tree5a6351cf4ad94003f84f41283629dc2206ea40d3 /bignum.c
parente0bb10be50fa23cb0ef9941750e874cc469cda86 (diff)
Arguments renamed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bignum.c')
-rw-r--r--bignum.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bignum.c b/bignum.c
index b7ead9c132..7042fecec3 100644
--- a/bignum.c
+++ b/bignum.c
@@ -786,7 +786,7 @@ int_import_push_bits(int data, int numbits, BDIGIT_DBL *ddp, int *numbits_in_dd_
*
* [sign] signedness of the value.
* -1 for non-positive. 0 or 1 for non-negative.
- * [bufarg] buffer to import.
+ * [words] buffer to import.
* [wordcount] the size of given buffer as number of words.
* [wordorder] order of words: 1 for most significant word first. -1 for least significant word first.
* [wordsize] the size of word as number of bytes.
@@ -796,11 +796,11 @@ int_import_push_bits(int data, int numbits, BDIGIT_DBL *ddp, int *numbits_in_dd_
* This function returns the imported integer as Fixnum or Bignum.
*/
VALUE
-rb_int_import(int sign, const void *bufarg, size_t wordcount, int wordorder, size_t wordsize, int endian, size_t nails)
+rb_int_import(int sign, const void *words, size_t wordcount, int wordorder, size_t wordsize, int endian, size_t nails)
{
VALUE num_bits, num_bdigits;
VALUE result;
- const unsigned char *buf = bufarg;
+ const unsigned char *buf = words;
BDIGIT *dp;
BDIGIT *de;