diff options
-rw-r--r-- | simpl/base.pxd | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/simpl/base.pxd b/simpl/base.pxd index cec5e43..f31c9a3 100644 --- a/simpl/base.pxd +++ b/simpl/base.pxd @@ -40,16 +40,20 @@ cdef extern from "../src/simpl/base.h" namespace "simpl": # peaks int num_peaks() + void num_peaks(int new_num_peaks) int max_peaks() void max_peaks(int new_max_peaks) void add_peak(c_Peak* peak) c_Peak* peak(int peak_number) + void peak(int peak_number, c_Peak* peak) void clear() # partials int num_partials() + void num_partials(int new_num_partials) int max_partials() void max_partials(int new_max_partials) + void add_partial(c_Peak* peak) c_Peak* partial(int partial_number) void partial(int partial_number, c_Peak* peak) |