Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
/*
Replace array elements at stginfo->ffi_type_pointer.elements.
- Return -1 if error occured.
+ Return -1 if error occurred.
*/
int
_replace_array_elements(ctypes_state *st, PyObject *layout_fields,
// Prep and switch interpreters.
if (_PyXI_Enter(session, interp, shareables, &result) < 0) {
- // If an error occured at this step, it means that interp
+ // If an error occurred at this step, it means that interp
// was not prepared and switched.
_PyXI_FreeSession(session);
_PyXI_FreeFailure(failure);