/* ----------------------------------------------------------------------------
 * 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: BlackmanHarrisWindow extends: Window fields: swigCPtrForBlackmanHarrisWindow {

  Method [ pvtSetCPtr: newCPtr memoryOwn: newCMemoryOwn
    super pvtSetCPtr: (CslNI cslNI_SWIGBlackmanHarrisWindowToWindow: newCPtr) memoryOwn: newCMemoryOwn.
    swigCPtrForBlackmanHarrisWindow := newCPtr.
  ]

  Method [ getCPtrForBlackmanHarrisWindow
    ^swigCPtrForBlackmanHarrisWindow
  ]


  Method[ swigFinalize
    super swigFinalize.
    self delete.
  ]

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

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

  Function [ new
    ^self fromPointer: (CslNI cslNI_new_BlackmanHarrisWindow__SWIG_0) memoryOwn: true
  ]

  Function [ windowSize: windowSize
    ^self fromPointer: (CslNI cslNI_new_BlackmanHarrisWindow__SWIG_1: windowSize) memoryOwn: true
  ]

  Function [ windowSize: windowSize gain: gain
    ^self fromPointer: (CslNI cslNI_new_BlackmanHarrisWindow__SWIG_2: windowSize, gain) memoryOwn: true
  ]

}
