py_applydict method
Apply a function to all items in the object's __dict__
.
Return true
if the function is successful for all items.
NOTE: Be careful if f
modifies the object's __dict__
.
Implementation
bool py_applydict(
py_Ref self,
ffi.Pointer<
ffi.NativeFunction<
ffi.Bool Function(
py_Name name, py_Ref val, ffi.Pointer<ffi.Void> ctx)>>
f,
ffi.Pointer<ffi.Void> ctx,
) {
return _py_applydict(
self,
f,
ctx,
);
}