Document what tcc_fileextension does
This is evident, but won't hurt
This commit is contained in:
parent
1203348302
commit
441a089aa4
1 changed files with 4 additions and 0 deletions
4
libtcc.c
4
libtcc.c
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue