]> git.lizzy.rs Git - uwu-lang.git/blobdiff - src/util.h
Allow passing arguments to program, refactor directory structure
[uwu-lang.git] / src / util.h
diff --git a/src/util.h b/src/util.h
deleted file mode 100644 (file)
index b0baa37..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#ifndef _UTIL_H_
-#define _UTIL_H_
-
-#include <stdio.h>
-#include <stdarg.h>
-
-static inline char *asprintf_wrapper(const char *format, ...)
-{
-       va_list args;
-       va_start(args, format);
-       char *ptr;
-       vasprintf(&ptr, format, args);
-       va_end(args);
-       return ptr;
-}
-
-#endif