There was an error while loading. Please reload this page.
2 parents 54252c4 + 814ae9e commit 033606cCopy full SHA for 033606c
sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/c/CGenerator.java
@@ -2282,7 +2282,7 @@ private static void generateCompositePropertyFunction(
2282
final int offset = token.offset();
2283
2284
sb.append(String.format("\n" +
2285
- "struct %1$s *%4$s_%2$s(struct %4$s *const codec, struct %1$s *const composite)\n" +
+ "SBE_ONE_DEF struct %1$s *%4$s_%2$s(struct %4$s *const codec, struct %1$s *const composite)\n" +
2286
"{\n" +
2287
" return %1$s_wrap(\n" +
2288
" composite,\n" +
0 commit comments