Joy Online Manual
| NAME |
| objc:newPtr - Allocate memory |
| SYNOPSIS |
objc:newPtr type
| DESCRIPTION |
| Allocates memory for the given type and returns the pointer. |
| EXAMPLE |
| Allocates 100 bytes. |
tcl> set p [objc:newPtr {char 100}]
char 100@0x751b8
| SEE ALSO |
| KEYWORDS |
| allocation, pointer |
| Index |