File: cpp_cnvt.awk

package info (click to toggle)
guile-1.6 1.6.8-10.3
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 18,876 kB
  • sloc: ansic: 69,526; lisp: 14,845; sh: 11,597; asm: 1,514; makefile: 879; awk: 199; csh: 50
file content (7 lines) | stat: -rw-r--r-- 178 bytes parent folder | download | duplicates (5)
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_MAKINUM ("$0"));";
print "#endif"
}