File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change 13
13
error_kind = ERR_MAGIC ,
14
14
)
15
15
16
- new_ref_op = function_op (
16
+ new_ref__with_callback_op = function_op (
17
17
name = "weakref.ReferenceType" ,
18
18
arg_types = [object_rprimitive , object_rprimitive ],
19
19
return_type = object_rprimitive ,
20
20
c_function_name = "PyWeakref_NewRef" ,
21
21
error_kind = ERR_MAGIC ,
22
22
)
23
+
24
+ new_proxy_op = function_op (
25
+ name = "weakref.ProxyType" ,
26
+ arg_types = [object_rprimitive ],
27
+ return_type = object_rprimitive ,
28
+ c_function_name = "PyWeakref_NewProxy" ,
29
+ extra_int_constants = [(0 , pointer_rprimitive )],
30
+ error_kind = ERR_MAGIC ,
31
+ )
32
+
33
+ new_proxy_with_callback_op = function_op (
34
+ name = "weakref.ProxyType" ,
35
+ arg_types = [object_rprimitive , object_rprimitive ],
36
+ return_type = object_rprimitive ,
37
+ c_function_name = "PyWeakref_NewProxy" ,
38
+ error_kind = ERR_MAGIC ,
39
+ )
You can’t perform that action at this time.
0 commit comments