@@ -140,23 +140,23 @@ cdef class Loop:
140
140
self ._ready_len = 0
141
141
142
142
self .handler_async = UVAsync.new(
143
- self , < method_t* > & self ._on_wake, self )
143
+ self , < method_t> self ._on_wake, self )
144
144
145
145
self .handler_idle = UVIdle.new(
146
146
self ,
147
147
new_MethodHandle(
148
- self , " loop._on_idle" , < method_t* > & self ._on_idle, self ))
148
+ self , " loop._on_idle" , < method_t> self ._on_idle, self ))
149
149
150
150
self .handler_sigint = UVSignal.new(
151
151
self ,
152
152
new_MethodHandle(
153
- self , " loop._on_sigint" , < method_t* > & self ._on_sigint, self ),
153
+ self , " loop._on_sigint" , < method_t> self ._on_sigint, self ),
154
154
uv.SIGINT)
155
155
156
156
self .handler_sighup = UVSignal.new(
157
157
self ,
158
158
new_MethodHandle(
159
- self , " loop._on_sighup" , < method_t* > & self ._on_sighup, self ),
159
+ self , " loop._on_sighup" , < method_t> self ._on_sighup, self ),
160
160
uv.SIGHUP)
161
161
162
162
# Needed to call `UVStream._exec_write` for writes scheduled
@@ -165,7 +165,7 @@ cdef class Loop:
165
165
self ,
166
166
new_MethodHandle(
167
167
self , " loop._exec_queued_writes" ,
168
- < method_t* > & self ._exec_queued_writes, self ))
168
+ < method_t> self ._exec_queued_writes, self ))
169
169
170
170
uv.uv_disable_stdio_inheritance()
171
171
@@ -662,7 +662,7 @@ cdef class Loop:
662
662
handle = new_MethodHandle3(
663
663
self ,
664
664
" Loop._sock_sendall" ,
665
- < method3_t* > & self ._sock_sendall,
665
+ < method3_t> self ._sock_sendall,
666
666
self ,
667
667
fut, sock, data)
668
668
@@ -709,7 +709,7 @@ cdef class Loop:
709
709
handle = new_MethodHandle3(
710
710
self ,
711
711
" Loop._sock_connect" ,
712
- < method3_t* > & self ._sock_connect_cb,
712
+ < method3_t> self ._sock_connect_cb,
713
713
self ,
714
714
fut, sock, address)
715
715
@@ -995,7 +995,7 @@ cdef class Loop:
995
995
new_MethodHandle1(
996
996
self ,
997
997
" Loop._stop" ,
998
- < method1_t* > & self ._stop,
998
+ < method1_t> self ._stop,
999
999
self ,
1000
1000
None ))
1001
1001
@@ -1784,7 +1784,7 @@ cdef class Loop:
1784
1784
handle = new_MethodHandle3(
1785
1785
self ,
1786
1786
" Loop._sock_recv" ,
1787
- < method3_t* > & self ._sock_recv,
1787
+ < method3_t> self ._sock_recv,
1788
1788
self ,
1789
1789
fut, sock, n)
1790
1790
@@ -1834,7 +1834,7 @@ cdef class Loop:
1834
1834
handle = new_MethodHandle3(
1835
1835
self ,
1836
1836
" Loop._sock_sendall" ,
1837
- < method3_t* > & self ._sock_sendall,
1837
+ < method3_t> self ._sock_sendall,
1838
1838
self ,
1839
1839
fut, sock, data)
1840
1840
@@ -1863,7 +1863,7 @@ cdef class Loop:
1863
1863
handle = new_MethodHandle2(
1864
1864
self ,
1865
1865
" Loop._sock_accept" ,
1866
- < method2_t* > & self ._sock_accept,
1866
+ < method2_t> self ._sock_accept,
1867
1867
self ,
1868
1868
fut, sock)
1869
1869
0 commit comments