@@ -552,7 +552,7 @@ Import/Export API
552552 A single unsigned digit.
553553
554554 It is usually used in an *array of digits*, such as the
555- :c:member:`PyUnstable_LongExport .digits` array.
555+ :c:member:`PyUnstable_Long_DigitArray .digits` array.
556556
557557 Its size depend on the :c:macro:`!PYLONG_BITS_IN_DIGIT` macro:
558558 see the ``configure`` :option:`--enable-big-digits` option.
@@ -607,11 +607,12 @@ Import/Export API
607607 See :c:struct: `PyUnstable_Long_LAYOUT ` for the internal layout of an integer.
608608
609609
610- .. c :struct :: PyUnstable_LongExport
610+ .. c :struct :: PyUnstable_Long_DigitArray
611611
612612 A Python :class: `int ` object exported as an array of digits.
613613
614- See :c:struct: `PyUnstable_Long_LAYOUT ` for the internal layout of an integer.
614+ See :c:struct: `PyUnstable_Long_LAYOUT ` for the internal layout of an
615+ integer.
615616
616617 .. c :member :: PyLongObject *obj
617618
@@ -630,11 +631,11 @@ Import/Export API
630631 Array of unsigned digits.
631632
632633
633- .. c :function :: int PyUnstable_Long_Export (PyObject *obj, PyUnstable_LongExport *export )
634+ .. c :function :: int PyUnstable_Long_Export (PyObject *obj, PyUnstable_Long_DigitArray *array )
634635
635636 Export a Python :class: `int ` object as an array of digits.
636637
637- * Set *\* export * and return 0 on success.
638+ * Set *\* array * and return 0 on success.
638639 * Set an exception and return -1 on error.
639640
640641 This function always succeeds if *obj * is a Python :class: `int ` object or a
@@ -644,6 +645,6 @@ Import/Export API
644645 *export *.
645646
646647
647- .. c :function :: void PyUnstable_Long_ReleaseExport (PyUnstable_LongExport * export )
648+ .. c :function :: void PyUnstable_Long_ReleaseExport (PyUnstable_Long_DigitArray * array )
648649
649- Release an export created by :c:func: `PyUnstable_Long_Export `.
650+ Release the export * array * created by :c:func: `PyUnstable_Long_Export `.
0 commit comments