-
-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reviewed By: carljm Differential Revision: D51032460 fbshipit-source-id: 522424b3d515f3c1b6f1f16a53bd882e91011640
- Loading branch information
1 parent
0cd6234
commit d5f7bef
Showing
17 changed files
with
1,147 additions
and
1,064 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#ifndef Py_CACHED_PROPERTIES_H | ||
#define Py_CACHED_PROPERTIES_H | ||
|
||
#include "Python.h" | ||
|
||
/* fb t46346203 */ | ||
typedef struct { | ||
PyObject_HEAD | ||
PyObject *func; /* function object */ | ||
PyObject *name_or_descr; /* str or member descriptor object */ | ||
} PyCachedPropertyDescrObject; | ||
/* end fb t46346203 */ | ||
|
||
/* fb T82701047 */ | ||
typedef struct { | ||
PyObject_HEAD | ||
PyObject *func; /* function object */ | ||
PyObject *name_or_descr; /* str or member descriptor object */ | ||
} PyAsyncCachedPropertyDescrObject; | ||
/* end fb T82701047 */ | ||
|
||
/* fb T82701047 */ | ||
typedef struct { | ||
PyObject_HEAD | ||
PyObject *func; /* function object */ | ||
PyObject *name; /* str or member descriptor object */ | ||
PyObject *value; /* value or NULL when uninitialized */ | ||
} PyAsyncCachedClassPropertyDescrObject; | ||
/* end fb T82701047 */ | ||
|
||
CiAPI_DATA(PyTypeObject) PyAsyncCachedPropertyWithDescr_Type; | ||
CiAPI_DATA(PyType_Spec) _PyCachedClassProperty_TypeSpec; /* fb t46346203 */ | ||
CiAPI_DATA(PyTypeObject) PyCachedProperty_Type; /* fb T46346203 */ | ||
CiAPI_DATA(PyTypeObject) PyCachedPropertyWithDescr_Type; /* fb T46346203 */ | ||
CiAPI_DATA(PyTypeObject) PyAsyncCachedProperty_Type; /* fb T82701047 */ | ||
CiAPI_DATA(PyTypeObject) PyAsyncCachedClassProperty_Type; /* fb T82701047 */ | ||
#endif /* !Py_CACHED_PROPERTIES_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../CachedProperties |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.