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
bb99c5a8
Commit
bb99c5a8
authored
Nov 13, 2002
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix more includes before Python.h.
parent
e7f02120
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
9 deletions
+5
-9
src/BTrees/_fsBTree.c
src/BTrees/_fsBTree.c
+3
-5
src/ZODB/TimeStamp.c
src/ZODB/TimeStamp.c
+2
-4
No files found.
src/BTrees/_fsBTree.c
View file @
bb99c5a8
...
...
@@ -7,15 +7,13 @@
positions.
*/
#include <string.h>
typedef
unsigned
char
char2
[
2
];
typedef
unsigned
char
char6
[
6
];
/* Setup template macros */
#define MASTER_ID "$Id: _fsBTree.c,v 1.
4 2002/06/27 00:32:54 tim_one
Exp $\n"
#define MASTER_ID "$Id: _fsBTree.c,v 1.
5 2002/11/13 16:32:03 jeremy
Exp $\n"
#define PERSISTENT
...
...
@@ -26,7 +24,7 @@ typedef unsigned char char6[6];
/*#include "intkeymacros.h"*/
#define KEYMACROS_H "$Id: _fsBTree.c,v 1.
4 2002/06/27 00:32:54 tim_one
Exp $\n"
#define KEYMACROS_H "$Id: _fsBTree.c,v 1.
5 2002/11/13 16:32:03 jeremy
Exp $\n"
#define KEY_TYPE char2
#undef KEY_TYPE_IS_PYOBJECT
#define KEY_CHECK(K) (PyString_Check(K) && PyString_GET_SIZE(K)==2)
...
...
@@ -41,7 +39,7 @@ typedef unsigned char char6[6];
(STATUS)=0; }
/*#include "intvaluemacros.h"*/
#define VALUEMACROS_H "$Id: _fsBTree.c,v 1.
4 2002/06/27 00:32:54 tim_one
Exp $\n"
#define VALUEMACROS_H "$Id: _fsBTree.c,v 1.
5 2002/11/13 16:32:03 jeremy
Exp $\n"
#define VALUE_TYPE char6
#undef VALUE_TYPE_IS_PYOBJECT
#define TEST_VALUE(K, T) strncmp(K,T,6)
...
...
src/ZODB/TimeStamp.c
View file @
bb99c5a8
...
...
@@ -15,16 +15,14 @@
static
char
TimeStamp_module_documentation
[]
=
"Defines 64-bit TimeStamp objects used as ZODB serial numbers.
\n
"
"
\n
"
"
\n
$Id: TimeStamp.c,v 1.1
6 2002/10/07 17:54:27 gvanrossum
Exp $
\n
"
;
"
\n
$Id: TimeStamp.c,v 1.1
7 2002/11/13 16:32:03 jeremy
Exp $
\n
"
;
#include <stdlib.h>
#include <time.h>
#ifdef USE_EXTENSION_CLASS
#include "ExtensionClass.h"
#else
#include "Python.h"
#endif
#include <time.h>
/* ----------------------------------------------------- */
...
...
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