Example #1
0
    public virtual void Dispose()
    {
        AkThreadProperties properties = this;

        lock (properties)
        {
            if (this.swigCPtr != IntPtr.Zero)
            {
                if (this.swigCMemOwn)
                {
                    this.swigCMemOwn = false;
                    AkSoundEnginePINVOKE.CSharp_delete_AkThreadProperties(this.swigCPtr);
                }
                this.swigCPtr = IntPtr.Zero;
            }
            GC.SuppressFinalize(this);
        }
    }
Example #2
0
 internal static IntPtr getCPtr(AkThreadProperties obj)
 {
     return((obj == null) ? IntPtr.Zero : obj.swigCPtr);
 }
 internal static HandleRef getCPtr(AkThreadProperties obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
 internal static global::System.IntPtr getCPtr(AkThreadProperties obj)
 {
     return((obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr);
 }
 internal static IntPtr getCPtr(AkThreadProperties obj) {
   return (obj == null) ? IntPtr.Zero : obj.swigCPtr;
 }
 internal static HandleRef getCPtr(AkThreadProperties obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Example #7
0
 internal static IntPtr getCPtr(AkThreadProperties obj)
 {
     return((obj != null) ? obj.swigCPtr : IntPtr.Zero);
 }