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
5a97a90e
Commit
5a97a90e
authored
Mar 14, 1997
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed the way Per_setstate was exported to get rid of compilation
error.
parent
61414401
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
12 deletions
+30
-12
src/Persistence/cPersistence.c
src/Persistence/cPersistence.c
+10
-4
src/ZODB/cPersistence.c
src/ZODB/cPersistence.c
+10
-4
src/persistent/cPersistence.c
src/persistent/cPersistence.c
+10
-4
No files found.
src/Persistence/cPersistence.c
View file @
5a97a90e
/*
$Id: cPersistence.c,v 1.
4 1997/03/14 22:51:40
jim Exp $
$Id: cPersistence.c,v 1.
5 1997/03/14 22:59:34
jim Exp $
C Persistence Module
...
...
@@ -56,7 +56,7 @@
*****************************************************************************/
static
char
*
what_string
=
"$Id: cPersistence.c,v 1.
4 1997/03/14 22:51:40
jim Exp $"
;
static
char
*
what_string
=
"$Id: cPersistence.c,v 1.
5 1997/03/14 22:59:34
jim Exp $"
;
#include <time.h>
#include "cPersistence.h"
...
...
@@ -705,20 +705,22 @@ static struct PyMethodDef cP_methods[] = {
/* Initialization function for the module (*must* be called initcPersistence) */
typedef
int
(
*
intfunctionwithpythonarg
)(
PyObject
*
);
static
cPersistenceCAPIstruct
truecPersistenceCAPI
=
{
&
(
Pertype
.
methods
),
(
getattrofunc
)
Per_getattro
,
/*tp_getattr with object key*/
(
setattrofunc
)
Per_setattro
,
/*tp_setattr with object key*/
changed
,
Per_setstate
,
(
intfunctionwithpythonarg
)
Per_setstate
,
};
void
initcPersistence
()
{
PyObject
*
m
,
*
d
;
char
*
rev
=
"$Revision: 1.
4
$"
;
char
*
rev
=
"$Revision: 1.
5
$"
;
PATimeType
.
ob_type
=&
PyType_Type
;
...
...
@@ -745,6 +747,10 @@ initcPersistence()
/****************************************************************************
$Log: cPersistence.c,v $
Revision 1.5 1997/03/14 22:59:34 jim
Changed the way Per_setstate was exported to get rid of compilation
error.
Revision 1.4 1997/03/14 22:51:40 jim
Added exported C interface, so that other C classes could subclass
from it.
...
...
src/ZODB/cPersistence.c
View file @
5a97a90e
/*
$Id: cPersistence.c,v 1.
4 1997/03/14 22:51:40
jim Exp $
$Id: cPersistence.c,v 1.
5 1997/03/14 22:59:34
jim Exp $
C Persistence Module
...
...
@@ -56,7 +56,7 @@
*****************************************************************************/
static
char
*
what_string
=
"$Id: cPersistence.c,v 1.
4 1997/03/14 22:51:40
jim Exp $"
;
static
char
*
what_string
=
"$Id: cPersistence.c,v 1.
5 1997/03/14 22:59:34
jim Exp $"
;
#include <time.h>
#include "cPersistence.h"
...
...
@@ -705,20 +705,22 @@ static struct PyMethodDef cP_methods[] = {
/* Initialization function for the module (*must* be called initcPersistence) */
typedef
int
(
*
intfunctionwithpythonarg
)(
PyObject
*
);
static
cPersistenceCAPIstruct
truecPersistenceCAPI
=
{
&
(
Pertype
.
methods
),
(
getattrofunc
)
Per_getattro
,
/*tp_getattr with object key*/
(
setattrofunc
)
Per_setattro
,
/*tp_setattr with object key*/
changed
,
Per_setstate
,
(
intfunctionwithpythonarg
)
Per_setstate
,
};
void
initcPersistence
()
{
PyObject
*
m
,
*
d
;
char
*
rev
=
"$Revision: 1.
4
$"
;
char
*
rev
=
"$Revision: 1.
5
$"
;
PATimeType
.
ob_type
=&
PyType_Type
;
...
...
@@ -745,6 +747,10 @@ initcPersistence()
/****************************************************************************
$Log: cPersistence.c,v $
Revision 1.5 1997/03/14 22:59:34 jim
Changed the way Per_setstate was exported to get rid of compilation
error.
Revision 1.4 1997/03/14 22:51:40 jim
Added exported C interface, so that other C classes could subclass
from it.
...
...
src/persistent/cPersistence.c
View file @
5a97a90e
/*
$Id: cPersistence.c,v 1.
4 1997/03/14 22:51:40
jim Exp $
$Id: cPersistence.c,v 1.
5 1997/03/14 22:59:34
jim Exp $
C Persistence Module
...
...
@@ -56,7 +56,7 @@
*****************************************************************************/
static
char
*
what_string
=
"$Id: cPersistence.c,v 1.
4 1997/03/14 22:51:40
jim Exp $"
;
static
char
*
what_string
=
"$Id: cPersistence.c,v 1.
5 1997/03/14 22:59:34
jim Exp $"
;
#include <time.h>
#include "cPersistence.h"
...
...
@@ -705,20 +705,22 @@ static struct PyMethodDef cP_methods[] = {
/* Initialization function for the module (*must* be called initcPersistence) */
typedef
int
(
*
intfunctionwithpythonarg
)(
PyObject
*
);
static
cPersistenceCAPIstruct
truecPersistenceCAPI
=
{
&
(
Pertype
.
methods
),
(
getattrofunc
)
Per_getattro
,
/*tp_getattr with object key*/
(
setattrofunc
)
Per_setattro
,
/*tp_setattr with object key*/
changed
,
Per_setstate
,
(
intfunctionwithpythonarg
)
Per_setstate
,
};
void
initcPersistence
()
{
PyObject
*
m
,
*
d
;
char
*
rev
=
"$Revision: 1.
4
$"
;
char
*
rev
=
"$Revision: 1.
5
$"
;
PATimeType
.
ob_type
=&
PyType_Type
;
...
...
@@ -745,6 +747,10 @@ initcPersistence()
/****************************************************************************
$Log: cPersistence.c,v $
Revision 1.5 1997/03/14 22:59:34 jim
Changed the way Per_setstate was exported to get rid of compilation
error.
Revision 1.4 1997/03/14 22:51:40 jim
Added exported C interface, so that other C classes could subclass
from it.
...
...
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