Alexandre Lision | 7c6f4a6 | 2013-09-05 13:27:01 -0400 | [diff] [blame] | 1 | autogen definitions utils.tpl; |
2 | |||||
3 | float_type = { | ||||
4 | name = float ; | ||||
5 | }; | ||||
6 | |||||
7 | float_type = { | ||||
8 | name = double ; | ||||
9 | }; | ||||
10 | |||||
11 | /*----------------------------------*/ | ||||
12 | |||||
13 | io_type = { | ||||
14 | io_element = short ; | ||||
15 | format_str = "\"% d\"" ; | ||||
16 | }; | ||||
17 | |||||
18 | io_type = { | ||||
19 | io_element = int ; | ||||
20 | format_str = "\"% d\"" ; | ||||
21 | }; | ||||
22 | |||||
23 | io_type = { | ||||
24 | io_element = float ; | ||||
25 | format_str = "\"% g\"" ; | ||||
26 | }; | ||||
27 | |||||
28 | io_type = { | ||||
29 | io_element = double ; | ||||
30 | format_str = "\"% g\"" ; | ||||
31 | }; | ||||
32 | |||||
33 | read_op = { | ||||
34 | op_element = read ; | ||||
35 | count_name = items ; | ||||
36 | }; | ||||
37 | |||||
38 | read_op = { | ||||
39 | op_element = readf ; | ||||
40 | count_name = frames ; | ||||
41 | }; | ||||
42 | |||||
43 | write_op = { | ||||
44 | op_element = write ; | ||||
45 | count_name = items ; | ||||
46 | }; | ||||
47 | |||||
48 | write_op = { | ||||
49 | op_element = writef ; | ||||
50 | count_name = frames ; | ||||
51 | }; | ||||
52 |