diff options
Diffstat (limited to 'tools/skycpt/KmpSearch.h')
-rw-r--r-- | tools/skycpt/KmpSearch.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/tools/skycpt/KmpSearch.h b/tools/skycpt/KmpSearch.h index 97ec1ca7c8..b57a6736f7 100644 --- a/tools/skycpt/KmpSearch.h +++ b/tools/skycpt/KmpSearch.h @@ -23,17 +23,12 @@ #ifndef __KmpSearch__ #define __KmpSearch__ -#ifndef _MSC_VER -#define __fastcall -#endif - class KmpSearch { public: - void __fastcall init(const char *subStr); - const char * __fastcall search(const char *str); -//private: - char _retarget[256], _subStr[256]; - unsigned long _strLen; + void init(const char *subStr); + const char *search(const char *str); +private: + char _subStr[256]; }; #endif //__KmpSearch__ |