Skip to content

Commit

Permalink
Added a comment regarding the point of our type_prefix attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
photex committed Feb 22, 2021
1 parent 1f43268 commit 5f2a45c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions demo/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ fn main() {

// Automatically derive ecal message for these types.
config.type_attribute(".", "#[derive(ecal::Message)]");
// This is influencing how the type names are derived and
// ultimately displayed in eCAL mon.
config.type_attribute(".", "#[type_prefix = \"kpns_msgs.\"]");

// Compile proto messages
Expand Down

0 comments on commit 5f2a45c

Please sign in to comment.