diff options
author | Daniel Dunbar <daniel@zuster.org> | 2005-04-02 19:36:57 +0400 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2005-04-02 19:36:57 +0400 |
commit | 24c9f650565e6a016cca9d45c7daee94dfcb7130 (patch) | |
tree | 89becedccd6ed77790f6c5c5e35280d9a4e560b4 /source/blender/blenlib/BLI_blenlib.h | |
parent | bdb86d7c6765724d297e7aa97dec4c0cc7d2bae9 (diff) |
- got tired of str[n]casecmp not declared warnings
- added BLI_str[n]casecmp, use instead of regular versions
- rewrote BLI_str[n]casecmp to not be stupid
Diffstat (limited to 'source/blender/blenlib/BLI_blenlib.h')
-rw-r--r-- | source/blender/blenlib/BLI_blenlib.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_blenlib.h b/source/blender/blenlib/BLI_blenlib.h index 2e2dda5ef95..d133038b044 100644 --- a/source/blender/blenlib/BLI_blenlib.h +++ b/source/blender/blenlib/BLI_blenlib.h @@ -328,6 +328,9 @@ void BLI_setScanFillObjectRef(void* ob); */ void BLI_setScanFillColourRef(char* c); +int BLI_strcasecmp(const char *s1, const char *s2); +int BLI_strncasecmp(const char *s1, const char *s2, int n); + #define PRNTSUB(type,arg) printf(#arg ": %" #type " ", arg) #ifndef PRINT |