]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Python/Python-2.7.2/Include/complexobject.h
edk2: Remove AppPkg, StdLib, StdLibPrivateInternalFiles
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.2 / Include / complexobject.h
diff --git a/AppPkg/Applications/Python/Python-2.7.2/Include/complexobject.h b/AppPkg/Applications/Python/Python-2.7.2/Include/complexobject.h
deleted file mode 100644 (file)
index 747048a..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-/* Complex number structure */\r
-\r
-#ifndef Py_COMPLEXOBJECT_H\r
-#define Py_COMPLEXOBJECT_H\r
-#ifdef __cplusplus\r
-extern "C" {\r
-#endif\r
-\r
-typedef struct {\r
-    double real;\r
-    double imag;\r
-} Py_complex;\r
-\r
-/* Operations on complex numbers from complexmodule.c */\r
-\r
-#define c_sum _Py_c_sum\r
-#define c_diff _Py_c_diff\r
-#define c_neg _Py_c_neg\r
-#define c_prod _Py_c_prod\r
-#define c_quot _Py_c_quot\r
-#define c_pow _Py_c_pow\r
-#define c_abs _Py_c_abs\r
-\r
-PyAPI_FUNC(Py_complex) c_sum(Py_complex, Py_complex);\r
-PyAPI_FUNC(Py_complex) c_diff(Py_complex, Py_complex);\r
-PyAPI_FUNC(Py_complex) c_neg(Py_complex);\r
-PyAPI_FUNC(Py_complex) c_prod(Py_complex, Py_complex);\r
-PyAPI_FUNC(Py_complex) c_quot(Py_complex, Py_complex);\r
-PyAPI_FUNC(Py_complex) c_pow(Py_complex, Py_complex);\r
-PyAPI_FUNC(double) c_abs(Py_complex);\r
-\r
-\r
-/* Complex object interface */\r
-\r
-/*\r
-PyComplexObject represents a complex number with double-precision\r
-real and imaginary parts.\r
-*/\r
-\r
-typedef struct {\r
-    PyObject_HEAD\r
-    Py_complex cval;\r
-} PyComplexObject;     \r
-\r
-PyAPI_DATA(PyTypeObject) PyComplex_Type;\r
-\r
-#define PyComplex_Check(op) PyObject_TypeCheck(op, &PyComplex_Type)\r
-#define PyComplex_CheckExact(op) (Py_TYPE(op) == &PyComplex_Type)\r
-\r
-PyAPI_FUNC(PyObject *) PyComplex_FromCComplex(Py_complex);\r
-PyAPI_FUNC(PyObject *) PyComplex_FromDoubles(double real, double imag);\r
-\r
-PyAPI_FUNC(double) PyComplex_RealAsDouble(PyObject *op);\r
-PyAPI_FUNC(double) PyComplex_ImagAsDouble(PyObject *op);\r
-PyAPI_FUNC(Py_complex) PyComplex_AsCComplex(PyObject *op);\r
-\r
-/* Format the object based on the format_spec, as defined in PEP 3101\r
-   (Advanced String Formatting). */\r
-PyAPI_FUNC(PyObject *) _PyComplex_FormatAdvanced(PyObject *obj,\r
-                                                 char *format_spec,\r
-                                                 Py_ssize_t format_spec_len);\r
-\r
-#ifdef __cplusplus\r
-}\r
-#endif\r
-#endif /* !Py_COMPLEXOBJECT_H */\r