File: cpp_cnvt.awk

package info (click to toggle)
guile-1.6 1.6.7-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 14,572 kB
  • ctags: 10,040
  • sloc: ansic: 69,388; lisp: 14,775; sh: 11,163; asm: 1,514; makefile: 763; 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"
}