mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-11-02 17:32:18 +01:00 
			
		
		
		
	Move the documentation inline and add details. (#108505)
* glib/gutils.c (g_path_get_basename): Move the documentation inline and add details. (#108505)
This commit is contained in:
		@@ -1,3 +1,7 @@
 | 
			
		||||
2003-06-19  Matthias Clasen  <maclas@gmx.de>
 | 
			
		||||
 | 
			
		||||
	* glib/tmpl/misc_utils.sgml: Move g_path_get_basename() docs inline.
 | 
			
		||||
 | 
			
		||||
Sun Jun  8 12:28:39 2003  Owen Taylor  <otaylor@redhat.com>
 | 
			
		||||
 | 
			
		||||
	* glib/tmpl/error_reporting.sgml: XML fix.
 | 
			
		||||
 
 | 
			
		||||
@@ -154,20 +154,11 @@ path it returns %NULL.
 | 
			
		||||
 | 
			
		||||
<!-- ##### FUNCTION g_path_get_basename ##### -->
 | 
			
		||||
<para>
 | 
			
		||||
Gets the name of the file without any leading directory components.
 | 
			
		||||
The returned string should be freed when no longer needed.
 | 
			
		||||
 | 
			
		||||
</para>
 | 
			
		||||
 | 
			
		||||
<note>
 | 
			
		||||
<para>
 | 
			
		||||
This function allocates new memory for the returned string. This is
 | 
			
		||||
different from the old g_basename() function, which returned a pointer
 | 
			
		||||
into the argument.
 | 
			
		||||
</para>
 | 
			
		||||
</note>
 | 
			
		||||
 | 
			
		||||
@file_name: the name of the file.
 | 
			
		||||
@Returns: the name of the file without any leading directory components.
 | 
			
		||||
@file_name:
 | 
			
		||||
@Returns:
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
<!-- ##### FUNCTION g_path_get_dirname ##### -->
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user