Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
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
ZEO
Commits
a6acfe63
Commit
a6acfe63
authored
Jul 18, 1997
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added PER_DEL so that subclasses can handle deallocation correctly.
parent
011741e3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
3 deletions
+15
-3
src/Persistence/cPersistence.h
src/Persistence/cPersistence.h
+5
-1
src/ZODB/cPersistence.h
src/ZODB/cPersistence.h
+5
-1
src/persistent/cPersistence.h
src/persistent/cPersistence.h
+5
-1
No files found.
src/Persistence/cPersistence.h
View file @
a6acfe63
/*
$Id: cPersistence.h,v 1.
6 1997/06/06 19:13:32
jim Exp $
$Id: cPersistence.h,v 1.
7 1997/07/18 14:15:39
jim Exp $
Definitions to facilitate making cPersistent subclasses in C.
...
...
@@ -56,6 +56,9 @@
$Log: cPersistence.h,v $
Revision 1.7 1997/07/18 14:15:39 jim
Added PER_DEL so that subclasses can handle deallocation correctly.
Revision 1.6 1997/06/06 19:13:32 jim
Changed/fixed convenience macros.
...
...
@@ -126,6 +129,7 @@ static cPersistenceCAPIstruct *cPersistenceCAPI;
#define PER_PREVENT_DEACTIVATION(O) ((O)->atime=(time_t)1);
#define PER_ALLOW_DEACTIVATION(O) ((O)->atime=time(NULL));
#define PER_DEL(O) Py_XDECREF((O)->jar)
#endif
...
...
src/ZODB/cPersistence.h
View file @
a6acfe63
/*
$Id: cPersistence.h,v 1.
6 1997/06/06 19:13:32
jim Exp $
$Id: cPersistence.h,v 1.
7 1997/07/18 14:15:39
jim Exp $
Definitions to facilitate making cPersistent subclasses in C.
...
...
@@ -56,6 +56,9 @@
$Log: cPersistence.h,v $
Revision 1.7 1997/07/18 14:15:39 jim
Added PER_DEL so that subclasses can handle deallocation correctly.
Revision 1.6 1997/06/06 19:13:32 jim
Changed/fixed convenience macros.
...
...
@@ -126,6 +129,7 @@ static cPersistenceCAPIstruct *cPersistenceCAPI;
#define PER_PREVENT_DEACTIVATION(O) ((O)->atime=(time_t)1);
#define PER_ALLOW_DEACTIVATION(O) ((O)->atime=time(NULL));
#define PER_DEL(O) Py_XDECREF((O)->jar)
#endif
...
...
src/persistent/cPersistence.h
View file @
a6acfe63
/*
$Id: cPersistence.h,v 1.
6 1997/06/06 19:13:32
jim Exp $
$Id: cPersistence.h,v 1.
7 1997/07/18 14:15:39
jim Exp $
Definitions to facilitate making cPersistent subclasses in C.
...
...
@@ -56,6 +56,9 @@
$Log: cPersistence.h,v $
Revision 1.7 1997/07/18 14:15:39 jim
Added PER_DEL so that subclasses can handle deallocation correctly.
Revision 1.6 1997/06/06 19:13:32 jim
Changed/fixed convenience macros.
...
...
@@ -126,6 +129,7 @@ static cPersistenceCAPIstruct *cPersistenceCAPI;
#define PER_PREVENT_DEACTIVATION(O) ((O)->atime=(time_t)1);
#define PER_ALLOW_DEACTIVATION(O) ((O)->atime=time(NULL));
#define PER_DEL(O) Py_XDECREF((O)->jar)
#endif
...
...
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