Escape arguments to platform linker/compiler. (#1358)

* Escape arguments to platform linker/compiler.
This commit is contained in:
Christian Buttner
2024-08-15 15:01:53 +02:00
committed by GitHub
parent 2a69f93605
commit 85c682f7e6
5 changed files with 109 additions and 49 deletions

View File

@@ -154,10 +154,12 @@ void slice_trim(StringSlice *slice);
void scratch_buffer_clear(void);
void scratch_buffer_append(const char *string);
UNUSED char *scratch_buffer_get_quoted(const char *string);
UNUSED void scratch_buffer_append_quoted(const char *string);
void scratch_buffer_append_argument(const char *string);
void scratch_buffer_append_double_quoted(const char *string);
void scratch_buffer_append_shell_escaped(const char *string);
void scratch_buffer_append_len(const char *string, size_t len);
void scratch_buffer_append_char(char c);
void scratch_buffer_append_char_repeat(char c, size_t count);
void scratch_buffer_append_signed_int(int64_t i);
void scratch_buffer_append_double(double d);
UNUSED void scratch_buffer_append_unsigned_int(uint64_t i);