forked from eclipse-cyclonedds/cyclonedds
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
https://github.com/eclipse-cyclonedds/cyclonedds/issues/2123
- Create branch issue-2123-add-deepcopy-func from master @ d8cef89 - Work in progress, build currently fails on compiling CdrStreamOptimize.c generated for src/core/ddsc/tests/ CdrStreamOptimize.idl. src/idl/include/idl/tree.h src/idl/src/tree.c - Add function idl_is_scalar_type. src/core/ddsc/include/dds/ddsc/dds_public_alloc.h - Add defines for __alloc functions of primitive types. src/tools/idlc/src/libidlc/libidlc__generator.c - In function print_includes add generation of #include <string.h> for strcat() / strcpy() required by libidlc__types.c emit_struct() added generation of _copy function. src/tools/idlc/src/libidlc/libidlc__types.c - In various emit() functions remove superfluous ending semicolon in generated __alloc() macros. - In function emit_implicit_sequence add generation of _copy function. - In function emit_struct start adding generation of _copy function. Generation for @optional and @external members is work in progress and struct supertypes have not yet been considered. Also, have not started adding _copy generation in emit_union().
- Loading branch information
Oliver Kellogg
committed
Nov 5, 2024
1 parent
d8cef89
commit 58033b8
Showing
5 changed files
with
216 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters