summaryrefslogtreecommitdiff
path: root/src/scheme/ao_scheme.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2018-01-04 02:23:40 -0800
committerKeith Packard <keithp@keithp.com>2018-01-04 02:23:40 -0800
commit036a5311cbc86dbc5a8f859778d52d588915e4e2 (patch)
tree9a41876ad306a50786a34551285f10d8f906555e /src/scheme/ao_scheme.h
parent0a0327330dcbf5531cd0f8ca8b912fa51ef44f13 (diff)
altos/scheme: add make-string builtin
Allocate a blank string. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/scheme/ao_scheme.h')
-rw-r--r--src/scheme/ao_scheme.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/scheme/ao_scheme.h b/src/scheme/ao_scheme.h
index 34fb2e88..68803462 100644
--- a/src/scheme/ao_scheme.h
+++ b/src/scheme/ao_scheme.h
@@ -710,7 +710,10 @@ struct ao_scheme_string *
ao_scheme_string_copy(struct ao_scheme_string *a);
struct ao_scheme_string *
-ao_scheme_string_make(char *a);
+ao_scheme_string_new(char *a);
+
+struct ao_scheme_string *
+ao_scheme_make_string(int32_t len, char fill);
struct ao_scheme_string *
ao_scheme_atom_to_string(struct ao_scheme_atom *a);