User:Monster Iestyn/Source Code Documentation/fastcmp.h
Appearance
| Online link | GitHub entry |
|---|---|
| File type | C header file |
| #include guard | __FASTCMP_H__
|
This header file contains the fast string comparison functions fastcmp, fasticmp and fastcmp.
| Function name | Return type | Params | Attributes | Description |
|---|---|---|---|---|
fastcmp
|
boolean | const char *s,const char *c
|
FUNCINLINE,static,ATTRINLINE
|
Compares strings s and c; returns true if the two strings match (note: this function is case-sensitive), returns false otherwise.
|
fasticmp
|
boolean | const char *s,const char *c
|
FUNCINLINE,static,ATTRINLINE
|
Case-insensitive version of fastcmp.
|
fastncmp
|
boolean | const char *s,const char *c,UINT16 l
|
FUNCINLINE,static,ATTRINLINE
|
Length-limited version of fastcmp; only returns true if both strings are at least l characters long and match, case-sensitively.
|