annotate xtract/xtract_macros.h @ 21:44e1a5363745
Further documentation improvements
author |
Jamie Bullock <jamie@postlude.co.uk> |
date |
Thu, 12 Oct 2006 11:59:11 +0000 |
parents |
cac976b2a69d |
children |
29e2738a376d |
rev |
line source |
jamie@1
|
1 /* libxtract feature extraction library
|
jamie@1
|
2 *
|
jamie@1
|
3 * Copyright (C) 2006 Jamie Bullock
|
jamie@1
|
4 *
|
jamie@1
|
5 * This program is free software; you can redistribute it and/or modify
|
jamie@1
|
6 * it under the terms of the GNU General Public License as published by
|
jamie@1
|
7 * the Free Software Foundation; either version 2 of the License, or
|
jamie@1
|
8 * (at your option) any later version.
|
jamie@1
|
9 *
|
jamie@1
|
10 * This program is distributed in the hope that it will be useful,
|
jamie@1
|
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
jamie@1
|
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
jamie@1
|
13 * GNU General Public License for more details.
|
jamie@1
|
14 *
|
jamie@1
|
15 * You should have received a copy of the GNU General Public License
|
jamie@1
|
16 * along with this program; if not, write to the Free Software
|
jamie@1
|
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
jamie@1
|
18 * USA.
|
jamie@1
|
19 */
|
jamie@1
|
20
|
jamie@1
|
21
|
jamie@1
|
22
|
jamie@2
|
23 /** \file xtract_delta.h: defines useful macros */
|
jamie@1
|
24
|
jamie@1
|
25 #ifndef XTRACT_MACROS
|
jamie@1
|
26 #define XTRACT_MACROS
|
jamie@1
|
27
|
jamie@1
|
28 #ifdef __cplusplus
|
jamie@1
|
29 extern "C" {
|
jamie@1
|
30 #endif
|
jamie@1
|
31
|
jamie@5
|
32 #include <stdio.h>
|
jamie@5
|
33
|
jamie@1
|
34 #define SQ(a) ((a) * (a))
|
jamie@1
|
35 #define MIN(a, b) ((a) < (b) ? (a) : (b))
|
jamie@1
|
36 #define MAX(a, b) ((a) > (b) ? (a) : (b))
|
jamie@1
|
37 #define NOT_IMPLEMENTED printf("Feature not implemented yet.\n")
|
jamie@1
|
38
|
jamie@1
|
39 #ifdef __cplusplus
|
jamie@1
|
40 }
|
jamie@1
|
41 #endif
|
jamie@1
|
42
|
jamie@1
|
43 #endif
|