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
91ca66d0
Commit
91ca66d0
authored
Sep 18, 1997
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added attribute, _p_state.
parent
cf59e26a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
9 deletions
+30
-9
src/Persistence/cPersistence.c
src/Persistence/cPersistence.c
+10
-3
src/ZODB/cPersistence.c
src/ZODB/cPersistence.c
+10
-3
src/persistent/cPersistence.c
src/persistent/cPersistence.c
+10
-3
No files found.
src/Persistence/cPersistence.c
View file @
91ca66d0
/*
$Id: cPersistence.c,v 1.1
8 1997/07/18 14:14:02
jim Exp $
$Id: cPersistence.c,v 1.1
9 1997/09/18 19:53:46
jim Exp $
C Persistence Module
...
...
@@ -56,7 +56,7 @@
*****************************************************************************/
static
char
*
what_string
=
"$Id: cPersistence.c,v 1.1
8 1997/07/18 14:14:02
jim Exp $"
;
static
char
*
what_string
=
"$Id: cPersistence.c,v 1.1
9 1997/09/18 19:53:46
jim Exp $"
;
#include <time.h>
#include "cPersistence.h"
...
...
@@ -722,6 +722,10 @@ Per_getattr(cPersistentObject *self, PyObject *oname, char *name,
return
Py_None
;
}
break
;
case
's'
:
if
(
strcmp
(
n
,
"tate"
)
==
0
)
return
PyInt_FromLong
(
self
->
state
);
break
;
}
return
getattrf
((
PyObject
*
)
self
,
oname
);
...
...
@@ -936,7 +940,7 @@ void
initcPersistence
()
{
PyObject
*
m
,
*
d
;
char
*
rev
=
"$Revision: 1.1
8
$"
;
char
*
rev
=
"$Revision: 1.1
9
$"
;
PATimeType
.
ob_type
=&
PyType_Type
;
...
...
@@ -963,6 +967,9 @@ initcPersistence()
/****************************************************************************
$Log: cPersistence.c,v $
Revision 1.19 1997/09/18 19:53:46 jim
Added attribute, _p_state.
Revision 1.18 1997/07/18 14:14:02 jim
Fixed bug in handling delete of certain special attributes.
...
...
src/ZODB/cPersistence.c
View file @
91ca66d0
/*
$Id: cPersistence.c,v 1.1
8 1997/07/18 14:14:02
jim Exp $
$Id: cPersistence.c,v 1.1
9 1997/09/18 19:53:46
jim Exp $
C Persistence Module
...
...
@@ -56,7 +56,7 @@
*****************************************************************************/
static
char
*
what_string
=
"$Id: cPersistence.c,v 1.1
8 1997/07/18 14:14:02
jim Exp $"
;
static
char
*
what_string
=
"$Id: cPersistence.c,v 1.1
9 1997/09/18 19:53:46
jim Exp $"
;
#include <time.h>
#include "cPersistence.h"
...
...
@@ -722,6 +722,10 @@ Per_getattr(cPersistentObject *self, PyObject *oname, char *name,
return
Py_None
;
}
break
;
case
's'
:
if
(
strcmp
(
n
,
"tate"
)
==
0
)
return
PyInt_FromLong
(
self
->
state
);
break
;
}
return
getattrf
((
PyObject
*
)
self
,
oname
);
...
...
@@ -936,7 +940,7 @@ void
initcPersistence
()
{
PyObject
*
m
,
*
d
;
char
*
rev
=
"$Revision: 1.1
8
$"
;
char
*
rev
=
"$Revision: 1.1
9
$"
;
PATimeType
.
ob_type
=&
PyType_Type
;
...
...
@@ -963,6 +967,9 @@ initcPersistence()
/****************************************************************************
$Log: cPersistence.c,v $
Revision 1.19 1997/09/18 19:53:46 jim
Added attribute, _p_state.
Revision 1.18 1997/07/18 14:14:02 jim
Fixed bug in handling delete of certain special attributes.
...
...
src/persistent/cPersistence.c
View file @
91ca66d0
/*
$Id: cPersistence.c,v 1.1
8 1997/07/18 14:14:02
jim Exp $
$Id: cPersistence.c,v 1.1
9 1997/09/18 19:53:46
jim Exp $
C Persistence Module
...
...
@@ -56,7 +56,7 @@
*****************************************************************************/
static
char
*
what_string
=
"$Id: cPersistence.c,v 1.1
8 1997/07/18 14:14:02
jim Exp $"
;
static
char
*
what_string
=
"$Id: cPersistence.c,v 1.1
9 1997/09/18 19:53:46
jim Exp $"
;
#include <time.h>
#include "cPersistence.h"
...
...
@@ -722,6 +722,10 @@ Per_getattr(cPersistentObject *self, PyObject *oname, char *name,
return
Py_None
;
}
break
;
case
's'
:
if
(
strcmp
(
n
,
"tate"
)
==
0
)
return
PyInt_FromLong
(
self
->
state
);
break
;
}
return
getattrf
((
PyObject
*
)
self
,
oname
);
...
...
@@ -936,7 +940,7 @@ void
initcPersistence
()
{
PyObject
*
m
,
*
d
;
char
*
rev
=
"$Revision: 1.1
8
$"
;
char
*
rev
=
"$Revision: 1.1
9
$"
;
PATimeType
.
ob_type
=&
PyType_Type
;
...
...
@@ -963,6 +967,9 @@ initcPersistence()
/****************************************************************************
$Log: cPersistence.c,v $
Revision 1.19 1997/09/18 19:53:46 jim
Added attribute, _p_state.
Revision 1.18 1997/07/18 14:14:02 jim
Fixed bug in handling delete of certain special attributes.
...
...
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