loadFile*: accept when suffix is already provided
This commit is contained in:
@@ -261,8 +261,10 @@ int num_CPUs(void); // number of logical CPUs
|
||||
|
||||
void str_lower(char *s); // converts string to lower case
|
||||
bool str_startswith(const char *s, const char *pre); // check for prefix in string
|
||||
bool str_endswith(const char *s, const char *suffix); // check for suffix in string
|
||||
void clean_ascii(unsigned char *buf, size_t len);
|
||||
void strcleanrn(char *buf, size_t len);
|
||||
void strcreplace(char *buf, size_t len, char from, char to);
|
||||
char *strmcopy(char *buf);
|
||||
char *strmcopy(const char *buf);
|
||||
char *filenamemcopy(const char *preferredName, const char *suffix);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user