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
caf78379
Commit
caf78379
authored
Dec 10, 1996
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added remaining declarations needed/used in glmodule.c; keeps gcc -Wall happy.
parent
c1547d93
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
56 additions
and
10 deletions
+56
-10
Include/cgensupport.h
Include/cgensupport.h
+28
-5
Modules/cgensupport.h
Modules/cgensupport.h
+28
-5
No files found.
Include/cgensupport.h
View file @
caf78379
...
...
@@ -44,11 +44,34 @@ typedef char *string;
#define mknewfloatobject(x) PyFloat_FromDouble(x)
#define mknewcharobject(ch) Py_BuildValue("c", ch)
extern
int
PyArg_GetObject
Py_PROTO
((
PyObject
*
args
,
int
nargs
,
int
i
,
PyObject
**
p_a
));
extern
int
PyArg_GetLong
Py_PROTO
((
PyObject
*
args
,
int
nargs
,
int
i
,
long
*
p_a
));
extern
int
PyArg_GetShort
Py_PROTO
((
PyObject
*
args
,
int
nargs
,
int
i
,
short
*
p_a
));
extern
int
PyArg_GetFloat
Py_PROTO
((
PyObject
*
args
,
int
nargs
,
int
i
,
float
*
p_a
));
extern
int
PyArg_GetString
Py_PROTO
((
PyObject
*
args
,
int
nargs
,
int
i
,
string
*
p_a
));
extern
int
PyArg_GetObject
Py_PROTO
((
PyObject
*
args
,
int
nargs
,
int
i
,
PyObject
**
p_a
));
extern
int
PyArg_GetLong
Py_PROTO
((
PyObject
*
args
,
int
nargs
,
int
i
,
long
*
p_a
));
extern
int
PyArg_GetShort
Py_PROTO
((
PyObject
*
args
,
int
nargs
,
int
i
,
short
*
p_a
));
extern
int
PyArg_GetFloat
Py_PROTO
((
PyObject
*
args
,
int
nargs
,
int
i
,
float
*
p_a
));
extern
int
PyArg_GetString
Py_PROTO
((
PyObject
*
args
,
int
nargs
,
int
i
,
string
*
p_a
));
extern
int
PyArg_GetChar
Py_PROTO
((
PyObject
*
args
,
int
nargs
,
int
i
,
char
*
p_a
));
extern
int
PyArg_GetLongArray
Py_PROTO
((
PyObject
*
args
,
int
nargs
,
int
i
,
int
n
,
long
*
p_a
));
extern
int
PyArg_GetShortArray
Py_PROTO
((
PyObject
*
args
,
int
nargs
,
int
i
,
int
n
,
short
*
p_a
));
extern
int
PyArg_GetDoubleArray
Py_PROTO
((
PyObject
*
args
,
int
nargs
,
int
i
,
int
n
,
double
*
p_a
));
extern
int
PyArg_GetFloatArray
Py_PROTO
((
PyObject
*
args
,
int
nargs
,
int
i
,
int
n
,
float
*
p_a
));
extern
int
PyArg_GetLongArraySize
Py_PROTO
((
PyObject
*
args
,
int
nargs
,
int
i
,
long
*
p_a
));
extern
int
PyArg_GetShortArraySize
Py_PROTO
((
PyObject
*
args
,
int
nargs
,
int
i
,
short
*
p_a
));
extern
int
PyArg_GetDoubleArraySize
Py_PROTO
((
PyObject
*
args
,
int
nargs
,
int
i
,
double
*
p_a
));
extern
int
PyArg_GetFloatArraySize
Py_PROTO
((
PyObject
*
args
,
int
nargs
,
int
i
,
float
*
p_a
));
#ifdef __cplusplus
}
...
...
Modules/cgensupport.h
View file @
caf78379
...
...
@@ -44,11 +44,34 @@ typedef char *string;
#define mknewfloatobject(x) PyFloat_FromDouble(x)
#define mknewcharobject(ch) Py_BuildValue("c", ch)
extern
int
PyArg_GetObject
Py_PROTO
((
PyObject
*
args
,
int
nargs
,
int
i
,
PyObject
**
p_a
));
extern
int
PyArg_GetLong
Py_PROTO
((
PyObject
*
args
,
int
nargs
,
int
i
,
long
*
p_a
));
extern
int
PyArg_GetShort
Py_PROTO
((
PyObject
*
args
,
int
nargs
,
int
i
,
short
*
p_a
));
extern
int
PyArg_GetFloat
Py_PROTO
((
PyObject
*
args
,
int
nargs
,
int
i
,
float
*
p_a
));
extern
int
PyArg_GetString
Py_PROTO
((
PyObject
*
args
,
int
nargs
,
int
i
,
string
*
p_a
));
extern
int
PyArg_GetObject
Py_PROTO
((
PyObject
*
args
,
int
nargs
,
int
i
,
PyObject
**
p_a
));
extern
int
PyArg_GetLong
Py_PROTO
((
PyObject
*
args
,
int
nargs
,
int
i
,
long
*
p_a
));
extern
int
PyArg_GetShort
Py_PROTO
((
PyObject
*
args
,
int
nargs
,
int
i
,
short
*
p_a
));
extern
int
PyArg_GetFloat
Py_PROTO
((
PyObject
*
args
,
int
nargs
,
int
i
,
float
*
p_a
));
extern
int
PyArg_GetString
Py_PROTO
((
PyObject
*
args
,
int
nargs
,
int
i
,
string
*
p_a
));
extern
int
PyArg_GetChar
Py_PROTO
((
PyObject
*
args
,
int
nargs
,
int
i
,
char
*
p_a
));
extern
int
PyArg_GetLongArray
Py_PROTO
((
PyObject
*
args
,
int
nargs
,
int
i
,
int
n
,
long
*
p_a
));
extern
int
PyArg_GetShortArray
Py_PROTO
((
PyObject
*
args
,
int
nargs
,
int
i
,
int
n
,
short
*
p_a
));
extern
int
PyArg_GetDoubleArray
Py_PROTO
((
PyObject
*
args
,
int
nargs
,
int
i
,
int
n
,
double
*
p_a
));
extern
int
PyArg_GetFloatArray
Py_PROTO
((
PyObject
*
args
,
int
nargs
,
int
i
,
int
n
,
float
*
p_a
));
extern
int
PyArg_GetLongArraySize
Py_PROTO
((
PyObject
*
args
,
int
nargs
,
int
i
,
long
*
p_a
));
extern
int
PyArg_GetShortArraySize
Py_PROTO
((
PyObject
*
args
,
int
nargs
,
int
i
,
short
*
p_a
));
extern
int
PyArg_GetDoubleArraySize
Py_PROTO
((
PyObject
*
args
,
int
nargs
,
int
i
,
double
*
p_a
));
extern
int
PyArg_GetFloatArraySize
Py_PROTO
((
PyObject
*
args
,
int
nargs
,
int
i
,
float
*
p_a
));
#ifdef __cplusplus
}
...
...
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