-# $Id: MKunctrl.awk,v 1.7 2000/04/01 19:49:26 tom Exp $
+# $Id: MKunctrl.awk,v 1.9 2001/06/02 23:59:20 skimo Exp $
##############################################################################
-# Copyright (c) 1998 Free Software Foundation, Inc. #
+# Copyright (c) 1998,2000,2001 Free Software Foundation, Inc. #
# #
# Permission is hereby granted, free of charge, to any person obtaining a #
# copy of this software and associated documentation files (the "Software"), #
print ""
}
END {
- print "NCURSES_CONST char *unctrl(register chtype ch)"
+ print "NCURSES_EXPORT(NCURSES_CONST char *) unctrl (register chtype ch)"
print "{"
printf "static const char* const table[] = {"
for ( ch = 0; ch < 256; ch++ ) {
}
print "};"
print ""
- print "\treturn (NCURSES_CONST char *)table[TextOf(ch)];"
+ print "\treturn (NCURSES_CONST char *)table[ChCharOf(ch)];"
print "}"
}