History

Document what tcc_fileextension does

This is evident, but won't hurt

Kirill Smelkov committed 16 years ago

Commit 441a0891 parent 12033481 file · +4 −0Browse files

Unified · Split

libtcc.c+4−0
@@ -168,6 +168,10 @@ PUB_FUNC char *tcc_basename(const char *name) · 167 unmodified lines
168 return p;168 return p;
169}169}
170 170
171/* extract extension part of a file
172 *
173 * (if no extension, return pointer to end-of-string)
174 */
171PUB_FUNC char *tcc_fileextension (const char *name)175PUB_FUNC char *tcc_fileextension (const char *name)
172{176{
173 char *b = tcc_basename(name);177 char *b = tcc_basename(name);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t