Skip to content

Commit

Permalink
+ sync with pep
Browse files Browse the repository at this point in the history
  • Loading branch information
skirpichev committed Dec 4, 2024
1 parent 84f5e68 commit bd982e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/gmpy2.c
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ PyMODINIT_FUNC PyInit_gmpy2(void)
int_digits_order = layout->digits_order;
int_bits_per_digit = layout->bits_per_digit;
int_nails = int_digit_size*8 - int_bits_per_digit;
int_endianness = layout->endianness;
int_endianness = layout->digit_endianness;

#ifndef STATIC
static void *GMPy_C_API[GMPy_API_pointers];
Expand Down
2 changes: 1 addition & 1 deletion src/pythoncapi_compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -1759,7 +1759,7 @@ typedef struct PyLongLayout {
uint8_t bits_per_digit;
uint8_t digit_size;
int8_t digits_order;
int8_t endianness;
int8_t digit_endianness;
} PyLongLayout;

static const PyLongLayout PyLong_LAYOUT = {
Expand Down

0 comments on commit bd982e1

Please sign in to comment.