app: make TempBuf parameter of temp_buf_get_data() const

This commit is contained in:
Michael Natterer 2011-04-05 22:10:12 +02:00
parent 67755ab987
commit 8d5ac2c780
2 changed files with 2 additions and 2 deletions

View File

@ -352,7 +352,7 @@ temp_buf_free (TempBuf *buf)
}
guchar *
temp_buf_get_data (TempBuf *buf)
temp_buf_get_data (const TempBuf *buf)
{
return buf->data;
}

View File

@ -61,7 +61,7 @@ TempBuf * temp_buf_copy_area (TempBuf *src,
void temp_buf_demultiply (TempBuf *buf);
void temp_buf_free (TempBuf *buf);
guchar * temp_buf_get_data (TempBuf *buf);
guchar * temp_buf_get_data (const TempBuf *buf);
gsize temp_buf_get_data_size (TempBuf *buf);
guchar * temp_buf_data_clear (TempBuf *buf);