Skip to content

Commit 8b47787

Browse files
committed
BUG: Fix Py_LIMITED_API minor version spec
This is in hex, we want 11 in decimal. Ref: https://docs.python.org/3/c-api/apiabiversion.html#c.PY_VERSION_HEX
1 parent 527fc16 commit 8b47787

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Wrapping/macro_files/itk_end_wrap_module.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ ${DO_NOT_WAIT_FOR_THREADS_CALLS}
435435

436436
# Python Limited API / Stable ABI
437437
if (ITK_USE_PYTHON_LIMITED_API)
438-
target_compile_definitions(${lib} PUBLIC -DPy_LIMITED_API=0x03110000)
438+
target_compile_definitions(${lib} PUBLIC -DPy_LIMITED_API=0x030b0000)
439439
endif()
440440
# Link the modules together
441441
target_link_libraries(${lib} LINK_PUBLIC ${WRAPPER_LIBRARY_LINK_LIBRARIES})

0 commit comments

Comments
 (0)