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
519b4339
Commit
519b4339
authored
Jul 21, 1996
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
renamed complex -> Py_complex
parent
5a849148
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
Include/complexobject.h
Include/complexobject.h
+10
-10
No files found.
Include/complexobject.h
View file @
519b4339
...
...
@@ -9,7 +9,7 @@ extern "C" {
typedef
struct
{
double
real
;
double
imag
;
}
complex
;
}
Py_
complex
;
/* Operations on complex numbers from complexmodule.c */
...
...
@@ -20,12 +20,12 @@ typedef struct {
#define c_quot _Py_c_quot
#define c_pow _Py_c_pow
extern
complex
c_sum
();
extern
complex
c_diff
();
extern
complex
c_neg
();
extern
complex
c_prod
();
extern
complex
c_quot
();
extern
complex
c_pow
();
extern
Py_
complex
c_sum
();
extern
Py_
complex
c_diff
();
extern
Py_
complex
c_neg
();
extern
Py_
complex
c_prod
();
extern
Py_
complex
c_quot
();
extern
Py_
complex
c_pow
();
/* Complex object interface */
...
...
@@ -37,19 +37,19 @@ real and imaginary parts.
typedef
struct
{
PyObject_HEAD
complex
cval
;
Py_
complex
cval
;
}
PyComplexObject
;
extern
DL_IMPORT
(
PyTypeObject
)
PyComplex_Type
;
#define PyComplex_Check(op) ((op)->ob_type == &PyComplex_Type)
extern
PyObject
*
PyComplex_FromCComplex
Py_PROTO
((
complex
));
extern
PyObject
*
PyComplex_FromCComplex
Py_PROTO
((
Py_
complex
));
extern
PyObject
*
PyComplex_FromDoubles
Py_PROTO
((
double
real
,
double
imag
));
extern
double
PyComplex_RealAsDouble
Py_PROTO
((
PyObject
*
op
));
extern
double
PyComplex_ImagAsDouble
Py_PROTO
((
PyObject
*
op
));
extern
complex
PyComplex_AsCComplex
Py_PROTO
((
PyObject
*
op
));
extern
Py_
complex
PyComplex_AsCComplex
Py_PROTO
((
PyObject
*
op
));
#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