/* ----------------------------------------------------------------------------
 * 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: BinaryOp extends: Effect fields: swigCPtrForBinaryOp {

  Method [ pvtSetCPtr: newCPtr memoryOwn: newCMemoryOwn
    super pvtSetCPtr: (CslNI cslNI_SWIGBinaryOpToEffect: newCPtr) memoryOwn: newCMemoryOwn.
    swigCPtrForBinaryOp := newCPtr.
  ]

  Method [ getCPtrForBinaryOp
    ^swigCPtrForBinaryOp
  ]


  Function [ new
    self noDefaultConstructorError
  ]

  Method[ swigFinalize
    super swigFinalize.
    self delete.
  ]

  Method [ delete 
    (swigCMemoryOwn and:[ swigCPtrForBinaryOp ~~ 0 ]) ifTrue:[
      swigCMemoryOwn := false.
      CslNI cslNI_delete_BinaryOp: swigCPtrForBinaryOp.
    ].
    swigCPtrForBinaryOp := 0.
    super delete.
  ]

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

  Method [ dump 
    CslNI cslNI_BinaryOp_dump: swigCPtrForBinaryOp 
  ]

}
