/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version: 1.3.21
 *
 * Do not make changes to this file unless you know what you are doing--modify
 * the SWIG interface file instead.
 * ----------------------------------------------------------------------------- */


Class name: BigObject extends: ExampleProxy fields: swigCPtrForBigObject, swigCMemoryOwn {

  Method [ pvtSetCPtr: newCPtr memoryOwn: newCMemoryOwn
    swigCMemoryOwn := newCMemoryOwn.
    swigCPtrForBigObject := newCPtr.
  ]

  Method [ getCPtrForBigObject
    ^swigCPtrForBigObject
  ]


  Method[ swigFinalize
    super swigFinalize.
    self delete.
  ]

  Method [ delete 
    (swigCMemoryOwn and:[ swigCPtrForBigObject ~~ 0 ]) ifTrue:[
      swigCMemoryOwn := false.
      ExampleClassNI exampleClassNI_delete_BigObject: swigCPtrForBigObject.
    ].
    swigCPtrForBigObject := 0.
  ]

  Function[ getCPtr: obj
     obj isNil ifTrue:[^0].
     ^obj getCPtrForBigObject
  ]

  Function [ new
    ^self fromPointer: (ExampleClassNI exampleClassNI_new_BigObject) memoryOwn: true
  ]

}
