ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/gclib/gclib/GBase.h
(Generate patch)
# Line 167 | Line 167
167    return a-b;
168   }
169  
170 < int Gstrcmp(char* a, char* b);
170 > int Gstrcmp(const char* a, const char* b, int n=-1);
171   //same as strcmp but doesn't crash on NULL pointers
172  
173 < int Gstricmp(const char* a, const char* b);
173 > int Gstricmp(const char* a, const char* b, int n=-1);
174  
175   //basic swap template function
176   template<class T> void Gswap(T& lhs, T& rhs) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines