diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-02-23 15:08:22 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-02-23 15:08:22 -0500 |
commit | 64294f4ac5b1b41e95f20a827c2aead301becb92 (patch) | |
tree | b116b3bd71f634de1bec72b2d60501285e13071d /dimension/progressbar.h | |
parent | c76c0f017fa884c4b9a04ff7fa3b43d331c82d84 (diff) | |
download | dimension-64294f4ac5b1b41e95f20a827c2aead301becb92.tar.xz |
Make progress bars better.
Diffstat (limited to 'dimension/progressbar.h')
-rw-r--r-- | dimension/progressbar.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dimension/progressbar.h b/dimension/progressbar.h index 9ee7d91..7f4948e 100644 --- a/dimension/progressbar.h +++ b/dimension/progressbar.h @@ -21,8 +21,11 @@ #define PROGRESSBAR_H #include "../libdimension/dimension.h" +#include "utility.h" /* For DMNSN_PRINTF_WARN */ /* Print a progress bar of the progress of `progress' */ -void dmnsn_progressbar(const char *str, const dmnsn_progress *progress); +void dmnsn_progressbar(const char *format, const dmnsn_progress *progress, + ...) + DMNSN_PRINTF_WARN(1, 3); #endif /* PROGRESSBAR_H */ |