Ejemplo n.º 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 ();
		}
Ejemplo n.º 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);
     }
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 6
0
 protected NativeLibrary(NativeLibrary.Internal* native, bool isInternalImpl = false)
 {
     __Instance = new global::System.IntPtr(native);
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 8
0
 public QualifiedType()
 {
     __Instance = Marshal.AllocHGlobal(16);
     __ownsNativeInstance = true;
     Internal.ctor_0(__Instance);
     NativeToManagedMap[__Instance] = this;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 10
0
        public static int SodiumMemcmp(__IntPtr b1_, __IntPtr b2_, ulong len)
        {
            var __ret = __Internal.SodiumMemcmp(b1_, b2_, len);

            return(__ret);
        }
Ejemplo n.º 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;
 }
Ejemplo n.º 12
0
 internal static extern int SodiumMprotectReadwrite(__IntPtr ptr);
Ejemplo n.º 13
0
 public static void SodiumMemzero(__IntPtr pnt, ulong len)
 {
     __Internal.SodiumMemzero(pnt, len);
 }
Ejemplo n.º 14
0
 internal static extern int SodiumMprotectReadonly(__IntPtr ptr);
Ejemplo n.º 15
0
 internal static extern int SodiumMprotectNoaccess(__IntPtr ptr);
Ejemplo n.º 16
0
 internal static extern void SodiumFree(__IntPtr ptr);
Ejemplo n.º 17
0
 public VFTableInfo()
 {
     __Instance = Marshal.AllocHGlobal(40);
     __ownsNativeInstance = true;
     Internal.ctor_0(__Instance);
     NativeToManagedMap[__Instance] = this;
 }
Ejemplo n.º 18
0
 internal static extern int SodiumSetMisuseHandler(__IntPtr handler);
Ejemplo n.º 19
0
 public ClassLayout()
 {
     __Instance = Marshal.AllocHGlobal(88);
     __ownsNativeInstance = true;
     Internal.ctor_0(__Instance);
     NativeToManagedMap[__Instance] = this;
 }
Ejemplo n.º 20
0
        public static int SodiumMunlock(__IntPtr addr, ulong len)
        {
            var __ret = __Internal.SodiumMunlock(addr, len);

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

            return(__ret);
        }
Ejemplo n.º 25
0
 public FunctionTemplateSpecialization()
 {
     __Instance = Marshal.AllocHGlobal(48);
     __ownsNativeInstance = true;
     Internal.ctor_0(__Instance);
     NativeToManagedMap[__Instance] = this;
 }
Ejemplo n.º 26
0
        public static int SodiumMprotectReadwrite(__IntPtr ptr)
        {
            var __ret = __Internal.SodiumMprotectReadwrite(ptr);

            return(__ret);
        }
Ejemplo n.º 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;
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 29
0
 public Argument()
 {
     __Instance = Marshal.AllocHGlobal(24);
     __ownsNativeInstance = true;
     Internal.ctor_0(__Instance);
     NativeToManagedMap[__Instance] = this;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 31
0
 internal static extern void SodiumMemzero(__IntPtr pnt, ulong len);
Ejemplo n.º 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);
 }
Ejemplo n.º 33
0
 public VTableComponent()
 {
     __Instance = Marshal.AllocHGlobal(16);
     __ownsNativeInstance = true;
     Internal.ctor_0(__Instance);
     NativeToManagedMap[__Instance] = this;
 }
Ejemplo n.º 34
0
 internal static extern int SodiumMemcmp(__IntPtr b1_, __IntPtr b2_, ulong len);
Ejemplo n.º 35
0
 protected VFTableInfo(VFTableInfo.Internal* native, bool isInternalImpl = false)
 {
     __Instance = new global::System.IntPtr(native);
 }
Ejemplo n.º 36
0
 internal static extern int SodiumMunlock(__IntPtr addr, ulong len);
Ejemplo n.º 37
0
 protected ClassLayout(ClassLayout.Internal* native, bool isInternalImpl = false)
 {
     __Instance = new global::System.IntPtr(native);
 }
Ejemplo n.º 38
0
 internal SWIGTYPE_p_RayObject(global::System.IntPtr cPtr, bool futureUse)
 {
     swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
 }
Ejemplo n.º 39
0
 protected Declaration(Declaration.Internal* native, bool isInternalImpl = false)
 {
     __Instance = new global::System.IntPtr(native);
 }
Ejemplo n.º 40
0
 internal DoubleBarrierOption(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NQuantLibcPINVOKE.DoubleBarrierOption_SWIGUpcast(cPtr), cMemoryOwn)
 {
     swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 42
0
 internal CHSRspQueryLockVolumeField(global::System.IntPtr cPtr, bool cMemoryOwn)
 {
     swigCMemOwn = cMemoryOwn;
     swigCPtr    = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
 }
Ejemplo n.º 43
0
 protected QualifiedType(QualifiedType.Internal* native, bool isInternalImpl = false)
 {
     __Instance = new global::System.IntPtr(native);
 }
Ejemplo n.º 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;
  }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
  }
Ejemplo n.º 47
0
 public BaseClassSpecifier()
 {
     __Instance = Marshal.AllocHGlobal(24);
     __ownsNativeInstance = true;
     Internal.ctor_0(__Instance);
     NativeToManagedMap[__Instance] = this;
 }
Ejemplo n.º 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;
  }
Ejemplo n.º 49
0
 protected FunctionTemplateSpecialization(FunctionTemplateSpecialization.Internal* native, bool isInternalImpl = false)
 {
     __Instance = new global::System.IntPtr(native);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 53
0
 public NativeLibrary()
 {
     __Instance = Marshal.AllocHGlobal(80);
     __ownsNativeInstance = true;
     Internal.ctor_0(__Instance);
     NativeToManagedMap[__Instance] = this;
 }
Ejemplo n.º 54
0
 internal WirelessTypes(global::System.IntPtr cPtr, bool cMemoryOwn)
 {
     swigCMemOwn = cMemoryOwn;
     swigCPtr    = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 56
0
 internal BlackVolTermStructureHandle(global::System.IntPtr cPtr, bool cMemoryOwn)
 {
     swigCMemOwn = cMemoryOwn;
     swigCPtr    = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
 }
Ejemplo n.º 57
0
 protected Argument(Argument.Internal* native, bool isInternalImpl = false)
 {
     __Instance = new global::System.IntPtr(native);
 }
Ejemplo n.º 58
0
 internal GlyphInfo(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn)
 {
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 60
0
 internal TransportInfo(global::System.IntPtr cPtr, bool cMemoryOwn)
 {
     swigCMemOwn = cMemoryOwn;
     swigCPtr    = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
 }