@@ -140,23 +140,23 @@ cdef class Loop:
140140 self ._ready_len = 0
141141
142142 self .handler_async = UVAsync.new(
143- self , < method_t* > & self ._on_wake, self )
143+ self , < method_t> self ._on_wake, self )
144144
145145 self .handler_idle = UVIdle.new(
146146 self ,
147147 new_MethodHandle(
148- self , " loop._on_idle" , < method_t* > & self ._on_idle, self ))
148+ self , " loop._on_idle" , < method_t> self ._on_idle, self ))
149149
150150 self .handler_sigint = UVSignal.new(
151151 self ,
152152 new_MethodHandle(
153- self , " loop._on_sigint" , < method_t* > & self ._on_sigint, self ),
153+ self , " loop._on_sigint" , < method_t> self ._on_sigint, self ),
154154 uv.SIGINT)
155155
156156 self .handler_sighup = UVSignal.new(
157157 self ,
158158 new_MethodHandle(
159- self , " loop._on_sighup" , < method_t* > & self ._on_sighup, self ),
159+ self , " loop._on_sighup" , < method_t> self ._on_sighup, self ),
160160 uv.SIGHUP)
161161
162162 # Needed to call `UVStream._exec_write` for writes scheduled
@@ -165,7 +165,7 @@ cdef class Loop:
165165 self ,
166166 new_MethodHandle(
167167 self , " loop._exec_queued_writes" ,
168- < method_t* > & self ._exec_queued_writes, self ))
168+ < method_t> self ._exec_queued_writes, self ))
169169
170170 uv.uv_disable_stdio_inheritance()
171171
@@ -662,7 +662,7 @@ cdef class Loop:
662662 handle = new_MethodHandle3(
663663 self ,
664664 " Loop._sock_sendall" ,
665- < method3_t* > & self ._sock_sendall,
665+ < method3_t> self ._sock_sendall,
666666 self ,
667667 fut, sock, data)
668668
@@ -709,7 +709,7 @@ cdef class Loop:
709709 handle = new_MethodHandle3(
710710 self ,
711711 " Loop._sock_connect" ,
712- < method3_t* > & self ._sock_connect_cb,
712+ < method3_t> self ._sock_connect_cb,
713713 self ,
714714 fut, sock, address)
715715
@@ -995,7 +995,7 @@ cdef class Loop:
995995 new_MethodHandle1(
996996 self ,
997997 " Loop._stop" ,
998- < method1_t* > & self ._stop,
998+ < method1_t> self ._stop,
999999 self ,
10001000 None ))
10011001
@@ -1784,7 +1784,7 @@ cdef class Loop:
17841784 handle = new_MethodHandle3(
17851785 self ,
17861786 " Loop._sock_recv" ,
1787- < method3_t* > & self ._sock_recv,
1787+ < method3_t> self ._sock_recv,
17881788 self ,
17891789 fut, sock, n)
17901790
@@ -1834,7 +1834,7 @@ cdef class Loop:
18341834 handle = new_MethodHandle3(
18351835 self ,
18361836 " Loop._sock_sendall" ,
1837- < method3_t* > & self ._sock_sendall,
1837+ < method3_t> self ._sock_sendall,
18381838 self ,
18391839 fut, sock, data)
18401840
@@ -1863,7 +1863,7 @@ cdef class Loop:
18631863 handle = new_MethodHandle2(
18641864 self ,
18651865 " Loop._sock_accept" ,
1866- < method2_t* > & self ._sock_accept,
1866+ < method2_t> self ._sock_accept,
18671867 self ,
18681868 fut, sock)
18691869
0 commit comments