abcio_enums.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /* abcio_enums.h
  2. *
  3. * Copyright (C) 1992-2009,2015,2017 Paul Boersma
  4. *
  5. * This code is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation; either version 2 of the License, or (at
  8. * your option) any later version.
  9. *
  10. * This code is distributed in the hope that it will be useful, but
  11. * WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  13. * See the GNU General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with this work. If not, see <http://www.gnu.org/licenses/>.
  17. */
  18. enums_begin (kBoolean, 0)
  19. enums_add (kBoolean, 0, FALSE_, U"false")
  20. enums_add (kBoolean, 1, TRUE_, U"true")
  21. enums_end (kBoolean, 1, FALSE_)
  22. enums_begin (kQuestion, 0)
  23. enums_add (kQuestion, 0, NO, U"no")
  24. enums_add (kQuestion, 1, YES, U"yes")
  25. enums_end (kQuestion, 1, NO)
  26. enums_begin (kExistence, 0)
  27. enums_add (kExistence, 0, ABSENT, U"absent")
  28. enums_add (kExistence, 1, EXISTS, U"exists")
  29. enums_end (kExistence, 1, ABSENT)
  30. /* End of file abcio_enums.h */