mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-06 06:48:48 +00:00
Length, string -> std functions
This commit is contained in:
parent
216e716251
commit
f1430a1cdf
10 changed files with 21 additions and 39 deletions
|
|
@ -4,6 +4,8 @@ F,system;
|
|||
V,sysargs;
|
||||
F,stringInt;
|
||||
F,makeArray;
|
||||
F,string;
|
||||
F,length;
|
||||
F,clone;
|
||||
F,hash;
|
||||
F,fst;
|
||||
|
|
|
|||
|
|
@ -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 () ;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue