Skip to content

Commit

Permalink
Fix build errors on recent macOS versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
icemac committed May 15, 2024
1 parent 82ab107 commit 583fafe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ For changes before version 3.0, see ``HISTORY.rst``.
6.4 (unreleased)
----------------

- Nothing changed yet.

- Make dict views (`.keys()`, `.items()` and `.values()`) behave like their
unrestricted versions.
(`#147 <https://github.com/zopefoundation/AccessControl/pull/147>`_)

- Make `.items()` validate each keys and values, like `.keys()` and
`.values()` do.

- Fix build errors on recent macOS versions.


6.3 (2023-11-20)
----------------
Expand Down
8 changes: 4 additions & 4 deletions src/AccessControl/cAccessControl.c
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ static PyExtensionClass ZopeSecurityPolicyType = {
0, /* tp_itemsize */
/* Standard methods */
(destructor) ZopeSecurityPolicy_dealloc,/* tp_dealloc */
NULL, /* tp_print */
0, /* tp_print */
NULL, /* tp_getattr */
NULL, /* tp_setattr */
NULL, /* tp_compare */
Expand Down Expand Up @@ -484,7 +484,7 @@ static PyExtensionClass SecurityManagerType = {
0, /* tp_itemsize */
/* Standard methods */
(destructor) SecurityManager_dealloc,/* tp_dealloc */
NULL, /* tp_print */
0, /* tp_print */
NULL, /* tp_getattr */
NULL, /* tp_setattr */
NULL, /* tp_compare */
Expand Down Expand Up @@ -543,7 +543,7 @@ static PyExtensionClass PermissionRoleType = {
0, /* tp_itemsize */
/* Standard methods */
(destructor) PermissionRole_dealloc, /* tp_dealloc */
NULL, /* tp_print */
0, /* tp_print */
NULL, /* tp_getattr */
NULL, /* tp_setattr */
NULL, /* tp_compare */
Expand Down Expand Up @@ -613,7 +613,7 @@ static PyExtensionClass imPermissionRoleType = {
0, /* tp_itemsize */
/* Standard methods */
(destructor) imPermissionRole_dealloc, /* tp_dealloc */
NULL, /* tp_print */
0, /* tp_print */
NULL, /* tp_getattr */
NULL, /* tp_setattr */
NULL, /* tp_compare */
Expand Down

0 comments on commit 583fafe

Please sign in to comment.