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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZEO
Commits
afdc1bbd
Commit
afdc1bbd
authored
Apr 22, 1997
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed object header layout.
parent
d27670f8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
27 deletions
+39
-27
src/Persistence/cPersistence.h
src/Persistence/cPersistence.h
+13
-9
src/ZODB/cPersistence.h
src/ZODB/cPersistence.h
+13
-9
src/persistent/cPersistence.h
src/persistent/cPersistence.h
+13
-9
No files found.
src/Persistence/cPersistence.h
View file @
afdc1bbd
/*
$Id: cPersistence.h,v 1.
1 1997/04/01 17:15:4
8 jim Exp $
$Id: cPersistence.h,v 1.
2 1997/04/22 02:40:2
8 jim Exp $
Definitions to facilitate making cPersistent subclasses in C.
...
...
@@ -56,6 +56,9 @@
$Log: cPersistence.h,v $
Revision 1.2 1997/04/22 02:40:28 jim
Changed object header layout.
Revision 1.1 1997/04/01 17:15:48 jim
*** empty log message ***
...
...
@@ -67,16 +70,12 @@
#include "ExtensionClass.h"
typedef
struct
{
PyObject_HEAD
time_t
value
;
}
PATimeobject
;
#define cPersistent_HEAD PyObject_HEAD \
PyObject *oid; \
PyObject *jar; \
PATimeobject *atime; \
int state;
int oid; \
int state; \
time_t atime; \
#define cPersistent_GHOST_STATE -1
#define cPersistent_UPTODATE_STATE 0
...
...
@@ -86,6 +85,11 @@ typedef struct {
cPersistent_HEAD
}
cPersistentObject
;
typedef
struct
{
PyObject_HEAD
cPersistentObject
*
object
;
}
PATimeobject
;
typedef
struct
{
PyMethodChain
*
methods
;
...
...
src/ZODB/cPersistence.h
View file @
afdc1bbd
/*
$Id: cPersistence.h,v 1.
1 1997/04/01 17:15:4
8 jim Exp $
$Id: cPersistence.h,v 1.
2 1997/04/22 02:40:2
8 jim Exp $
Definitions to facilitate making cPersistent subclasses in C.
...
...
@@ -56,6 +56,9 @@
$Log: cPersistence.h,v $
Revision 1.2 1997/04/22 02:40:28 jim
Changed object header layout.
Revision 1.1 1997/04/01 17:15:48 jim
*** empty log message ***
...
...
@@ -67,16 +70,12 @@
#include "ExtensionClass.h"
typedef
struct
{
PyObject_HEAD
time_t
value
;
}
PATimeobject
;
#define cPersistent_HEAD PyObject_HEAD \
PyObject *oid; \
PyObject *jar; \
PATimeobject *atime; \
int state;
int oid; \
int state; \
time_t atime; \
#define cPersistent_GHOST_STATE -1
#define cPersistent_UPTODATE_STATE 0
...
...
@@ -86,6 +85,11 @@ typedef struct {
cPersistent_HEAD
}
cPersistentObject
;
typedef
struct
{
PyObject_HEAD
cPersistentObject
*
object
;
}
PATimeobject
;
typedef
struct
{
PyMethodChain
*
methods
;
...
...
src/persistent/cPersistence.h
View file @
afdc1bbd
/*
$Id: cPersistence.h,v 1.
1 1997/04/01 17:15:4
8 jim Exp $
$Id: cPersistence.h,v 1.
2 1997/04/22 02:40:2
8 jim Exp $
Definitions to facilitate making cPersistent subclasses in C.
...
...
@@ -56,6 +56,9 @@
$Log: cPersistence.h,v $
Revision 1.2 1997/04/22 02:40:28 jim
Changed object header layout.
Revision 1.1 1997/04/01 17:15:48 jim
*** empty log message ***
...
...
@@ -67,16 +70,12 @@
#include "ExtensionClass.h"
typedef
struct
{
PyObject_HEAD
time_t
value
;
}
PATimeobject
;
#define cPersistent_HEAD PyObject_HEAD \
PyObject *oid; \
PyObject *jar; \
PATimeobject *atime; \
int state;
int oid; \
int state; \
time_t atime; \
#define cPersistent_GHOST_STATE -1
#define cPersistent_UPTODATE_STATE 0
...
...
@@ -86,6 +85,11 @@ typedef struct {
cPersistent_HEAD
}
cPersistentObject
;
typedef
struct
{
PyObject_HEAD
cPersistentObject
*
object
;
}
PATimeobject
;
typedef
struct
{
PyMethodChain
*
methods
;
...
...
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