Debian Codegraph @

agen5/guile-iface.h

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 #ifndef MUTATING_GUILE_IFACE_H_GUARD
2 #define MUTATING_GUILE_IFACE_H_GUARD 1
3
4 #if (GUILE_VERSION >= 200000) && (GUILE_VERSION <= 200003)
5 # error AutoGen does not work with this version of Guile
6 choke me.
7
8 #elif (GUILE_VERSION <= 106999)
9 # error AutoGen does not work with this version of Guile
10 choke me.
11
12 #elif GUILE_VERSION < 203000
13 # define AG_SCM_IS_PROC(_p) scm_is_true( scm_procedure_p(_p))
14 # define AG_SCM_LIST_P(_l) scm_is_true( scm_list_p(_l))
15 # define AG_SCM_PAIR_P(_p) scm_is_true( scm_pair_p(_p))
16 # define AG_SCM_TO_LONG(_v) scm_to_long(_v)
17 # define AG_SCM_TO_ULONG(_v) ((unsigned long)scm_to_ulong(_v))
18
19 #else
20 # error unknown GUILE_VERSION
21 choke me.
22 #endif
23
24 #endif /* MUTATING_GUILE_IFACE_H_GUARD */