Move the documentation inline and add details. (#108505) Move

2003-06-19  Matthias Clasen  <maclas@gmx.de>

	* glib/gutils.c (g_path_get_basename): Move the documentation
	inline and add details.  (#108505)
	* glib/tmpl/misc_utils.sgml: Move g_path_get_basename() docs inline.
This commit is contained in:
Matthias Clasen
2003-06-18 23:12:56 +00:00
committed by Matthias Clasen
parent be019f685f
commit 67c48e49ee
9 changed files with 62 additions and 14 deletions

View File

@@ -1,6 +1,10 @@
2003-06-19 Matthias Clasen <maclas@gmx.de>
* glib/tmpl/misc_utils.sgml: Move g_path_get_basename() docs inline.
2003-06-18 Matthias Clasen <maclas@gmx.de>
* glib/glib-sections.txt: Add g_thread_init_glib to silence gtk-doc.
o * glib/glib-sections.txt: Add g_thread_init_glib to silence gtk-doc.
* gobject/Makefile.am: Add rule to regenerate man pages from
Docbook.

View File

@@ -22,6 +22,14 @@ These are portable utility functions.
@Returns:
<!-- ##### FUNCTION g_set_application_name ##### -->
<para>
</para>
@application_name:
<!-- ##### FUNCTION g_get_prgname ##### -->
<para>
Gets the name of the program. This name should NOT be localized,
@@ -146,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 ##### -->