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

Unified Diff: compiled/storage/FilterStorage.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
Index: compiled/storage/FilterStorage.h
===================================================================
--- a/compiled/storage/FilterStorage.h
+++ b/compiled/storage/FilterStorage.h
@@ -33,16 +33,16 @@ public:
static FilterStorage* BINDINGS_EXPORTED GetInstance()
{
return mInstance;
}
Subscriptions::size_type BINDINGS_EXPORTED GetSubscriptionCount() const;
Subscription* BINDINGS_EXPORTED SubscriptionAt(
Subscriptions::size_type index) const;
int BINDINGS_EXPORTED IndexOfSubscription(
- const Subscription* subscription) const;
+ const Subscription& subscription) const;
Subscription* BINDINGS_EXPORTED GetSubscriptionForFilter(
- const Filter* filter) const;
- bool BINDINGS_EXPORTED AddSubscription(Subscription* subscription);
- bool BINDINGS_EXPORTED RemoveSubscription(Subscription* subscription);
- bool BINDINGS_EXPORTED MoveSubscription(Subscription* subscription,
+ const Filter& filter) const;
+ bool BINDINGS_EXPORTED AddSubscription(Subscription& subscription);
+ bool BINDINGS_EXPORTED RemoveSubscription(Subscription& subscription);
+ bool BINDINGS_EXPORTED MoveSubscription(Subscription& subscription,
const Subscription* insertBefore);
};

Powered by Google App Engine
This is Rietveld