Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
4f4b799b
Commit
4f4b799b
authored
Jun 29, 2000
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Jack Jansen: Use include "" instead of <>; and staticforward declarations
parent
e8d2d6b3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
Include/ucnhash.h
Include/ucnhash.h
+1
-1
Modules/ucnhash.c
Modules/ucnhash.c
+3
-3
Objects/unicodeobject.c
Objects/unicodeobject.c
+1
-1
No files found.
Include/ucnhash.h
View file @
4f4b799b
#include
<Python.h>
#include
"Python.h"
#include <stdlib.h>
/* --- C API ----------------------------------------------------*/
...
...
Modules/ucnhash.c
View file @
4f4b799b
#include
<ucnhash.h>
#include
"ucnhash.h"
/*
* The hash is produced using the algorithm described in
...
...
@@ -19,8 +19,8 @@
#define k_cKeys 10538
static
const
unsigned
short
G
[
k_cHashElements
];
static
const
_Py_UnicodeCharacterName
aucn
[
k_cKeys
];
static
forward
const
unsigned
short
G
[
k_cHashElements
];
static
forward
const
_Py_UnicodeCharacterName
aucn
[
k_cKeys
];
static
long
f1
(
const
char
*
key
,
unsigned
int
cch
)
{
...
...
Objects/unicodeobject.c
View file @
4f4b799b
...
...
@@ -66,7 +66,7 @@ Unicode Integration Proposal (see file Misc/unicode.txt).
#include "mymath.h"
#include "unicodeobject.h"
#include
<ucnhash.h>
#include
"ucnhash.h"
#if defined(HAVE_LIMITS_H)
#include <limits.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