Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
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
Nicolas Wavrant
ZODB
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
Show 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 @@
...
@@ -7,15 +7,13 @@
positions.
positions.
*/
*/
#include <string.h>
typedef
unsigned
char
char2
[
2
];
typedef
unsigned
char
char2
[
2
];
typedef
unsigned
char
char6
[
6
];
typedef
unsigned
char
char6
[
6
];
/* Setup template macros */
/* 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
#define PERSISTENT
...
@@ -26,7 +24,7 @@ typedef unsigned char char6[6];
...
@@ -26,7 +24,7 @@ typedef unsigned char char6[6];
/*#include "intkeymacros.h"*/
/*#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
#define KEY_TYPE char2
#undef KEY_TYPE_IS_PYOBJECT
#undef KEY_TYPE_IS_PYOBJECT
#define KEY_CHECK(K) (PyString_Check(K) && PyString_GET_SIZE(K)==2)
#define KEY_CHECK(K) (PyString_Check(K) && PyString_GET_SIZE(K)==2)
...
@@ -41,7 +39,7 @@ typedef unsigned char char6[6];
...
@@ -41,7 +39,7 @@ typedef unsigned char char6[6];
(STATUS)=0; }
(STATUS)=0; }
/*#include "intvaluemacros.h"*/
/*#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
#define VALUE_TYPE char6
#undef VALUE_TYPE_IS_PYOBJECT
#undef VALUE_TYPE_IS_PYOBJECT
#define TEST_VALUE(K, T) strncmp(K,T,6)
#define TEST_VALUE(K, T) strncmp(K,T,6)
...
...
src/ZODB/TimeStamp.c
View file @
bb99c5a8
...
@@ -15,16 +15,14 @@
...
@@ -15,16 +15,14 @@
static
char
TimeStamp_module_documentation
[]
=
static
char
TimeStamp_module_documentation
[]
=
"Defines 64-bit TimeStamp objects used as ZODB serial numbers.
\n
"
"Defines 64-bit TimeStamp objects used as ZODB serial numbers.
\n
"
"
\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
#ifdef USE_EXTENSION_CLASS
#include "ExtensionClass.h"
#include "ExtensionClass.h"
#else
#else
#include "Python.h"
#include "Python.h"
#endif
#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