aboutsummaryrefslogtreecommitdiff
path: root/macro.h
diff options
context:
space:
mode:
Diffstat (limited to 'macro.h')
-rw-r--r--macro.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/macro.h b/macro.h
new file mode 100644
index 0000000..c605cdf
--- /dev/null
+++ b/macro.h
@@ -0,0 +1,11 @@
+#ifndef MACRO_H
+#define MACRO_H
+
+#include "buffer.h"
+
+typedef Buffer Macro;
+#define macro_free buffer_free
+#define macro_reset buffer_truncate
+#define macro_append buffer_append
+
+#endif