const gchar *extension;
FormatRawMatchType magic_type;
const guint magic_offset;
- const gpointer magic_pattern;
+ gconstpointer magic_pattern;
const guint magic_length;
const FormatRawExifType exif_type;
FormatRawExifParseFunc exif_func;
typedef struct _FormatExifEntry FormatExifEntry;
struct _FormatExifEntry {
FormatExifMatchType header_type;
- const gpointer header_pattern;
+ gconstpointer header_pattern;
const guint header_length;
const gchar *description;
FormatExifParseFunc func_parse;
* the number of elements to write. If ssi->err is set when called, it immediatly returns 0.
*/
size_t
-secure_fwrite(const gpointer ptr, size_t size, size_t nmemb, SecureSaveInfo *ssi)
+secure_fwrite(gconstpointer ptr, size_t size, size_t nmemb, SecureSaveInfo *ssi)
{
size_t ret;
gint secure_fputc(SecureSaveInfo *, gint);
gint secure_fprintf(SecureSaveInfo *, const gchar *, ...);
-size_t secure_fwrite(const gpointer ptr, size_t size, size_t nmemb, SecureSaveInfo *ssi);
+size_t secure_fwrite(gconstpointer ptr, size_t size, size_t nmemb, SecureSaveInfo *ssi);
gchar *secsave_strerror(SecureSaveErrno);
g_free(sd);
}
-static gint image_sim_channel_eq_sort_cb(const gpointer a, const gpointer b)
+static gint image_sim_channel_eq_sort_cb(gconstpointer a, gconstpointer b)
{
gint *pa = (gpointer)a;
gint *pb = (gpointer)b;