Added the buf_ptr type.
Removed RSI comment about removing a scoped_malloc_t constructor.