Changeset 1178 for trunk/dll/strips.h
- Timestamp:
- Sep 10, 2008, 11:53:43 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/dll/strips.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/strips.h
r1168 r1178 20 20 VOID remove_first_occurence_of_character(char *pszRemoveChar, char *pszSrc); 21 21 22 /* strips.c */ 23 void strip_lead_char(char *pszStripChars, char *pszSrc); 24 void strip_trail_char(char *pszStripChars, char *pszSrc); 25 #define lstrip(s) strip_lead_char(" \t",(s)) 26 #define rstrip(s) strip_trail_char(" \t",(s)) 27 #define stripcr(s) strip_trail_char("\r\n",(s)) 28 // Strip leading and trailing white 29 #define bstrip(s) (strip_lead_char(" \t",(s)),strip_trail_char(" \t",(s))) 30 // Strip leading and trailing white and trail cr/nl 31 #define bstripcr(s) (strip_lead_char(" \t",(s)),strip_trail_char("\r\n \t",(s))) 32 33 22 34 23 35 #endif // STRIPS_H
Note:
See TracChangeset
for help on using the changeset viewer.
