Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
1320bd4e
Commit
1320bd4e
authored
Jun 10, 2002
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Call _Py_NewReference() for wrappers allocated from the free list.
parent
4b4986f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
lib/Components/ExtensionClass/src/Acquisition.c
lib/Components/ExtensionClass/src/Acquisition.c
+4
-3
No files found.
lib/Components/ExtensionClass/src/Acquisition.c
View file @
1320bd4e
...
...
@@ -33,7 +33,7 @@
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.
$Id: Acquisition.c,v 1.5
7 2002/03/08 18:34:23
jeremy Exp $
$Id: Acquisition.c,v 1.5
8 2002/06/10 22:31:30
jeremy Exp $
If you have questions regarding this software,
contact:
...
...
@@ -216,8 +216,9 @@ newWrapper(PyObject *obj, PyObject *container, PyTypeObject *Wrappertype)
{
self
=
freeWrappers
;
freeWrappers
=
(
Wrapper
*
)
self
->
obj
;
_Py_NewReference
((
PyObject
*
)
self
);
assert
(
self
->
ob_refcnt
==
1
);
self
->
ob_type
=
Wrappertype
;
self
->
ob_refcnt
=
1
;
nWrappers
--
;
}
else
...
...
@@ -1546,7 +1547,7 @@ initAcquisition(void)
/* Create the module and add the functions */
m
=
Py_InitModule4
(
"Acquisition"
,
methods
,
"Provide base classes for acquiring objects
\n\n
"
"$Id: Acquisition.c,v 1.5
7 2002/03/08 18:34:23
jeremy Exp $
\n
"
,
"$Id: Acquisition.c,v 1.5
8 2002/06/10 22:31:30
jeremy Exp $
\n
"
,
OBJECT
(
NULL
),
PYTHON_API_VERSION
);
d
=
PyModule_GetDict
(
m
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment