gmio_stl: fix constness of the mesh param in stl_io.h
This commit is contained in:
parent
f0e4c41ed3
commit
8d8cff6f0e
@ -84,7 +84,7 @@ int gmio_stl_read(gmio_transfer_t *trsf, gmio_stl_mesh_creator_t *creator)
|
|||||||
int gmio_stl_write_file(
|
int gmio_stl_write_file(
|
||||||
gmio_stl_format_t format,
|
gmio_stl_format_t format,
|
||||||
const char *filepath,
|
const char *filepath,
|
||||||
gmio_stl_mesh_t *mesh,
|
const gmio_stl_mesh_t *mesh,
|
||||||
gmio_task_iface_t *task_iface)
|
gmio_task_iface_t *task_iface)
|
||||||
{
|
{
|
||||||
int error = GMIO_ERROR_OK;
|
int error = GMIO_ERROR_OK;
|
||||||
@ -112,7 +112,7 @@ int gmio_stl_write_file(
|
|||||||
int gmio_stl_write(
|
int gmio_stl_write(
|
||||||
gmio_stl_format_t format,
|
gmio_stl_format_t format,
|
||||||
gmio_transfer_t *trsf,
|
gmio_transfer_t *trsf,
|
||||||
gmio_stl_mesh_t *mesh)
|
const gmio_stl_mesh_t *mesh)
|
||||||
{
|
{
|
||||||
int error = GMIO_ERROR_OK;
|
int error = GMIO_ERROR_OK;
|
||||||
|
|
||||||
|
@ -84,7 +84,7 @@ GMIO_LIBSTL_EXPORT
|
|||||||
int gmio_stl_write_file(
|
int gmio_stl_write_file(
|
||||||
gmio_stl_format_t format,
|
gmio_stl_format_t format,
|
||||||
const char* filepath,
|
const char* filepath,
|
||||||
gmio_stl_mesh_t* mesh,
|
const gmio_stl_mesh_t* mesh,
|
||||||
gmio_task_iface_t* task_iface);
|
gmio_task_iface_t* task_iface);
|
||||||
|
|
||||||
/*! Writes STL mesh to stream
|
/*! Writes STL mesh to stream
|
||||||
@ -99,7 +99,7 @@ GMIO_LIBSTL_EXPORT
|
|||||||
int gmio_stl_write(
|
int gmio_stl_write(
|
||||||
gmio_stl_format_t format,
|
gmio_stl_format_t format,
|
||||||
gmio_transfer_t* trsf,
|
gmio_transfer_t* trsf,
|
||||||
gmio_stl_mesh_t* mesh);
|
const gmio_stl_mesh_t* mesh);
|
||||||
|
|
||||||
/* ========================================================================
|
/* ========================================================================
|
||||||
* STL ascii
|
* STL ascii
|
||||||
|
Loading…
Reference in New Issue
Block a user