diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2022-01-01 19:19:47 +0100 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2022-01-01 19:19:47 +0100 |
commit | e56374fa85ab5cac4c9a4b264ea994c750a2bae0 (patch) | |
tree | 8fa4e2c1f2ccd482b55b27df6549d09047ad050c /common/str.h | |
parent | 6ec67846ffadb5bd1be13d5a7ea3abcf67f1c536 (diff) | |
download | uwu-lang-e56374fa85ab5cac4c9a4b264ea994c750a2bae0.tar.xz |
Use uwu-common as submodule
Diffstat (limited to 'common/str.h')
-rw-r--r-- | common/str.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/common/str.h b/common/str.h deleted file mode 100644 index fc5f587..0000000 --- a/common/str.h +++ /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 |