OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # distutils language = c++ | 5 # distutils language = c++ |
6 | 6 |
7 cimport c_async_waiter | 7 cimport c_async_waiter |
8 cimport c_environment | 8 cimport c_environment |
9 cimport c_export # needed so the init function gets exported | 9 cimport c_export # needed so the init function gets exported |
10 cimport c_thunks | 10 cimport c_thunks |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 | 66 |
67 def __dealloc__(self): | 67 def __dealloc__(self): |
68 del self._c_async_waiter | 68 del self._c_async_waiter |
69 del self._cenvironment | 69 del self._cenvironment |
70 | 70 |
71 def AsyncWait(self, handle, signals, deadline, callback): | 71 def AsyncWait(self, handle, signals, deadline, callback): |
72 return self._c_async_waiter.AsyncWait(handle, signals, deadline, callback) | 72 return self._c_async_waiter.AsyncWait(handle, signals, deadline, callback) |
73 | 73 |
74 def CancelWait(self, wait_id): | 74 def CancelWait(self, wait_id): |
75 self._c_async_waiter.CancelWait(wait_id) | 75 self._c_async_waiter.CancelWait(wait_id) |
OLD | NEW |