Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(124)

Unified Diff: third_party/twisted_8_1/twisted/internet/iocpreactor/iocpsupport/connectex.pxi

Issue 12261012: Remove third_party/twisted_8_1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/twisted_8_1/twisted/internet/iocpreactor/iocpsupport/connectex.pxi
diff --git a/third_party/twisted_8_1/twisted/internet/iocpreactor/iocpsupport/connectex.pxi b/third_party/twisted_8_1/twisted/internet/iocpreactor/iocpsupport/connectex.pxi
deleted file mode 100644
index 65f074344dd5c24916086720ce4b1dcee0e86161..0000000000000000000000000000000000000000
--- a/third_party/twisted_8_1/twisted/internet/iocpreactor/iocpsupport/connectex.pxi
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright (c) 2008 Twisted Matrix Laboratories.
-# See LICENSE for details.
-
-
-def connect(long s, object addr, object obj):
- cdef int family, rc
- cdef myOVERLAPPED *ov
- cdef sockaddr name
-
- if not have_connectex:
- raise ValueError, 'ConnectEx is not available on this system'
-
- family = getAddrFamily(s)
- if family == AF_INET:
- fillinetaddr(<sockaddr_in *>&name, addr)
- else:
- raise ValueError, 'unsupported address family'
- name.sa_family = family
-
- ov = makeOV()
- if obj is not None:
- ov.obj = <PyObject *>obj
-
- rc = lpConnectEx(s, &name, sizeof(name), NULL, 0, NULL, <OVERLAPPED *>ov)
-
- if not rc:
- rc = WSAGetLastError()
- if rc != ERROR_IO_PENDING:
- return rc
-
- # operation is in progress
- Py_XINCREF(obj)
- return rc
-

Powered by Google App Engine
This is Rietveld 408576698