Skip to content

Commit 14997f5

Browse files
committed
Rename arrayfree to arraystrfree
This makes more sense since it's an array of strings being freed.
1 parent af1c0ae commit 14997f5

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
#include once <free.asm>
66

7-
__ARRAY_FREE:
7+
__ARRAYSTR_FREE:
88
PROC
99

1010
LOCAL __ARRAY_LOOP
@@ -15,7 +15,7 @@ __ARRAY_FREE:
1515
1616
ex de, hl
1717

18-
__ARRAY_FREE_FAST: ; Fastcall entry: DE = Number of elements
18+
__ARRAYSTR_FREE_FAST: ; Fastcall entry: DE = Number of elements
1919
ld a, h
2020
or l
2121
ret z ; ret if NULL
@@ -46,14 +46,14 @@ __ARRAY_LOOP:
4646
ENDP
4747

4848

49-
__ARRAY_FREE_MEM: ; like the above, buf also frees the array itself
49+
__ARRAYSTR_FREE_MEM: ; like the above, buf also frees the array itself
5050
ex de, hl
5151
pop hl ; (ret address)
5252
ex (sp), hl ; Callee -> HL = Number of elements
5353
ex de, hl
5454

5555
push hl ; Saves array pointer for later
56-
call __ARRAY_FREE_FAST
56+
call __ARRAYSTR_FREE_FAST
5757
pop hl ; recovers array block pointer
5858

5959
jp __MEM_FREE ; Frees it and returns from __MEM_FREE

0 commit comments

Comments
 (0)