Commit 15640f0a authored by Mark Hills's avatar Mark Hills
Browse files

Print in the format of the source code

parent e33e3687
......@@ -133,13 +133,14 @@ int main(int argc, char *argv[])
(double)length / RESOLUTION);
fprintf(stderr, "\n");
fprintf(stderr, ".resolution = %d,\n", RESOLUTION);
fprintf(stderr, ".flags = 0,\n");
fprintf(stderr, ".bits = %d,\n", BITS);
fprintf(stderr, ".seed = 0x%08x,\n", SEED);
fprintf(stderr, ".taps = 0x%08x,\n", TAPS);
fprintf(stderr, ".length = %d,\n", length);
fprintf(stderr, ".safe = %d,\n", MAX(0, length - 4 * RESOLUTION));
fprintf(stderr, " {\n");
fprintf(stderr, " .resolution = %d,\n", RESOLUTION);
fprintf(stderr, " .bits = %d,\n", BITS);
fprintf(stderr, " .seed = 0x%08x,\n", SEED);
fprintf(stderr, " .taps = 0x%08x,\n", TAPS);
fprintf(stderr, " .length = %d,\n", length);
fprintf(stderr, " .safe = %d,\n", MAX(0, length - 4 * RESOLUTION));
fprintf(stderr, " }\n");
return 0;
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment