summaryrefslogtreecommitdiff
path: root/src/escpos/memory.h
diff options
context:
space:
mode:
authorJari Vetoniemi <mailroxas@gmail.com>2018-02-01 08:31:01 +0200
committerJari Vetoniemi <mailroxas@gmail.com>2018-02-12 03:34:18 +0200
commitf54e7e8c2aeb4fafebf0d5bd5570b060462c9ecf (patch)
treeb3bcc7ca21cda7d655bfcc0d9ec26d4a6668f27f /src/escpos/memory.h
Initial commit
Diffstat (limited to 'src/escpos/memory.h')
-rw-r--r--src/escpos/memory.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/escpos/memory.h b/src/escpos/memory.h
new file mode 100644
index 0000000..90d96e6
--- /dev/null
+++ b/src/escpos/memory.h
@@ -0,0 +1,8 @@
+#pragma once
+
+#include <stddef.h>
+
+struct escpos_mem {
+ void *data;
+ size_t len;
+};