Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/libcurses/tests Add boolean values to the standard...
details: https://anonhg.NetBSD.org/src/rev/c02d4660c964
branches: trunk
changeset: 764408:c02d4660c964
user: blymn <blymn%NetBSD.org@localhost>
date: Wed Apr 20 10:40:14 2011 +0000
description:
Add boolean values to the standard definitions.
diffstat:
tests/lib/libcurses/tests/std_defines | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diffs (16 lines):
diff -r 10ac38c5da57 -r c02d4660c964 tests/lib/libcurses/tests/std_defines
--- a/tests/lib/libcurses/tests/std_defines Wed Apr 20 10:10:32 2011 +0000
+++ b/tests/lib/libcurses/tests/std_defines Wed Apr 20 10:40:14 2011 +0000
@@ -2,6 +2,12 @@
# Define some standard symbols for curses so tests can reference things
# symbolically instead of using magic numbers.
#
+#
+# boolean
+#
+assign TRUE 0x01
+assign FALSE 0x00
+#
# colours
#
assign COLOR_BLACK 0x00
Home |
Main Index |
Thread Index |
Old Index