Joy Online Manual

NAME
objc:delPtr - Free memory

SYNOPSIS

objc:delPtr address

DESCRIPTION
Deallocates the memory at the given address.

EXAMPLE
The first line allocates 100 bytes, the second deallocates them.

tcl> set p [objc:newPtr {char 100}]
char 100@0x218f1c
tcl> objc:delPtr $p

SEE ALSO

objc:newPtr
objc:typedef

KEYWORDS
deallocation, pointer

Index