diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2001-07-18 16:17:16 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2001-07-18 16:17:16 (GMT) |
commit | f0473d511b7f883bfff3048f55e3a6adc7a43cb9 (patch) | |
tree | 8239a8d19fe2851555ff96b250cad6e24760717d /Include/pystate.h | |
parent | 984158d25bd76fa33d4245e98f53c876f428d5f4 (diff) | |
download | cpython-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/pystate.h')
-rw-r--r-- | Include/pystate.h | 3 |
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; |