libfreefare icon indicating copy to clipboard operation
libfreefare copied to clipboard

Examples refactoring

Open smortex opened this issue 10 years ago • 0 comments

Many libfreefare examples have common portions of code that have been copied/pasted and only have sparse differences and inconsistencies (tag acquisition, arguments parsing, etc.).

The test suite had to cope with a similar need, and builds a libtestcommon.a archive that is added to the test libraries that use the helper functions it defines. A similar approach for the examples may be appropriate.

smortex avatar May 17 '15 12:05 smortex