Пример #1
0
 public allocator()
 {
     __Instance = Marshal.AllocHGlobal(0);
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
     Internal.ctor_0((__Instance + __PointerAdjustment));
 }
		protected virtual void Dispose (bool disposing)
		{
			if (handle != IntPtr.Zero) {
				handle = IntPtr.Zero;
			}
			RemoveEveryObserver ();
		}
Пример #3
0
 public SourceLocation(CppSharp.Parser.SourceLocation _0)
     : this()
 {
     var __arg0 = _0.__Instance;
     var arg0 = new global::System.IntPtr(&__arg0);
     fixed (Internal* __instancePtr = &__instance)
     {
         Internal.cctor_2(new global::System.IntPtr(__instancePtr), arg0);
     }
 }
Пример #4
0
 internal RGB161616Image(global::System.IntPtr cPtr, bool cMemoryOwn) : base(VisionLabPINVOKE.RGB161616Image_SWIGUpcast(cPtr), cMemoryOwn)
 {
     swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
 }
Пример #5
0
 internal SWIGTYPE_p_f_p_XsCallbackPlainC_p_XsDevice__void(global::System.IntPtr cPtr, bool futureUse)
 {
     swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
 }
Пример #6
0
 protected NativeLibrary(NativeLibrary.Internal* native, bool isInternalImpl = false)
 {
     __Instance = new global::System.IntPtr(native);
 }
Пример #7
0
 public Comment(CppSharp.Parser.AST.Comment _0)
 {
     __Instance = Marshal.AllocHGlobal(4);
     __ownsNativeInstance = true;
     *((Comment.Internal*) __Instance) = *((Comment.Internal*) _0.__Instance);
     NativeToManagedMap[__Instance] = this;
 }
Пример #8
0
 public QualifiedType()
 {
     __Instance = Marshal.AllocHGlobal(16);
     __ownsNativeInstance = true;
     Internal.ctor_0(__Instance);
     NativeToManagedMap[__Instance] = this;
 }
Пример #9
0
 public BaseClassSpecifier(CppSharp.Parser.AST.BaseClassSpecifier _0)
 {
     __Instance = Marshal.AllocHGlobal(24);
     __ownsNativeInstance = true;
     *((BaseClassSpecifier.Internal*) __Instance) = *((BaseClassSpecifier.Internal*) _0.__Instance);
     NativeToManagedMap[__Instance] = this;
 }
Пример #10
0
        public static int SodiumMemcmp(__IntPtr b1_, __IntPtr b2_, ulong len)
        {
            var __ret = __Internal.SodiumMemcmp(b1_, b2_, len);

            return(__ret);
        }
Пример #11
0
 public Declaration(CppSharp.Parser.AST.DeclarationKind kind)
 {
     __Instance = Marshal.AllocHGlobal(168);
     __ownsNativeInstance = true;
     var arg0 = kind;
     Internal.ctor_0(__Instance, arg0);
     NativeToManagedMap[__Instance] = this;
 }
Пример #12
0
 internal static extern int SodiumMprotectReadwrite(__IntPtr ptr);
Пример #13
0
 public static void SodiumMemzero(__IntPtr pnt, ulong len)
 {
     __Internal.SodiumMemzero(pnt, len);
 }
Пример #14
0
 internal static extern int SodiumMprotectReadonly(__IntPtr ptr);
Пример #15
0
 internal static extern int SodiumMprotectNoaccess(__IntPtr ptr);
Пример #16
0
 internal static extern void SodiumFree(__IntPtr ptr);
Пример #17
0
 public VFTableInfo()
 {
     __Instance = Marshal.AllocHGlobal(40);
     __ownsNativeInstance = true;
     Internal.ctor_0(__Instance);
     NativeToManagedMap[__Instance] = this;
 }
Пример #18
0
 internal static extern int SodiumSetMisuseHandler(__IntPtr handler);
Пример #19
0
 public ClassLayout()
 {
     __Instance = Marshal.AllocHGlobal(88);
     __ownsNativeInstance = true;
     Internal.ctor_0(__Instance);
     NativeToManagedMap[__Instance] = this;
 }
Пример #20
0
        public static int SodiumMunlock(__IntPtr addr, ulong len)
        {
            var __ret = __Internal.SodiumMunlock(addr, len);

            return(__ret);
        }
Пример #21
0
 public TypeQualifiers()
 {
     __Instance = Marshal.AllocHGlobal(3);
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
 }
Пример #22
0
 public static void SodiumFree(__IntPtr ptr)
 {
     __Internal.SodiumFree(ptr);
 }
Пример #23
0
 protected BaseClassSpecifier(BaseClassSpecifier.Internal* native, bool isInternalImpl = false)
 {
     __Instance = new global::System.IntPtr(native);
 }
