Add int_ptr, from_int_ptr for interoperability