You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
- Python to 3.11.8 - OpenSubdiv to 3.6.0 - OpenUSD to 24.03 - Boost to 1.82 PythonFoundationPackages has been converted to pip-installer version, and dependencies updated against Python update #Jira UE-210678 #rb mark.winter matt.johnson brooke.hubert [CL 32566973 by brooke hubert in 5.4 branch]
22 lines
702 B
C
22 lines
702 B
C
#ifndef Py_CPYTHON_FLOATOBJECT_H
|
|
# error "this header file must not be included directly"
|
|
#endif
|
|
|
|
typedef struct {
|
|
PyObject_HEAD
|
|
double ob_fval;
|
|
} PyFloatObject;
|
|
|
|
// Macro version of PyFloat_AsDouble() trading safety for speed.
|
|
// It doesn't check if op is a double object.
|
|
#define PyFloat_AS_DOUBLE(op) (((PyFloatObject *)(op))->ob_fval)
|
|
|
|
|
|
PyAPI_FUNC(int) PyFloat_Pack2(double x, char *p, int le);
|
|
PyAPI_FUNC(int) PyFloat_Pack4(double x, char *p, int le);
|
|
PyAPI_FUNC(int) PyFloat_Pack8(double x, char *p, int le);
|
|
|
|
PyAPI_FUNC(double) PyFloat_Unpack2(const char *p, int le);
|
|
PyAPI_FUNC(double) PyFloat_Unpack4(const char *p, int le);
|
|
PyAPI_FUNC(double) PyFloat_Unpack8(const char *p, int le);
|