Commit | Line | Data |
---|---|---|
68a08303 MD |
1 | /* classes: h_files */ |
2 | ||
0527e687 DH |
3 | #ifndef SCM_LANG_H |
4 | #define SCM_LANG_H | |
5 | ||
45f4cbdf | 6 | /* Copyright (C) 1998, 2004, 2006, 2008, 2009 Free Software Foundation, Inc. |
0527e687 | 7 | * |
73be1d9e | 8 | * This library is free software; you can redistribute it and/or |
53befeb7 NJ |
9 | * modify it under the terms of the GNU Lesser General Public License |
10 | * as published by the Free Software Foundation; either version 3 of | |
11 | * the License, or (at your option) any later version. | |
0527e687 | 12 | * |
53befeb7 NJ |
13 | * This library is distributed in the hope that it will be useful, but |
14 | * WITHOUT ANY WARRANTY; without even the implied warranty of | |
73be1d9e MV |
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
16 | * Lesser General Public License for more details. | |
0527e687 | 17 | * |
73be1d9e MV |
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 | |
53befeb7 NJ |
20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
21 | * 02110-1301 USA | |
73be1d9e | 22 | */ |
0527e687 | 23 | |
68a08303 MD |
24 | \f |
25 | ||
26 | #include "libguile/__scm.h" | |
27 | ||
28 | \f | |
29 | ||
2899af3f | 30 | #if SCM_ENABLE_ELISP |
c96d76b8 | 31 | |
bc36d050 | 32 | #define SCM_NILP(x) (scm_is_eq ((x), SCM_ELISP_NIL)) |
c96d76b8 | 33 | |
102dbb6f | 34 | SCM_INTERNAL void scm_init_lang (void); |
14a9ba3f | 35 | |
c96d76b8 | 36 | #else /* ! SCM_ENABLE_ELISP */ |
14a9ba3f | 37 | |
c96d76b8 | 38 | #define SCM_NILP(x) 0 |
14a9ba3f | 39 | |
c96d76b8 NJ |
40 | #endif /* ! SCM_ENABLE_ELISP */ |
41 | ||
45f4cbdf | 42 | #define SCM_NULL_OR_NIL_P(x) (scm_is_null_or_nil (x)) |
68a08303 | 43 | |
0527e687 | 44 | #endif /* SCM_LANG_H */ |
89e00824 ML |
45 | |
46 | /* | |
47 | Local Variables: | |
48 | c-file-style: "gnu" | |
49 | End: | |
50 | */ |