]> git.sur5r.net Git - openocd/commit
add COMMAND_REGISTER macro
authorZachary T Welch <zw@superlucidity.net>
Fri, 20 Nov 2009 19:30:00 +0000 (11:30 -0800)
committerZachary T Welch <zw@superlucidity.net>
Wed, 25 Nov 2009 05:37:29 +0000 (21:37 -0800)
commitf7e1f2df74b599903a6fb2d2ace94c3f1ef06097
treef3fa0c2bdacada88f38ad2dcfbc97b5ec932f6dc
parent47cb10217a7bc4b97fa169a821db05f40bc2e51d
add COMMAND_REGISTER macro

Provides a migration path for the widely used register_command API,
which needs to be updated to provide new functionality.

This macro allows the API to change without having to update all of its
callers at the same time.
src/helper/command.h