Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
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
Zope
Commits
604c7013
Commit
604c7013
authored
Nov 23, 1998
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed license checks
parent
038c1774
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
33 deletions
+15
-33
lib/Components/BTree/BTree.c
lib/Components/BTree/BTree.c
+5
-4
lib/Components/BTree/intSet.c
lib/Components/BTree/intSet.c
+5
-4
lib/python/SearchIndex/Query.c
lib/python/SearchIndex/Query.c
+3
-21
lib/python/SearchIndex/Splitter.c
lib/python/SearchIndex/Splitter.c
+2
-4
No files found.
lib/Components/BTree/BTree.c
View file @
604c7013
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
static
char
BTree_module_documentation
[]
=
static
char
BTree_module_documentation
[]
=
""
""
"
\n
$Id: BTree.c,v 1.1
6 1998/03/24 15:17:44
jim Exp $"
"
\n
$Id: BTree.c,v 1.1
7 1998/11/23 11:45:39
jim Exp $"
;
;
#define PERSISTENT
#define PERSISTENT
...
@@ -1762,7 +1762,7 @@ initBTree()
...
@@ -1762,7 +1762,7 @@ initBTree()
#endif
#endif
{
{
PyObject
*
m
,
*
d
;
PyObject
*
m
,
*
d
;
char
*
rev
=
"$Revision: 1.1
6
$"
;
char
*
rev
=
"$Revision: 1.1
7
$"
;
UNLESS
(
PyExtensionClassCAPI
=
PyCObject_Import
(
"ExtensionClass"
,
"CAPI"
))
UNLESS
(
PyExtensionClassCAPI
=
PyCObject_Import
(
"ExtensionClass"
,
"CAPI"
))
return
;
return
;
...
@@ -1800,8 +1800,6 @@ initBTree()
...
@@ -1800,8 +1800,6 @@ initBTree()
PyString_FromStringAndSize
(
rev
+
11
,
strlen
(
rev
+
11
)
-
2
));
PyString_FromStringAndSize
(
rev
+
11
,
strlen
(
rev
+
11
)
-
2
));
#include "dcprotect.h"
/* Check for errors */
/* Check for errors */
if
(
PyErr_Occurred
())
if
(
PyErr_Occurred
())
Py_FatalError
(
"can't initialize module BTree"
);
Py_FatalError
(
"can't initialize module BTree"
);
...
@@ -1816,6 +1814,9 @@ initBTree()
...
@@ -1816,6 +1814,9 @@ initBTree()
Revision Log:
Revision Log:
$Log: BTree.c,v $
$Log: BTree.c,v $
Revision 1.17 1998/11/23 11:45:39 jim
removed license checks
Revision 1.16 1998/03/24 15:17:44 jim
Revision 1.16 1998/03/24 15:17:44 jim
Brought reinit/deactivate machinery up to date.
Brought reinit/deactivate machinery up to date.
...
...
lib/Components/BTree/intSet.c
View file @
604c7013
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
static
char
intSet_module_documentation
[]
=
static
char
intSet_module_documentation
[]
=
""
""
"
\n
$Id: intSet.c,v 1.
9 1998/03/24 15:17:34
jim Exp $"
"
\n
$Id: intSet.c,v 1.
10 1998/11/23 11:45:40
jim Exp $"
;
;
#include <limits.h>
#include <limits.h>
...
@@ -537,7 +537,7 @@ void
...
@@ -537,7 +537,7 @@ void
initintSet
()
initintSet
()
{
{
PyObject
*
m
,
*
d
;
PyObject
*
m
,
*
d
;
char
*
rev
=
"$Revision: 1.
9
$"
;
char
*
rev
=
"$Revision: 1.
10
$"
;
UNLESS
(
ExtensionClassImported
)
return
;
UNLESS
(
ExtensionClassImported
)
return
;
...
@@ -563,8 +563,6 @@ initintSet()
...
@@ -563,8 +563,6 @@ initintSet()
PyString_FromStringAndSize
(
rev
+
11
,
strlen
(
rev
+
11
)
-
2
));
PyString_FromStringAndSize
(
rev
+
11
,
strlen
(
rev
+
11
)
-
2
));
#include "dcprotect.h"
/* Check for errors */
/* Check for errors */
if
(
PyErr_Occurred
())
if
(
PyErr_Occurred
())
Py_FatalError
(
"can't initialize module intSet"
);
Py_FatalError
(
"can't initialize module intSet"
);
...
@@ -575,6 +573,9 @@ initintSet()
...
@@ -575,6 +573,9 @@ initintSet()
Revision Log:
Revision Log:
$Log: intSet.c,v $
$Log: intSet.c,v $
Revision 1.10 1998/11/23 11:45:40 jim
removed license checks
Revision 1.9 1998/03/24 15:17:34 jim
Revision 1.9 1998/03/24 15:17:34 jim
*** empty log message ***
*** empty log message ***
...
...
lib/python/SearchIndex/Query.c
View file @
604c7013
/*
/*
$Id: Query.c,v 1.
5 1997/11/13 20:38:37
jim Exp $
$Id: Query.c,v 1.
6 1998/11/23 11:50:38
jim Exp $
Query objects for building tests without python code generation.
Query objects for building tests without python code generation.
...
@@ -890,14 +890,14 @@ static char Query_module_documentation[] =
...
@@ -890,14 +890,14 @@ static char Query_module_documentation[] =
"against objects. Each object type define objects that can be called
\n
"
"against objects. Each object type define objects that can be called
\n
"
"with a single argument or with 'getitem' to check whether an object,
\n
"
"with a single argument or with 'getitem' to check whether an object,
\n
"
"such as a database record or a collection item satisfies a query.
\n
"
"such as a database record or a collection item satisfies a query.
\n
"
"
\n
$Id: Query.c,v 1.
5 1997/11/13 20:38:37
jim Exp $"
"
\n
$Id: Query.c,v 1.
6 1998/11/23 11:50:38
jim Exp $"
;
;
void
void
initQuery
()
initQuery
()
{
{
PyObject
*
m
,
*
d
,
*
regex
,
*
string
;
PyObject
*
m
,
*
d
,
*
regex
,
*
string
;
char
*
rev
=
"$Revision: 1.
5
$"
;
char
*
rev
=
"$Revision: 1.
6
$"
;
AttrTesttype
.
ob_type
=&
PyType_Type
;
AttrTesttype
.
ob_type
=&
PyType_Type
;
CompAttrTesttype
.
ob_type
=&
PyType_Type
;
CompAttrTesttype
.
ob_type
=&
PyType_Type
;
...
@@ -931,26 +931,8 @@ initQuery()
...
@@ -931,26 +931,8 @@ initQuery()
PyDict_SetItemString
(
d
,
"__version__"
,
PyDict_SetItemString
(
d
,
"__version__"
,
PyString_FromStringAndSize
(
rev
+
11
,
strlen
(
rev
+
11
)
-
2
));
PyString_FromStringAndSize
(
rev
+
11
,
strlen
(
rev
+
11
)
-
2
));
#include "dcprotect.h"
/* Check for errors */
/* Check for errors */
if
(
PyErr_Occurred
())
if
(
PyErr_Occurred
())
Py_FatalError
(
"can't initialize module BTree"
);
Py_FatalError
(
"can't initialize module BTree"
);
}
}
/****************************************************************************
$Log: Query.c,v $
Revision 1.5 1997/11/13 20:38:37 jim
added dcprotect
Revision 1.4 1997/03/23 01:33:50 jim
Added repr operations.
Revision 1.3 1997/03/22 14:56:35 jim
Added RCS keywords.
Rearranged init to handle errors better.
****************************************************************************/
lib/python/SearchIndex/Splitter.c
View file @
604c7013
...
@@ -396,7 +396,7 @@ static char Splitter_module_documentation[] =
...
@@ -396,7 +396,7 @@ static char Splitter_module_documentation[] =
"
\n
"
"
\n
"
"for use in an inverted index
\n
"
"for use in an inverted index
\n
"
"
\n
"
"
\n
"
"$Id: Splitter.c,v 1.
9 1998/04/08 13:38:04
jim Exp $
\n
"
"$Id: Splitter.c,v 1.
10 1998/11/23 11:50:38
jim Exp $
\n
"
;
;
...
@@ -404,7 +404,7 @@ void
...
@@ -404,7 +404,7 @@ void
initSplitter
()
initSplitter
()
{
{
PyObject
*
m
,
*
d
;
PyObject
*
m
,
*
d
;
char
*
rev
=
"$Revision: 1.
9
$"
;
char
*
rev
=
"$Revision: 1.
10
$"
;
/* Create the module and add the functions */
/* Create the module and add the functions */
m
=
Py_InitModule4
(
"Splitter"
,
Splitter_module_methods
,
m
=
Py_InitModule4
(
"Splitter"
,
Splitter_module_methods
,
...
@@ -416,7 +416,5 @@ initSplitter()
...
@@ -416,7 +416,5 @@ initSplitter()
PyDict_SetItemString
(
d
,
"__version__"
,
PyDict_SetItemString
(
d
,
"__version__"
,
PyString_FromStringAndSize
(
rev
+
11
,
strlen
(
rev
+
11
)
-
2
));
PyString_FromStringAndSize
(
rev
+
11
,
strlen
(
rev
+
11
)
-
2
));
#include "dcprotect.h"
if
(
PyErr_Occurred
())
Py_FatalError
(
"can't initialize module Splitter"
);
if
(
PyErr_Occurred
())
Py_FatalError
(
"can't initialize module Splitter"
);
}
}
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