Simple_def.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /* Simple_def.h
  2. *
  3. * Copyright (C) 1992-2012,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. #define ooSTRUCT SimpleInteger
  19. oo_DEFINE_CLASS (SimpleInteger, Daata)
  20. oo_INTEGER (number)
  21. oo_END_CLASS (SimpleInteger)
  22. #undef ooSTRUCT
  23. #define ooSTRUCT SimpleDouble
  24. oo_DEFINE_CLASS (SimpleDouble, Daata)
  25. oo_DOUBLE (number)
  26. oo_END_CLASS (SimpleDouble)
  27. #undef ooSTRUCT
  28. #define ooSTRUCT SimpleString
  29. oo_DEFINE_CLASS (SimpleString, Daata)
  30. oo_STRING (string)
  31. oo_END_CLASS (SimpleString)
  32. #undef ooSTRUCT
  33. /* End of file Simple_def.h */