comparison xtract/xtract_stateful.h @ 243:d13189c1005c

Fix broken xtract_stateful.h
author Jamie Bullock <jamie@jamiebullock.com>
date Thu, 05 Jun 2014 20:31:33 +0100
parents f28f66faa016
children
comparison
equal deleted inserted replaced
242:d2453f55c470 243:d13189c1005c
39 39
40 40
41 #include <stdint.h> 41 #include <stdint.h>
42 #include <string.h> 42 #include <string.h>
43 43
44 struct ringbuf_t;
45 typedef struct ringbuf_t *ringbuf_t;
46 typedef struct xtract_last_n_state_ xtract_last_n_state; 44 typedef struct xtract_last_n_state_ xtract_last_n_state;
47 45
48 xtract_last_n_state *xtract_last_n_state_new(size_t capacity); 46 xtract_last_n_state *xtract_last_n_state_new(size_t capacity);
49 void xtract_last_n_state_delete(xtract_last_n_state *last_n_state); 47 void xtract_last_n_state_delete(xtract_last_n_state *last_n_state);
50 48
59 * @param result a pointer to an array of doubles representing the last N values, where the nth value is the current one. The array must have been allocated to size N elements and initialised by the caller 57 * @param result a pointer to an array of doubles representing the last N values, where the nth value is the current one. The array must have been allocated to size N elements and initialised by the caller
60 * 58 *
61 */ 59 */
62 int xtract_last_n(const xtract_last_n_state *state, const double *data, const int N, const void *argv, double *result); 60 int xtract_last_n(const xtract_last_n_state *state, const double *data, const int N, const void *argv, double *result);
63 61
64 62 #ifdef __cplusplus
65 63 }
64 #endif
66 65
67 #endif 66 #endif