comparison xtract/libxtract.h @ 36:d8e72a79b86b

Fixed Mac OS X crash by declaring xtract and xtract_help_strings as extern
author Jamie Bullock <jamie@postlude.co.uk>
date Fri, 10 Nov 2006 11:52:08 +0000
parents 29e2738a376d
children 0ea4d6430cfc
comparison
equal deleted inserted replaced
35:3af08ec9091a 36:d8e72a79b86b
174 \endverbatim 174 \endverbatim
175 * The calling function may additionally make some tests against the value returned by xtract 175 * The calling function may additionally make some tests against the value returned by xtract
176 * 176 *
177 */ 177 */
178 #ifdef XTRACT 178 #ifdef XTRACT
179 int(*xtract[XTRACT_FEATURES])(float *data, int N, void *argv, float *result); 179 extern int(*xtract[XTRACT_FEATURES])(float *data, int N, void *argv, float *result);
180 180
181 181
182 /** \brief An array of pointers to function help strings 182 /** \brief An array of pointers to function help strings
183 * 183 *
184 * Defined in libxtract.c. As a minimum this will contain pointers to the names of all of the feature extraction functions in the library. This is intended as a 'quick reference' to be queried as necessary. 184 * Defined in libxtract.c. As a minimum this will contain pointers to the names of all of the feature extraction functions in the library. This is intended as a 'quick reference' to be queried as necessary.
185 */ 185 */
186 char *xtract_help_strings[XTRACT_FEATURES]; 186 extern char *xtract_help_strings[XTRACT_FEATURES];
187 #endif 187 #endif
188 188
189 /** \brief A structure to store a set of n_filters Mel filters */ 189 /** \brief A structure to store a set of n_filters Mel filters */
190 typedef struct xtract_mel_filter_ { 190 typedef struct xtract_mel_filter_ {
191 int n_filters; 191 int n_filters;