Skip to content

Commit

Permalink
Export dds_writecdr_impl
Browse files Browse the repository at this point in the history
Signed-off-by: Koudai Yamasaki <[email protected]>
  • Loading branch information
ymski committed Dec 15, 2023
1 parent 4572324 commit b708d7a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
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

0 comments on commit b708d7a

Please sign in to comment.