]> git.lizzy.rs Git - uwu-lang.git/blobdiff - common/str.h
Use uwu-common as submodule
[uwu-lang.git] / common / str.h
diff --git a/common/str.h b/common/str.h
deleted file mode 100644 (file)
index fc5f587..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#ifndef _COMMON_STR_H_
-#define _COMMON_STR_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