more get_info
int_ptr and from_int_ptr, to be refactored