Adjust ext/gmp default values (#1287)

According to gen_stub.php
This commit is contained in:
Máté Kocsis 2022-01-03 10:12:53 +01:00 committed by GitHub
parent a123b24db5
commit 5485482993
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@
<type>string</type><methodname>gmp_export</methodname>
<methodparam><type class="union"><type>GMP</type><type>int</type><type>string</type></type><parameter>num</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>word_size</parameter><initializer>1</initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer><constant>GMP_MSW_FIRST</constant> | <constant>GMP_NATIVE_ENDIAN</constant></initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>GMP_MSW_FIRST | GMP_NATIVE_ENDIAN</initializer></methodparam>
</methodsynopsis>
<para>
Export a GMP number to a binary string

View file

@ -12,7 +12,7 @@
<type>GMP</type><methodname>gmp_import</methodname>
<methodparam><type>string</type><parameter>data</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>word_size</parameter><initializer>1</initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer><constant>GMP_MSW_FIRST</constant> | <constant>GMP_NATIVE_ENDIAN</constant></initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>GMP_MSW_FIRST | GMP_NATIVE_ENDIAN</initializer></methodparam>
</methodsynopsis>
<para>
Import a GMP number from a binary string