1
0
mirror of https://github.com/ultrajson/ultrajson.git synced 2024-11-22 19:41:59 +01:00

Fix typos found by codespell (#610)

This commit is contained in:
Dimitri Papadopoulos Orfanos 2023-10-17 19:45:44 +02:00 committed by GitHub
parent e00814cdc1
commit b7a4dfda0a
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

@ -325,7 +325,7 @@ class DoubleToStringConverter {
// except for the following cases: // except for the following cases:
// - the input value is special and no infinity_symbol or nan_symbol has // - the input value is special and no infinity_symbol or nan_symbol has
// been provided to the constructor, // been provided to the constructor,
// - precision < kMinPericisionDigits // - precision < kMinPrecisionDigits
// - precision > kMaxPrecisionDigits // - precision > kMaxPrecisionDigits
// //
// The last condition implies that the result never contains more than // The last condition implies that the result never contains more than

@ -201,12 +201,12 @@ typedef struct __JSONObjectEncoder
/* /*
Retrieve next object in an iteration. Should return 0 to indicate iteration has reached end or 1 if there are more items. Retrieve next object in an iteration. Should return 0 to indicate iteration has reached end or 1 if there are more items.
Implementor is responsible for keeping state of the iteration. Use ti->prv fields for this Implementer is responsible for keeping state of the iteration. Use ti->prv fields for this
*/ */
JSPFN_ITERNEXT iterNext; JSPFN_ITERNEXT iterNext;
/* /*
Ends the iteration of an iteratable object. Ends the iteration of an iterable object.
Any iteration state stored in ti->prv can be freed here Any iteration state stored in ti->prv can be freed here
*/ */
JSPFN_ITEREND iterEnd; JSPFN_ITEREND iterEnd;
@ -284,7 +284,7 @@ typedef struct __JSONObjectEncoder
void *d2s; void *d2s;
/* /*
Set to an error message if error occured */ Set to an error message if error occurred */
const char *errorMsg; const char *errorMsg;
JSOBJ errorObj; JSOBJ errorObj;