title: Passing C++ pointer as argument into Cython function
body: <pre><code>cdef extern from "Foo.h":
      cdef cppclass Bar:
          pass
  
  cdef class PyClass:
      cdef Bar *bar
  
      def __cinit__(self, Bar *b)
          bar = b
  </code></pre>
  
  <p>This will always give me something like:<br>
      <code>Cannot convert Python object argument to type 'Bar *'</code></p>
  
  <p>Is there a way to accomplish this, or do I need to extract everything from a <code>Bar</code> object, create a Python equivalent, pass it in, then reconstruct it in <code>PyClass</code>?</p>