utils.def 657 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. autogen definitions utils.tpl;
  2. float_type = {
  3. name = float ;
  4. };
  5. float_type = {
  6. name = double ;
  7. };
  8. /*----------------------------------*/
  9. io_type = {
  10. io_element = short ;
  11. format_str = "\"% d\"" ;
  12. };
  13. io_type = {
  14. io_element = int ;
  15. format_str = "\"% d\"" ;
  16. };
  17. io_type = {
  18. io_element = float ;
  19. format_str = "\"% g\"" ;
  20. };
  21. io_type = {
  22. io_element = double ;
  23. format_str = "\"% g\"" ;
  24. };
  25. read_op = {
  26. op_element = read ;
  27. count_name = items ;
  28. };
  29. read_op = {
  30. op_element = readf ;
  31. count_name = frames ;
  32. };
  33. write_op = {
  34. op_element = write ;
  35. count_name = items ;
  36. };
  37. write_op = {
  38. op_element = writef ;
  39. count_name = frames ;
  40. };