pointer -> ptr object, for opaque types