Length, string -> std functions

This commit is contained in:
Dmitry Boulytchev 2021-01-31 22:57:12 +03:00
parent 216e716251
commit f1430a1cdf
10 changed files with 21 additions and 39 deletions

View file

@ -4,6 +4,8 @@ F,system;
V,sysargs;
F,stringInt;
F,makeArray;
F,string;
F,length;
F,clone;
F,hash;
F,fst;

View file

@ -335,7 +335,7 @@ int Ls__Infix_37 (void *p, void *q) {
return BOX(UNBOX(p) % UNBOX(q));
}
extern int Blength (void *p) {
extern int Llength (void *p) {
data *a = (data*) BOX (NULL);
ASSERT_BOXED(".length", p);
@ -974,7 +974,7 @@ extern void* Lstringcat (void *p) {
return s;
}
extern void* Bstringval (void *p) {
extern void* Lstring (void *p) {
void *s = (void *) BOX (NULL);
__pre_gc () ;