diff options
author | Daniel Mueller <deso@posteo.net> | 2017-03-29 23:10:18 -0700 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2017-03-29 23:10:18 -0700 |
commit | c3b61ebe688e6e353b0fcd737f76851f78b8c74f (patch) | |
tree | 010a09addab4d77d7cb1b8ae164c3d4310633124 /hidapi-sys/build.rs | |
parent | a0c6480aa6b1c6dad45b67e5bc7c29c5f0a4bb0e (diff) | |
download | nitrocli-c3b61ebe688e6e353b0fcd737f76851f78b8c74f.tar.gz nitrocli-c3b61ebe688e6e353b0fcd737f76851f78b8c74f.tar.bz2 |
Use macros for generating commands
Commands to the nitrokey all must follow a similar pattern in that they
all require to have a constructor (i.e., a new() method) and need to
implement the AsRef trait for byte slices.
For we require more commands in the future, this change introduces
macros that simplify creation of command objects.
Diffstat (limited to 'hidapi-sys/build.rs')
0 files changed, 0 insertions, 0 deletions