From 2c358e705bbde855b12780be86ef19501a62dfed Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Tue, 3 Mar 2026 07:57:33 -0800 Subject: [WARP] Server-side constraint matching Reduce networked functions by constraining on the returned set of functions on the server --- plugins/warp/api/warp.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'plugins/warp/api/warp.cpp') diff --git a/plugins/warp/api/warp.cpp b/plugins/warp/api/warp.cpp index c051e3c7..debbbc00 100644 --- a/plugins/warp/api/warp.cpp +++ b/plugins/warp/api/warp.cpp @@ -353,7 +353,7 @@ bool Container::RemoveTypes(const Source &source, const std::vector &g return result; } -void Container::FetchFunctions(const Target &target, const std::vector &guids, const std::vector &tags) const +void Container::FetchFunctions(const Target &target, const std::vector &guids, const std::vector &tags, const std::vector &constraints) const { size_t count = guids.size(); BNWARPFunctionGUID *apiGuids = new BNWARPFunctionGUID[count]; @@ -363,9 +363,14 @@ void Container::FetchFunctions(const Target &target, const std::vector Container::GetSourcesWithFunctionGUID(const Target& target, const FunctionGUID &guid) const -- cgit v1.3.1