Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for api changes due to namespaces #417

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions include/zenoh/api/ext/session_ext.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ class SessionExt {
/// @warning This API is deprecated. Please use zenoh::ext::AdvancedPublisher.
/// @brief Options passed to the ``SessionExt::declare_publication_cache``.
struct PublicationCacheOptions {
/// The prefix used for queryable.
std::optional<KeyExpr> queryable_prefix = {};
/// The suffix used for queryable.
std::optional<KeyExpr> queryable_suffix = {};
#if defined(Z_FEATURE_UNSTABLE_API)
/// The restriction for the matching queries that will be receive by this publication cache.
Locality queryable_origin = ::zc_locality_default();
Expand All @@ -73,7 +73,7 @@ class SessionExt {
::ze_publication_cache_options_t to_c_opts() {
::ze_publication_cache_options_t opts;
ze_publication_cache_options_default(&opts);
opts.queryable_prefix = zenoh::interop::as_loaned_c_ptr(this->queryable_prefix);
opts.queryable_suffix = zenoh::interop::as_loaned_c_ptr(this->queryable_suffix);
#if defined(Z_FEATURE_UNSTABLE_API)
opts.queryable_origin = this->queryable_origin;
#endif
Expand Down
Loading