summaryrefslogtreecommitdiff
path: root/ext/gmp/php_gmp.h
diff options
context:
space:
mode:
authorLeigh <leight@gmail.com>2014-09-23 22:12:23 +0100
committerLeigh <leight@gmail.com>2014-09-23 22:12:23 +0100
commit831bb9260c314290a34635d7a907673f8e9d9063 (patch)
treebd2acaeadbf72d9386656b31b80e92ccd14c8a1f /ext/gmp/php_gmp.h
parent3d6d863ccbd10d212352462b587ae1573af4f1d1 (diff)
downloadphp-git-831bb9260c314290a34635d7a907673f8e9d9063.tar.gz
Add gmp_random_bits(bits) and gmp_random_range(min, max)
Diffstat (limited to 'ext/gmp/php_gmp.h')
-rw-r--r--ext/gmp/php_gmp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/gmp/php_gmp.h b/ext/gmp/php_gmp.h
index b3706c534d..a1a1dc262f 100644
--- a/ext/gmp/php_gmp.h
+++ b/ext/gmp/php_gmp.h
@@ -66,6 +66,8 @@ ZEND_FUNCTION(gmp_or);
ZEND_FUNCTION(gmp_com);
ZEND_FUNCTION(gmp_xor);
ZEND_FUNCTION(gmp_random);
+ZEND_FUNCTION(gmp_random_bits);
+ZEND_FUNCTION(gmp_random_range);
ZEND_FUNCTION(gmp_setbit);
ZEND_FUNCTION(gmp_clrbit);
ZEND_FUNCTION(gmp_scan0);