#include "ruby.h"
#include "noyes.h"

HammingWindow * new_hamming_window(int window_size) {
  HammingWindow *hw = malloc(sizeof(HammingWindow));
  hw->buf = malloc(window_size * sizeof(double));
  hw->buflen = window_size;
  return hw;
}

void free_hamming_window(HammingWindow *hw) {
  free(hw->buf);
  free(hw);
}

NData2 * hamming_window_apply(HammingWindow *self, NData2* data) {
  return NULL;
}

Implement allocation and deallocation for c hamming window.
Implement allocation and deallocation for c hamming window.
