Document what tcc_fileextension does

This is evident, but won't hurt
This commit is contained in:
Kirill Smelkov 2010-06-20 19:17:42 +04:00
parent 1203348302
commit 441a089aa4

View File

@ -168,6 +168,10 @@ PUB_FUNC char *tcc_basename(const char *name)
return p;
}
/* extract extension part of a file
*
* (if no extension, return pointer to end-of-string)
*/
PUB_FUNC char *tcc_fileextension (const char *name)
{
char *b = tcc_basename(name);