public static StructMemberTest[] ToABI_Array(global::GluonTest.StructMemberTest[] x) { if (x == null) { return(null); } var r = new StructMemberTest[x.Length]; for (int i = 0; i < x.Length; i++) { r[i] = ToABI(x[i]); } return(r); }
public static global::GluonTest.StructMemberTest FromABI(StructMemberTest x) { return(new global::GluonTest.StructMemberTest { Boolean = x.Boolean, Primitive = x.Primitive, PrimitivePtr = x.PrimitivePtr, String = MConv_.FromABI_string(x.String), BlittableSt = x.BlittableSt, ComplexSt = ComplexStruct.FromABI(x.ComplexSt), Object = GluonObject.Of <global::GluonTest.DummyClass>(x.Object), NamedDelegate = ABI.GluonTest.D_BD6C0A4E.Wrap(x.NamedDelegate.Fn, x.NamedDelegate.Ctx), GenericDelegate = ABI.GluonTest.D_2945414F.Wrap(x.GenericDelegate.Fn, x.GenericDelegate.Ctx) }); }