所以我使用类似的东西:
...
var o = myclass.o; // o is a property and o is a structure not class
o.modifyInternalParameter(a, b, c); // a, b, c were created somewhere before
myclass.o = o; // as you can see o has getter and setter.
...
如何创建一个功能包装器而不是调用 3 行代码调用一些
func(myclass.o, TypeOfO.modifyInternalParameter, {a, b, c}, returnValueIfmodifyInternalParameterHasOne);
?