Main Page
Related Pages
Data Structures
Files
File List
Globals
src
libgfsm
gfsmConfig.h
Go to the documentation of this file.
1
/*=============================================================================*\
2
* File: gfsmConfig.h
3
* Author: Bryan Jurish <moocow.bovine@gmail.com>
4
* Description: finite state machine library: autoconf configuration hack
5
*
6
* Copyright (c) 2004-2007 Bryan Jurish.
7
*
8
* This library is free software; you can redistribute it and/or
9
* modify it under the terms of the GNU Lesser General Public
10
* License as published by the Free Software Foundation; either
11
* version 3 of the License, or (at your option) any later version.
12
*
13
* This library is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
* Lesser General Public License for more details.
17
*
18
* You should have received a copy of the GNU Lesser General Public
19
* License along with this library; if not, write to the Free Software
20
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21
*=============================================================================*/
22
34
/*
35
* Putting autoheader files within the #ifndef/#endif idiom (below)
36
* is potentially a BAD IDEA, since we might need to (re-)define
37
* the autoheader-generated preprocessor symbols (e.g. after
38
* (#include)ing in some config.h from another autoheader package
39
*/
40
#include <
gfsmConfigNoAuto.h
>
41
#include <
gfsmConfigAuto.h
>
42
43
/*
44
* Define a sentinel preprocessor symbol _GFSM_CONFIG_H, just
45
* in case someone wants to check whether we've already
46
* (#include)d this file ....
47
*/
48
#ifndef _GFSM_CONFIG_H
49
#define _GFSM_CONFIG_H
50
51
#ifdef GFSM_INLINE_ENABLED
52
# ifdef __cplusplus
53
54
# define GFSM_INLINE inline
55
# else
56
57
# define GFSM_INLINE static inline
58
# endif
/* __cplusplus */
59
#else
60
61
# define GFSM_INLINE
62
#endif
/* GFSM_INLINE_ENABLED */
63
64
#endif
/* _GFSM_CONFIG_H */
Generated on Tue Oct 21 2014 09:44:47 for libgfsm by
1.8.1.2