| Index: compiled/library.h |
| =================================================================== |
| --- a/compiled/library.h |
| +++ b/compiled/library.h |
| @@ -15,16 +15,17 @@ |
| * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
| */ |
| #pragma once |
| class String; |
| class Filter; |
| class Subscription; |
| +class ReMatchResults; |
| namespace FilterNotifier |
| { |
| enum class Topic; |
| } |
| extern "C" |
| { |
| @@ -32,12 +33,14 @@ |
| void LogInteger(int i); |
| void LogPointer(const void* ptr); |
| void LogError(const String& str); |
| char16_t CharToLower(char16_t charCode); |
| void JSNotifyFilterChange(FilterNotifier::Topic topic, Filter& filter, |
| Subscription* subscription, unsigned int position); |
| void JSNotifySubscriptionChange(FilterNotifier::Topic topic, |
| Subscription& subscription); |
| - int GenerateRegExp(const String& regexp, bool matchCase); |
| + int GenerateRegExp(const String& regexp, bool matchCase, bool global); |
| void DeleteRegExp(int id); |
| bool TestRegExp(int id, const String& str); |
| + int ExecRegExp(int id, const String& str); |
| + bool MatchRegExp(int id, const String& str, ReMatchResults* results); |
| } |