summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2001-07-18 16:17:16 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2001-07-18 16:17:16 (GMT)
commitf0473d511b7f883bfff3048f55e3a6adc7a43cb9 (patch)
tree8239a8d19fe2851555ff96b250cad6e24760717d /Include
parent984158d25bd76fa33d4245e98f53c876f428d5f4 (diff)
downloadcpython-f0473d511b7f883bfff3048f55e3a6adc7a43cb9.zip
cpython-f0473d511b7f883bfff3048f55e3a6adc7a43cb9.tar.gz
cpython-f0473d511b7f883bfff3048f55e3a6adc7a43cb9.tar.bz2
Patch #412229: Add functions sys.getdlopenflags and sys.setdlopenflags.
Add dlopenflags to PyInterpreterState, and use it in dlopen calls.
Diffstat (limited to 'Include')
-rw-r--r--Include/pystate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Include/pystate.h b/Include/pystate.h
index 15a264c..41024e8 100644
--- a/Include/pystate.h
+++ b/Include/pystate.h
@@ -23,6 +23,9 @@ typedef struct _is {
PyObject *builtins;
int checkinterval;
+#ifdef HAVE_DLOPEN
+ int dlopenflags;
+#endif
} PyInterpreterState;