Wed, 03 Apr 2013 01:25:40 +0200
MXit: Refactor dump_bytes() not to use a C99-style variable length array.
* Removes warning when compiling for InstantBird:
protocol.c:103:1: warning: ISO C90 forbids variable length array ‘request’ [-Wvla]
* Characters > 0x7E should also be treated as non-printable.
#ifndef __FILTER_H__ #define __FILTER_H__ struct cc_features; typedef struct filter_bank { float head_size[10]; float head_z_rot[10]; float head_y_rot[10]; float mouth_open[10]; float xfilt[10]; float yfilt[10]; } filter_bank; filter_bank* Filter_Initialize (void); void Filter_Destroy (filter_bank *f); void filter(struct cc_features *instance, filter_bank *f); #endif /* __FILTER_H__ */