Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: compiled/FilterNotifier.h

Issue 29532626: Issue 5603 - Support references in parameters of exported functions (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore
Patch Set: Created Aug. 31, 2017, 12:36 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | compiled/bindings/generator.h » ('j') | compiled/bindings/generator.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiled/FilterNotifier.h
===================================================================
--- a/compiled/FilterNotifier.h
+++ b/compiled/FilterNotifier.h
@@ -66,19 +66,19 @@ namespace FilterNotifier
printf(" [%i, 'subscription.homepage'],\n", Topic::SUBSCRIPTION_HOMEPAGE);
printf(" [%i, 'subscription.lastCheck'],\n", Topic::SUBSCRIPTION_LASTCHECK);
printf(" [%i, 'subscription.lastDownload'],\n", Topic::SUBSCRIPTION_LASTDOWNLOAD);
printf(" [%i, 'subscription.downloadStatus'],\n", Topic::SUBSCRIPTION_DOWNLOADSTATUS);
printf(" [%i, 'subscription.errors'],\n", Topic::SUBSCRIPTION_ERRORS);
printf("]);");
}
- inline void FilterChange(Topic topic, Filter* filter,
+ inline void FilterChange(Topic topic, Filter& filter,
Subscription* subscription = nullptr, unsigned int position = 0)
{
JSNotifyFilterChange(topic, filter, subscription, position);
}
- inline void SubscriptionChange(Topic topic, Subscription* subscription)
+ inline void SubscriptionChange(Topic topic, Subscription& subscription)
{
JSNotifySubscriptionChange(topic, subscription);
}
}
« no previous file with comments | « no previous file | compiled/bindings/generator.h » ('j') | compiled/bindings/generator.cpp » ('J')

Powered by Google App Engine
This is Rietveld