Mercurial > hg > sv-dependency-builds
diff src/libsndfile-1.0.25/tests/utils.def @ 0:c7265573341e
Import initial set of sources
author | Chris Cannam |
---|---|
date | Mon, 18 Mar 2013 14:12:14 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/libsndfile-1.0.25/tests/utils.def Mon Mar 18 14:12:14 2013 +0000 @@ -0,0 +1,52 @@ +autogen definitions utils.tpl; + +float_type = { + name = float ; + }; + +float_type = { + name = double ; + }; + +/*----------------------------------*/ + +io_type = { + io_element = short ; + format_str = "\"% d\"" ; + }; + +io_type = { + io_element = int ; + format_str = "\"% d\"" ; + }; + +io_type = { + io_element = float ; + format_str = "\"% g\"" ; + }; + +io_type = { + io_element = double ; + format_str = "\"% g\"" ; + }; + +read_op = { + op_element = read ; + count_name = items ; + }; + +read_op = { + op_element = readf ; + count_name = frames ; + }; + +write_op = { + op_element = write ; + count_name = items ; + }; + +write_op = { + op_element = writef ; + count_name = frames ; + }; +