barectf.h.j2: use more accurate definition names
[barectf.git] / barectf / templates / c / barectf.h.j2
index ccc5dc2ca72b64701747136e21dbee401e943977..9433395044ba076b3dcd14c63afd00322899caf4 100644 (file)
@@ -44,10 +44,16 @@ extern "C" {
 #endif
 
 {% if header_opts.identifier_prefix_definition %}
+/* Backward compatibility */
 #define _BARECTF_PREFIX {{ prefix }}
+
+#define _BARECTF_IDENTIFIER_PREFIX {{ prefix }}
 {% endif %}
 {% if def_dst and header_opts.default_data_stream_type_name_definition %}
+/* Backward compatibility */
 #define _BARECTF_DEFAULT_STREAM {{ def_dst.name }}
+
+#define _BARECTF_DEFAULT_DATA_STREAM_TYPE_NAME {{ def_dst.name }}
 {% endif %}
 {% if def_dst %}
 
This page took 0.023779 seconds and 4 git commands to generate.