Changeset 3574 for trunk/kStuff/include/k/kHlpString.h
- Timestamp:
- Sep 2, 2007, 9:30:58 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kStuff/include/k/kHlpString.h
r3573 r3574 72 72 73 73 #ifndef kHlpMemChr 74 void *kHlpMemChr(const void *pv, int ch, KSIZE cb);74 KHLP_DECL(void *) kHlpMemChr(const void *pv, int ch, KSIZE cb); 75 75 #endif 76 76 #ifndef kHlpMemComp 77 int kHlpMemComp(const void *pv1, const void *pv2, KSIZE cb); 77 KHLP_DECL(int) kHlpMemComp(const void *pv1, const void *pv2, KSIZE cb); 78 #endif 79 #ifndef kHlpMemComp 80 KHLP_DECL(void *) kHlpMemPComp(const void *pv1, const void *pv2, KSIZE cb); 78 81 #endif 79 82 #ifndef kHlpMemCopy 80 void *kHlpMemCopy(void *pv1, const void *pv2, KSIZE cb); 83 KHLP_DECL(void *) kHlpMemCopy(void *pv1, const void *pv2, KSIZE cb); 84 #endif 85 #ifndef kHlpMemPCopy 86 KHLP_DECL(void *) kHlpMemPCopy(void *pv1, const void *pv2, KSIZE cb); 81 87 #endif 82 88 #ifndef kHlpMemMove 83 void *kHlpMemMove(void *pv1, const void *pv2, KSIZE cb); 89 KHLP_DECL(void *) kHlpMemMove(void *pv1, const void *pv2, KSIZE cb); 90 #endif 91 #ifndef kHlpMemPMove 92 KHLP_DECL(void *) kHlpMemPMove(void *pv1, const void *pv2, KSIZE cb); 84 93 #endif 85 94 #ifndef kHlpMemSet 86 void *kHlpMemSet(void *pv1, int ch, KSIZE cb);95 KHLP_DECL(void *) kHlpMemSet(void *pv1, int ch, KSIZE cb); 87 96 #endif 88 int kHlpMemIComp(const void *pv1, const void *pv2, KSIZE cb); 97 #ifndef kHlpMemPSet 98 KHLP_DECL(void *) kHlpMemPSet(void *pv1, int ch, KSIZE cb); 99 #endif 100 KHLP_DECL(int) kHlpMemICompAscii(const void *pv1, const void *pv2, KSIZE cb); 89 101 90 102 #ifndef kHlpStrCat 91 char *kHlpStrCat(char *psz1, const char *psz2); 103 KHLP_DECL(char *) kHlpStrCat(char *psz1, const char *psz2); 104 #endif 105 #ifndef kHlpStrPCat 106 KHLP_DECL(char *) kHlpStrPCat(char *psz1, const char *psz2); 92 107 #endif 93 108 #ifndef kHlpStrNCat 94 char *kHlpStrNCat(char *psz1, const char *psz2, KSIZE cb); 109 KHLP_DECL(char *) kHlpStrNCat(char *psz1, const char *psz2, KSIZE cb); 110 #endif 111 #ifndef kHlpStrPNCat 112 KHLP_DECL(char *) kHlpStrNPCat(char *psz1, const char *psz2, KSIZE cb); 95 113 #endif 96 114 #ifndef kHlpStrChr 97 char *kHlpStrChr(const char *psz, int ch);115 KHLP_DECL(char *) kHlpStrChr(const char *psz, int ch); 98 116 #endif 99 117 #ifndef kHlpStrRChr 100 char *kHlpStrRChr(const char *psz, int ch);118 KHLP_DECL(char *) kHlpStrRChr(const char *psz, int ch); 101 119 #endif 102 120 #ifndef kHlpStrComp 103 intkHlpStrComp(const char *psz1, const char *psz2);121 KHLP_DECL(int) kHlpStrComp(const char *psz1, const char *psz2); 104 122 #endif 123 KHLP_DECL(char *) kHlpStrPComp(const char *psz1, const char *psz2); 105 124 #ifndef kHlpStrNComp 106 intkHlpStrNComp(const char *psz1, const char *psz2, KSIZE cch);125 KHLP_DECL(int) kHlpStrNComp(const char *psz1, const char *psz2, KSIZE cch); 107 126 #endif 127 KHLP_DECL(char *) kHlpStrNPComp(const char *psz1, const char *psz2, KSIZE cch); 128 KHLP_DECL(int) kHlpStrICompAscii(const char *pv1, const char *pv2); 129 KHLP_DECL(char *) kHlpStrIPCompAscii(const char *pv1, const char *pv2); 130 KHLP_DECL(int) kHlpStrNICompAscii(const char *pv1, const char *pv2, KSIZE cch); 131 KHLP_DECL(char *) kHlpStrNIPCompAscii(const char *pv1, const char *pv2, KSIZE cch); 108 132 #ifndef kHlpStrCopy 109 char *kHlpStrCopy(char *psz1, const char *psz2);133 KHLP_DECL(char *) kHlpStrCopy(char *psz1, const char *psz2); 110 134 #endif 111 #ifndef kHlpStr NCopy112 char *kHlpStrNCopy(char *psz1, const char *psz2, KSIZE cb);135 #ifndef kHlpStrPCopy 136 KHLP_DECL(char *) kHlpStrPCopy(char *psz1, const char *psz2); 113 137 #endif 114 138 #ifndef kHlpStrLen 115 K SIZEkHlpStrLen(const char *psz1);139 KHLP_DECL(KSIZE) kHlpStrLen(const char *psz1); 116 140 #endif 117 KSIZE kHlpStrNLen(const char *psz, KSIZE cchMax); 118 int kHlpStrIComp(const char *pv1, const char *pv2); 141 #ifndef kHlpStrNLen 142 KHLP_DECL(KSIZE) kHlpStrNLen(const char *psz, KSIZE cchMax); 143 #endif 119 144 120 145 KHLP_DECL(char *) kHlpInt2Ascii(char *psz, KSIZE cch, long lVal, unsigned iBase);
Note:
See TracChangeset
for help on using the changeset viewer.