Inheritance: IDisposable
        public virtual btChunk allocate(uint size, int numElements)
        {
            IntPtr  cPtr = LinearMathPINVOKE.btSerializer_allocate(swigCPtr, size, numElements);
            btChunk ret  = (cPtr == IntPtr.Zero) ? null : new btChunk(cPtr, false);

            return(ret);
        }
 public virtual void finalizeChunk(btChunk chunk, string structType, int chunkCode, SWIGTYPE_p_void oldPtr)
 {
     LinearMathPINVOKE.btSerializer_finalizeChunk(swigCPtr, btChunk.getCPtr(chunk), structType, chunkCode, SWIGTYPE_p_void.getCPtr(oldPtr));
 }
 internal static HandleRef getCPtr(btChunk obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
 public override void finalizeChunk(btChunk chunk, string structType, int chunkCode, SWIGTYPE_p_void oldPtr)
 {
     LinearMathPINVOKE.btDefaultSerializer_finalizeChunk(swigCPtr, btChunk.getCPtr(chunk), structType, chunkCode, SWIGTYPE_p_void.getCPtr(oldPtr));
 }
Esempio n. 5
0
 internal static HandleRef getCPtr(btChunk obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }