Commit b9f65a4d authored by gsamain's avatar gsamain Committed by Xavier Thompson

Make sync argument of reified methods const (only read lock needed)

parent bb1bcbc9
......@@ -2729,7 +2729,7 @@ class CppClassScope(Scope):
sync_type = Builtin.acthon_sync_type
activated_method_sync_attr_type = PyrexTypes.CFuncTypeArg(
"sync_method", sync_type, entry.pos, "sync_method")
"sync_method", PyrexTypes.CConstOrVolatileType(sync_type, is_const=1), entry.pos, "sync_method")
activated_method_type = PyrexTypes.CFuncType(result_type,
[activated_method_sync_attr_type] + entry.type.args, nogil=entry.type.nogil,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment