mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-21 16:38:54 +02:00
Move some docs inline, and add deprecation information. To see the list of
* glib/gutils.c: * glib/gtree.c: * glib/gstring.c: * glib/gstrfuncs.c: * glib/giochannel.c: Move some docs inline, and add deprecation information. To see the list of affected functions, grep for "Deprecated:". * glib/tmpl/strings.sgml: * glib/tmpl/string_utils.sgml: * glib/tmpl/misc_utils.sgml: Move some docs inline.
This commit is contained in:
@@ -383,6 +383,17 @@ g_parse_debug_string (const gchar *string,
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* g_basename:
|
||||
* @file_name: the name of the file.
|
||||
*
|
||||
* Gets the name of the file without any leading directory components.
|
||||
* It returns a pointer into the given file name string.
|
||||
*
|
||||
* Return value: the name of the file without any leading directory components.
|
||||
*
|
||||
* Deprecated: Use g_path_get_basename() instead.
|
||||
**/
|
||||
G_CONST_RETURN gchar*
|
||||
g_basename (const gchar *file_name)
|
||||
{
|
||||
|
Reference in New Issue
Block a user