gmio_stl: rename STL write option for binary header

This commit is contained in:
Hugues Delorme 2015-12-17 19:02:24 +01:00
parent bc986080d6
commit b514f12cc3
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ struct gmio_stl_write_options
* \li calling gmio_stl_write() with <tt>options == NULL</tt>
* \li OR <tt>stlb_header_data == NULL</tt>
*/
const struct gmio_stlb_header* stlb_header_data;
const struct gmio_stlb_header* stlb_header;
};
#endif /* GMIO_STL_IO_OPTIONS_H */

View File

@ -244,7 +244,7 @@ const char* test_stlb_write()
{
struct gmio_stl_write_args write = {0};
write.mesh = gmio_stl_data_mesh(&data);
write.options.stlb_header_data = &data.header;
write.options.stlb_header = &data.header;
error = gmio_stl_write_file(
&write, GMIO_STL_FORMAT_BINARY_LE, model_filepath_out);
UTEST_ASSERT(error == GMIO_ERROR_OK);