summaryrefslogtreecommitdiff
path: root/libguile/cpp_cnvt.awk
blob: 1e6c094365f1b9fe9099543fed5abd7a01cfeb97 (plain)
1
2
3
4
5
6
7
# Converts a list of symbols into C expressions which define the symbols
# in Guile.
{
print "#ifdef " $0;
print "scm_c_define (\""$0"\", scm_from_int ("$0"));";
print "#endif"
}