; ; strBucket.sh ; ; String bucket handling ; ; © 1995 Straylight ; ;----- Overview ------------------------------------------------------------- ; ; Functions provided: ; ; strBucket_init ; strBucket_alloc ; strBucket_free [ :LNOT::DEF:strBucket__dfn GBLL strBucket__dfn ; --- strBucket_init --- ; ; On entry: -- ; ; On exit: -- ; ; Use: Initialises the string bucket. IMPORT strBucket_init ; --- strBucket_alloc --- ; ; On entry: R0 == size of string to allocate ; ; On exit: R0 == pointer to area to use (length at [R0,#-1]) ; R1 == offset to that (for storing) ; ; Use: Allocates space for a string of the given size. IMPORT strBucket_alloc ; --- strBucket_free --- ; ; On entry: R0 == offset of string to free ; ; On exit: -- ; ; Use: Frees the memory the string took up. IMPORT strBucket_free ] ;----- That's all, folks ---------------------------------------------------- END