4 ; String bucket handling
9 ;----- Overview -------------------------------------------------------------
17 [ :LNOT::DEF:strBucket__dfn
20 ; --- strBucket_init ---
26 ; Use: Initialises the string bucket.
30 ; --- strBucket_alloc ---
32 ; On entry: R0 == size of string to allocate
34 ; On exit: R0 == pointer to area to use (length at [R0,#-1])
35 ; R1 == offset to that (for storing)
37 ; Use: Allocates space for a string of the given size.
39 IMPORT strBucket_alloc
41 ; --- strBucket_free ---
43 ; On entry: R0 == offset of string to free
47 ; Use: Frees the memory the string took up.
53 ;----- That's all, folks ----------------------------------------------------