A `ptr object` needs to be allocated first with `alloc`, `alloc0` and then 
initialized, like in C. There is no convenience for constructor-like procs, 
it's an escape hatch for low-level programming and if you need that escape 
hatch it's likely that even if the stdlib tried to provide sugar for you, you 
will need to customize it or worse it might go in your way.

Reply via email to