| Index: compiled/library.h |
| diff --git a/compiled/library.h b/compiled/library.h |
| index 5950cfb62652853efb832a9e584948c5db7e2572..63e5c750f8837c5be8a30f35ea3ffb3860f192a0 100644 |
| --- a/compiled/library.h |
| +++ b/compiled/library.h |
| @@ -17,6 +17,8 @@ |
| #pragma once |
| +#include <cstdint> |
| + |
| #include "base.h" |
| ABP_NS_BEGIN |
| @@ -24,6 +26,7 @@ ABP_NS_BEGIN |
| class String; |
| class Filter; |
| class Subscription; |
| +typedef uint32_t RegExpID; |
| namespace FilterNotifier |
| { |
| @@ -43,7 +46,7 @@ extern "C" |
| ABP_NS::Subscription* subscription, unsigned int position); |
| void JSNotifySubscriptionChange(ABP_NS::FilterNotifier::Topic topic, |
| ABP_NS::Subscription& subscription); |
| - int GenerateRegExp(const ABP_NS::String& regexp, bool matchCase); |
| - void DeleteRegExp(int id); |
| - bool TestRegExp(int id, const ABP_NS::String& str); |
| + RegExpID GenerateRegExp(const ABP_NS::String& regexp, bool matchCase); |
| + void DeleteRegExp(RegExpID id); |
| + bool TestRegExp(RegExpID id, const ABP_NS::String& str); |
| } |