Expunge CVS cruft.
[mLib] / macros.h
1 /* -*-c-*-
2 Handy macrosose]]
3 *
4 * (c) 2003 Straylight/Edgeware
5 */
6
7 /*----- Licensing notice --------------------------------------------------*
8 *
9 * This file is part of the mLib utilities library.
10 *
11 * mLib is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU Library General Public License as
13 * published by the Free Software Foundation; either version 2 of the
14 * License, or (at your option) any later version.
15 *
16 * mLib is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Library General Public License for more details.
20 *
21 * You should have received a copy of the GNU Library General Public
22 * License along with mLib; if not, write to the Free
23 * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
24 * MA 02111-1307, USA.
25 */
26
27 #ifndef MLIB_MACROS_H
28 #define MLIB_MACROS_H
29
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33
34 /*----- Macros provided ---------------------------------------------------*/
35
36 #define N(v) (sizeof(v)/sizeof(*v))
37
38 /*----- That's all, folks -------------------------------------------------*/
39
40 #ifdef __cplusplus
41 }
42 #endif
43
44 #endif