summaryrefslogtreecommitdiffstats
path: root/usr.bin/f2c/niceprintf.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/f2c/niceprintf.h')
-rw-r--r--usr.bin/f2c/niceprintf.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/usr.bin/f2c/niceprintf.h b/usr.bin/f2c/niceprintf.h
new file mode 100644
index 0000000..24c65d4
--- /dev/null
+++ b/usr.bin/f2c/niceprintf.h
@@ -0,0 +1,16 @@
+/* niceprintf.h -- contains constants and macros from the output filter
+ for the generated C code. We use macros for increased speed, less
+ function overhead. */
+
+#define MAX_OUTPUT_SIZE 6000 /* Number of chars on one output line PLUS
+ the length of the longest string
+ printed using nice_printf */
+
+
+
+#define next_tab(fp) (indent += tab_size)
+
+#define prev_tab(fp) (indent -= tab_size)
+
+
+
OpenPOWER on IntegriCloud