mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 13:50:13 +00:00
cbe5f667c2
svn-id: r19414
20 lines
302 B
C++
20 lines
302 B
C++
#ifndef __KmpSearch__
|
|
#define __KmpSearch__
|
|
|
|
#ifndef _MSC_VER
|
|
#define __fastcall
|
|
#endif
|
|
|
|
class KmpSearch {
|
|
public:
|
|
void __fastcall init(const char *subStr);
|
|
char * __fastcall search(const char *str);
|
|
//private:
|
|
char _retarget[256], _subStr[256];
|
|
unsigned long _strLen;
|
|
};
|
|
|
|
#endif //__KmpSearch__
|
|
|
|
|