Пример #24
0
        public static int SodiumMprotectNoaccess(__IntPtr ptr)
        {
            var __ret = __Internal.SodiumMprotectNoaccess(ptr);

            return(__ret);
        }
Пример #25
0
 public FunctionTemplateSpecialization()
 {
     __Instance = Marshal.AllocHGlobal(48);
     __ownsNativeInstance = true;
     Internal.ctor_0(__Instance);
     NativeToManagedMap[__Instance] = this;
 }
Пример #26
0
        public static int SodiumMprotectReadwrite(__IntPtr ptr)
        {
            var __ret = __Internal.SodiumMprotectReadwrite(ptr);

            return(__ret);
        }
Пример #27
0
 public NativeLibrary(CppSharp.Parser.AST.NativeLibrary _0)
 {
     __Instance = Marshal.AllocHGlobal(80);
     __ownsNativeInstance = true;
     var arg0 = ReferenceEquals(_0, null) ? global::System.IntPtr.Zero : _0.__Instance;
     Internal.cctor_2(__Instance, arg0);
     NativeToManagedMap[__Instance] = this;
 }
Пример #28
0
 internal SdrShaderProperty(global::System.IntPtr cPtr, bool cMemoryOwn) : base(UsdCsPINVOKE.SdrShaderProperty_SWIGUpcast(cPtr), cMemoryOwn)
 {
     swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
 }
Пример #29
0
 public Argument()
 {
     __Instance = Marshal.AllocHGlobal(24);
     __ownsNativeInstance = true;
     Internal.ctor_0(__Instance);
     NativeToManagedMap[__Instance] = this;
 }
Пример #30
0
 public VTableComponent(CppSharp.Parser.AST.VTableComponent _0)
 {
     __Instance = Marshal.AllocHGlobal(16);
     __ownsNativeInstance = true;
     *((VTableComponent.Internal*) __Instance) = *((VTableComponent.Internal*) _0.__Instance);
     NativeToManagedMap[__Instance] = this;
 }
Пример #31
0
 internal static extern void SodiumMemzero(__IntPtr pnt, ulong len);
Пример #32
0
 internal MgArc(global::System.IntPtr cPtr, bool cMemoryOwn) : base(touchvgPINVOKE.MgArc_SWIGUpcast(cPtr), cMemoryOwn)
 {
     swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
 }
Пример #33
0
 public VTableComponent()
 {
     __Instance = Marshal.AllocHGlobal(16);
     __ownsNativeInstance = true;
     Internal.ctor_0(__Instance);
     NativeToManagedMap[__Instance] = this;
 }
Пример #34
0
 internal static extern int SodiumMemcmp(__IntPtr b1_, __IntPtr b2_, ulong len);
Пример #35
0
 protected VFTableInfo(VFTableInfo.Internal* native, bool isInternalImpl = false)
 {
     __Instance = new global::System.IntPtr(native);
 }
Пример #36
0
 internal static extern int SodiumMunlock(__IntPtr addr, ulong len);
Пример #37
0
 protected ClassLayout(ClassLayout.Internal* native, bool isInternalImpl = false)
 {
     __Instance = new global::System.IntPtr(native);
 }
Пример #38
0
 internal SWIGTYPE_p_RayObject(global::System.IntPtr cPtr, bool futureUse)
 {
     swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
 }
Пример #39
0
 protected Declaration(Declaration.Internal* native, bool isInternalImpl = false)
 {
     __Instance = new global::System.IntPtr(native);
 }
 internal DoubleBarrierOption(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NQuantLibcPINVOKE.DoubleBarrierOption_SWIGUpcast(cPtr), cMemoryOwn)
 {
     swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
 }
Пример #41
0
 public TypeQualifiers(CppSharp.Parser.AST.TypeQualifiers _0)
 {
     __Instance = Marshal.AllocHGlobal(3);
     __ownsNativeInstance = true;
     *((TypeQualifiers.Internal*) __Instance) = *((TypeQualifiers.Internal*) _0.__Instance);
     NativeToManagedMap[__Instance] = this;
 }
Пример #42
0
 internal CHSRspQueryLockVolumeField(global::System.IntPtr cPtr, bool cMemoryOwn)
 {
     swigCMemOwn = cMemoryOwn;
     swigCPtr    = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
 }
Пример #43
0
 protected QualifiedType(QualifiedType.Internal* native, bool isInternalImpl = false)
 {
     __Instance = new global::System.IntPtr(native);
 }
