Beispiel #1
0
 public StructMemberTest(bool _Boolean, double _Primitive, IntPtr _PrimitivePtr, string _String, BlittableStruct _BlittableSt, ComplexStruct _ComplexSt, DummyClass _Object, NamedDelegate _NamedDelegate, Func <double, double> _GenericDelegate)
 {
     Boolean         = _Boolean;
     Primitive       = _Primitive;
     PrimitivePtr    = _PrimitivePtr;
     String          = _String;
     BlittableSt     = _BlittableSt;
     ComplexSt       = _ComplexSt;
     Object          = _Object;
     NamedDelegate   = _NamedDelegate;
     GenericDelegate = _GenericDelegate;
 }
Beispiel #2
0
        public ComplexStruct ComplexStructs(ComplexStruct inTest, out ComplexStruct outTest, ref ComplexStruct refTest)
        {
            Check();
            ABI.GluonTest.ComplexStruct outTest_abi;
            var refTest_abi = ABI.GluonTest.ComplexStruct.ToABI(refTest);

            ABI.GluonTest.ComplexStruct ___ret_abi;
            Native.Throw(_vt.ComplexStructs(IPtr, ABI.GluonTest.ComplexStruct.ToABI(inTest), out outTest_abi, ref refTest_abi, out ___ret_abi));
            outTest = ABI.GluonTest.ComplexStruct.FromABI(outTest_abi);
            refTest = ABI.GluonTest.ComplexStruct.FromABI(refTest_abi);
            return(ABI.GluonTest.ComplexStruct.FromABI(___ret_abi));
        }