title: XS typemap for intptr_t
body: <p>I'm trying to return an intptr_t type from some XS code:</p>
  
  <pre><code>intptr_t
  my_func( self )
          myObjPtr self
      CODE:
          RETVAL = (intptr_t) self;
      OUTPUT:
          RETVAL
  </code></pre>
  
  <p>My typemap doesn't have anything about <code>intptr_t</code>, so of course <code>dmake</code> fails with <code>Could not find a typemap for C type 'intptr_t'.</code> I'm not sure if Perl even works with integers as big as <code>intptr_t</code> can be. If there's no good way to return this to Perl as a number, I'll just stringify it. </p>