Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d6ad75 commit 6695ba8Copy full SHA for 6695ba8
1 file changed
Include/object.h
@@ -488,6 +488,13 @@ given type object has a specified feature.
488
/* Objects support garbage collection (see objimp.h) */
489
#define Py_TPFLAGS_HAVE_GC (1L<<14)
490
491
+/* Objects support special, non-recursive calls (reserved for Stackless) */
492
+#ifdef STACKLESS
493
+#define Py_TPFLAGS_HAVE_NR_THINGS (1L<<31)
494
+#else
495
+#define Py_TPFLAGS_HAVE_NR_THINGS 0
496
+#endif
497
+
498
#define Py_TPFLAGS_DEFAULT ( \
499
Py_TPFLAGS_HAVE_GETCHARBUFFER | \
500
Py_TPFLAGS_HAVE_SEQUENCE_IN | \
@@ -496,6 +503,7 @@ given type object has a specified feature.
503
Py_TPFLAGS_HAVE_WEAKREFS | \
504
Py_TPFLAGS_HAVE_ITER | \
505
Py_TPFLAGS_HAVE_CLASS | \
506
+ Py_TPFLAGS_HAVE_NR_THINGS | \
507
0)
508
501
509
#define PyType_HasFeature(t,f) (((t)->tp_flags & (f)) != 0)
0 commit comments