projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Add lambdakey
[fw/altos]
/
src
/
lisp
/
ao_lisp_string.c
diff --git
a/src/lisp/ao_lisp_string.c
b/src/lisp/ao_lisp_string.c
index 1ab569332cc378a05d24a2dac63f865d2bb81d8c..39c3dc816ddd45dae08a6d6a83d3e876ec6bdd76 100644
(file)
--- a/
src/lisp/ao_lisp_string.c
+++ b/
src/lisp/ao_lisp_string.c
@@
-68,16
+68,18
@@
ao_lisp_string_cat(char *a, char *b)
return r;
}
return r;
}
-const struct ao_lisp_
mem_
type ao_lisp_string_type = {
+const struct ao_lisp_type ao_lisp_string_type = {
.mark = string_mark,
.size = string_size,
.move = string_move,
};
void
.mark = string_mark,
.size = string_size,
.move = string_move,
};
void
-ao_lisp_string_print(
char *s
)
+ao_lisp_string_print(
ao_poly p
)
{
{
+ char *s = ao_lisp_poly_string(p);
char c;
char c;
+
putchar('"');
while ((c = *s++)) {
switch (c) {
putchar('"');
while ((c = *s++)) {
switch (c) {