gmio_stl: fix constness of the mesh param in stl_io.h

This commit is contained in:
Hugues Delorme 2015-04-02 17:09:02 +02:00
parent f0e4c41ed3
commit 8d8cff6f0e
2 changed files with 4 additions and 4 deletions

View File

@ -84,7 +84,7 @@ int gmio_stl_read(gmio_transfer_t *trsf, gmio_stl_mesh_creator_t *creator)
int gmio_stl_write_file(
gmio_stl_format_t format,
const char *filepath,
gmio_stl_mesh_t *mesh,
const gmio_stl_mesh_t *mesh,
gmio_task_iface_t *task_iface)
{
int error = GMIO_ERROR_OK;
@ -112,7 +112,7 @@ int gmio_stl_write_file(
int gmio_stl_write(
gmio_stl_format_t format,
gmio_transfer_t *trsf,
gmio_stl_mesh_t *mesh)
const gmio_stl_mesh_t *mesh)
{
int error = GMIO_ERROR_OK;

View File

@ -84,7 +84,7 @@ GMIO_LIBSTL_EXPORT
int gmio_stl_write_file(
gmio_stl_format_t format,
const char* filepath,
gmio_stl_mesh_t* mesh,
const gmio_stl_mesh_t* mesh,
gmio_task_iface_t* task_iface);
/*! Writes STL mesh to stream
@ -99,7 +99,7 @@ GMIO_LIBSTL_EXPORT
int gmio_stl_write(
gmio_stl_format_t format,
gmio_transfer_t* trsf,
gmio_stl_mesh_t* mesh);
const gmio_stl_mesh_t* mesh);
/* ========================================================================
* STL ascii