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]
45 lines
1.2 KiB
C
45 lines
1.2 KiB
C
/* Descriptors */
|
|
#ifndef Py_DESCROBJECT_H
|
|
#define Py_DESCROBJECT_H
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef PyObject *(*getter)(PyObject *, void *);
|
|
typedef int (*setter)(PyObject *, PyObject *, void *);
|
|
|
|
struct PyGetSetDef {
|
|
const char *name;
|
|
getter get;
|
|
setter set;
|
|
const char *doc;
|
|
void *closure;
|
|
};
|
|
|
|
PyAPI_DATA(PyTypeObject) PyClassMethodDescr_Type;
|
|
PyAPI_DATA(PyTypeObject) PyGetSetDescr_Type;
|
|
PyAPI_DATA(PyTypeObject) PyMemberDescr_Type;
|
|
PyAPI_DATA(PyTypeObject) PyMethodDescr_Type;
|
|
PyAPI_DATA(PyTypeObject) PyWrapperDescr_Type;
|
|
PyAPI_DATA(PyTypeObject) PyDictProxy_Type;
|
|
PyAPI_DATA(PyTypeObject) PyProperty_Type;
|
|
|
|
PyAPI_FUNC(PyObject *) PyDescr_NewMethod(PyTypeObject *, PyMethodDef *);
|
|
PyAPI_FUNC(PyObject *) PyDescr_NewClassMethod(PyTypeObject *, PyMethodDef *);
|
|
PyAPI_FUNC(PyObject *) PyDescr_NewMember(PyTypeObject *, PyMemberDef *);
|
|
PyAPI_FUNC(PyObject *) PyDescr_NewGetSet(PyTypeObject *, PyGetSetDef *);
|
|
|
|
PyAPI_FUNC(PyObject *) PyDictProxy_New(PyObject *);
|
|
PyAPI_FUNC(PyObject *) PyWrapper_New(PyObject *, PyObject *);
|
|
|
|
#ifndef Py_LIMITED_API
|
|
# define Py_CPYTHON_DESCROBJECT_H
|
|
# include "cpython/descrobject.h"
|
|
# undef Py_CPYTHON_DESCROBJECT_H
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif /* !Py_DESCROBJECT_H */
|