We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e1375d commit aca4f5eCopy full SHA for aca4f5e
mypyc/primitives/weakref_ops.py
@@ -20,3 +20,20 @@
20
c_function_name="PyWeakref_NewRef",
21
error_kind=ERR_MAGIC,
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
35
+ arg_types=[object_rprimitive, object_rprimitive],
36
37
38
39
0 commit comments