mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-22 17:08:53 +02:00
Use gchar, gint, gsize instead of char, int, size_t in the interface for
2003-07-29 Matthias Clasen <maclas@gmx.de> * glib/gqsort.[hc] (g_qsort_with_data): * glib/gconvert.[hc] (g_filename_to_uri, g_filename_from_uri): * glib/gfileutils.[hc] (g_mkstemp, g_file_open_tmp): Use gchar, gint, gsize instead of char, int, size_t in the interface for consistency. (#118567)
This commit is contained in:
committed by
Matthias Clasen
parent
352c03fd39
commit
cf9779628e
@@ -653,8 +653,8 @@ g_file_get_contents (const gchar *filename,
|
||||
* on platforms where there is a difference. The file handle should be
|
||||
* closed with close(). In case of errors, -1 is returned.
|
||||
*/
|
||||
int
|
||||
g_mkstemp (char *tmpl)
|
||||
gint
|
||||
g_mkstemp (gchar *tmpl)
|
||||
{
|
||||
#ifdef HAVE_MKSTEMP
|
||||
return mkstemp (tmpl);
|
||||
@@ -740,10 +740,10 @@ g_mkstemp (char *tmpl)
|
||||
* closed with close(). In case of errors, -1 is returned
|
||||
* and @error will be set.
|
||||
**/
|
||||
int
|
||||
g_file_open_tmp (const char *tmpl,
|
||||
char **name_used,
|
||||
GError **error)
|
||||
gint
|
||||
g_file_open_tmp (const gchar *tmpl,
|
||||
gchar **name_used,
|
||||
GError **error)
|
||||
{
|
||||
int retval;
|
||||
const char *tmpdir;
|
||||
|
Reference in New Issue
Block a user