summaryrefslogtreecommitdiffstats
path: root/Modules/socketmodule.h
diff options
context:
space:
mode:
authorErlend E. Aasland <erlend.aasland@protonmail.com>2023-04-09 01:03:52 (GMT)
committerGitHub <noreply@github.com>2023-04-09 01:03:52 (GMT)
commitf329a8bc1e57e454852f8887df6267b42047cd1b (patch)
tree0a903d8859c51548bda2f4a1f9d4e1a1b16bf356 /Modules/socketmodule.h
parent35167043e3a21055a94cf3de6ceccd1585554cb8 (diff)
downloadcpython-f329a8bc1e57e454852f8887df6267b42047cd1b.zip
cpython-f329a8bc1e57e454852f8887df6267b42047cd1b.tar.gz
cpython-f329a8bc1e57e454852f8887df6267b42047cd1b.tar.bz2
gh-103092: Isolate `socket` module (#103094)
Diffstat (limited to 'Modules/socketmodule.h')
-rw-r--r--Modules/socketmodule.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/socketmodule.h b/Modules/socketmodule.h
index f31ba53..f5ca004 100644
--- a/Modules/socketmodule.h
+++ b/Modules/socketmodule.h
@@ -322,6 +322,7 @@ typedef struct {
sets a Python exception */
_PyTime_t sock_timeout; /* Operation timeout in seconds;
0.0 means non-blocking */
+ struct _socket_state *state;
} PySocketSockObject;
/* --- C API ----------------------------------------------------*/