srecord
1.65.0
Loading...
Searching...
No Matches
sizeof.h
Go to the documentation of this file.
1
//
2
// srecord - Manipulate EPROM load files
3
// Copyright (C) 2008, 2010, 2011 Peter Miller
4
//
5
// This program is free software; you can redistribute it and/or modify
6
// it under the terms of the GNU Lesser General Public License as
7
// published by the Free Software Foundation; either version 3 of the
8
// License, or (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 GNU
13
// Lesser General Public License for more details.
14
//
15
// You should have received a copy of the GNU Lesser General
16
// Public License along with this program. If not, see
17
// <http://www.gnu.org/licenses/>.
18
//
19
20
#ifndef SRECORD_SIZEOF_H
21
#define SRECORD_SIZEOF_H
22
23
#define SIZEOF(a) (sizeof(a) / sizeof(a[0]))
24
#define ENDOF(a) ((a) + SIZEOF(a))
25
26
// vim: set ts=8 sw=4 et :
27
#endif
// SRECORD_SIZEOF_H
sizeof.h
Generated by
1.13.2