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

Export dds_writecdr_impl #1880

Merged
merged 1 commit into from
Jan 30, 2024
Merged
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
1 change: 1 addition & 0 deletions src/core/ddsc/src/dds__write.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ dds_return_t dds_write_impl (dds_writer *wr, const void *data, dds_time_t timest
ddsrt_attribute_warn_unused_result ddsrt_nonnull_all;

/** @component write_data */
DDS_EXPORT_INTERNAL_FUNCTION
dds_return_t dds_writecdr_impl (dds_writer *wr, struct ddsi_xpack *xp, struct ddsi_serdata *d, bool flush)
ddsrt_attribute_warn_unused_result ddsrt_nonnull_all;

Expand Down
3 changes: 2 additions & 1 deletion src/core/xtests/symbol_export/symbol_export.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@

#include "dds/cdr/dds_cdrstream.h"

#include "dds__write.h" // dds_write_impl
#include "dds__write.h" // dds_write_impl, dds_writecdr_impl

DDSRT_WARNING_DEPRECATED_OFF

Expand Down Expand Up @@ -1058,6 +1058,7 @@ int main (int argc, char **argv)

// dds__write.h
dds_write_impl (ptr, ptr, 0, (dds_write_action) 0);
dds_writecdr_impl (ptr, ptr, ptr, false);

return 0;
}
Expand Down