Пример #44
0
 ListOfUnitDefinitions clone() {
    global::System.IntPtr cPtr = libsbmlPINVOKE.ListOfUnitDefinitions_clone(swigCPtr);
    ListOfUnitDefinitions ret = (cPtr == global::System.IntPtr.Zero) ? null : new ListOfUnitDefinitions(cPtr, true);
    return ret;
  }
Пример #45
0
 public QualifiedType(CppSharp.Parser.AST.QualifiedType _0)
 {
     __Instance = Marshal.AllocHGlobal(16);
     __ownsNativeInstance = true;
     *((QualifiedType.Internal*) __Instance) = *((QualifiedType.Internal*) _0.__Instance);
     NativeToManagedMap[__Instance] = this;
 }
Пример #46
0
 UnitDefinition get(string sid) {
    global::System.IntPtr cPtr = libsbmlPINVOKE.ListOfUnitDefinitions_get__SWIG_2(swigCPtr, sid);
    UnitDefinition ret = (cPtr == global::System.IntPtr.Zero) ? null : new UnitDefinition(cPtr, false);
    return ret;
  }
Пример #47
0
 public BaseClassSpecifier()
 {
     __Instance = Marshal.AllocHGlobal(24);
     __ownsNativeInstance = true;
     Internal.ctor_0(__Instance);
     NativeToManagedMap[__Instance] = this;
 }
Пример #48
0
 UnitDefinition remove(string sid) {
    global::System.IntPtr cPtr = libsbmlPINVOKE.ListOfUnitDefinitions_remove__SWIG_1(swigCPtr, sid);
    UnitDefinition ret = (cPtr == global::System.IntPtr.Zero) ? null : new UnitDefinition(cPtr, true);
    return ret;
  }
Пример #49
0
 protected FunctionTemplateSpecialization(FunctionTemplateSpecialization.Internal* native, bool isInternalImpl = false)
 {
     __Instance = new global::System.IntPtr(native);
 }
Пример #50
0
 internal Business252(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NQuantLibcPINVOKE.Business252_SWIGUpcast(cPtr), cMemoryOwn)
 {
     swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
 }
Пример #51
0
 public FunctionTemplateSpecialization(CppSharp.Parser.AST.FunctionTemplateSpecialization _0)
 {
     __Instance = Marshal.AllocHGlobal(48);
     __ownsNativeInstance = true;
     var arg0 = ReferenceEquals(_0, null) ? global::System.IntPtr.Zero : _0.__Instance;
     Internal.cctor_2(__Instance, arg0);
     NativeToManagedMap[__Instance] = this;
 }
 internal FbxLayerElementArrayTemplateFbxVoidPtr(global::System.IntPtr cPtr, bool cMemoryOwn) : base(FbxWrapperNativePINVOKE.FbxLayerElementArrayTemplateFbxVoidPtr_SWIGUpcast(cPtr), cMemoryOwn)
 {
     swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
 }
Пример #53
0
 public NativeLibrary()
 {
     __Instance = Marshal.AllocHGlobal(80);
     __ownsNativeInstance = true;
     Internal.ctor_0(__Instance);
     NativeToManagedMap[__Instance] = this;
 }
Пример #54
0
 internal WirelessTypes(global::System.IntPtr cPtr, bool cMemoryOwn)
 {
     swigCMemOwn = cMemoryOwn;
     swigCPtr    = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
 }
Пример #55
0
 public Comment(CppSharp.Parser.AST.CommentKind kind)
 {
     __Instance = Marshal.AllocHGlobal(4);
     __ownsNativeInstance = true;
     var arg0 = kind;
     Internal.ctor_0(__Instance, arg0);
     NativeToManagedMap[__Instance] = this;
 }
Пример #56
0
 internal BlackVolTermStructureHandle(global::System.IntPtr cPtr, bool cMemoryOwn)
 {
     swigCMemOwn = cMemoryOwn;
     swigCPtr    = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
 }
Пример #57
0
 protected Argument(Argument.Internal* native, bool isInternalImpl = false)
 {
     __Instance = new global::System.IntPtr(native);
 }
Пример #58
0
 internal GlyphInfo(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn)
 {
 }
Пример #59
0
 public Argument(CppSharp.Parser.AST.BlockCommandComment.Argument _0)
 {
     __Instance = Marshal.AllocHGlobal(24);
     __ownsNativeInstance = true;
     var arg0 = ReferenceEquals(_0, null) ? global::System.IntPtr.Zero : _0.__Instance;
     Internal.cctor_2(__Instance, arg0);
     NativeToManagedMap[__Instance] = this;
 }
Пример #60
0
 internal TransportInfo(global::System.IntPtr cPtr, bool cMemoryOwn)
 {
     swigCMemOwn = cMemoryOwn;
     swigCPtr    = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
 }