aboutsummaryrefslogtreecommitdiff
path: root/src/lib/inc/arg.h
diff options
context:
space:
mode:
authorMarvin Borner2020-07-23 20:13:25 +0200
committerMarvin Borner2020-07-23 20:13:25 +0200
commita0b8c61b09200aa3f9e27878cb866648a7d26502 (patch)
tree31de26c3c491d3fee719a1d9d5aad2b2ce879e2a /src/lib/inc/arg.h
parent99e183a2f569729d722d83503cb851d6198fc1fe (diff)
Added formatted print function
Diffstat (limited to 'src/lib/inc/arg.h')
-rw-r--r--src/lib/inc/arg.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/lib/inc/arg.h b/src/lib/inc/arg.h
new file mode 100644
index 0000000..73e592d
--- /dev/null
+++ b/src/lib/inc/arg.h
@@ -0,0 +1,11 @@
+// MIT License, Copyright (c) 2020 Marvin Borner
+
+#ifndef ARG_H
+#define ARG_H
+
+typedef __builtin_va_list va_list;
+#define va_start __builtin_va_start
+#define va_end __builtin_va_end
+#define va_arg __builtin_va_arg
+
+#endif