From b00d2bfa421b1f93bad5bb44899510d933fea36a Mon Sep 17 00:00:00 2001 From: Fabien Costantini Date: Tue, 20 Jan 2009 11:10:29 +0000 Subject: Doxygen documentation + Added a new Module section named : File names and URI utility funtions + updated the pdf file adequately git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6641 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/filename_setext.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/filename_setext.cxx') diff --git a/src/filename_setext.cxx b/src/filename_setext.cxx index ac93765c3..28c3ddc22 100644 --- a/src/filename_setext.cxx +++ b/src/filename_setext.cxx @@ -32,6 +32,10 @@ #include #include "flstring.h" +/** + Replaces the extension in \a buf of max. size \a buflen with the extension in \a ext. + \return buf itself for calling convenience. +*/ char *fl_filename_setext(char *buf, int buflen, const char *ext) { char *q = (char *)fl_filename_ext(buf); if (ext) { -- cgit v1.2.3