comparison xtract/xtract_macros.h @ 1:b8f2448f7207

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