title: Allocating with malloc in Cython
body: <p>Is there any difference in Cython between allocating memory like this</p>
  
  <pre><code>from libc.stdlib cimport malloc
  cdef int *ar = &lt;int *&gt;malloc(100 * sizeof(int))
  </code></pre>
  
  <p>and like this</p>
  
  <pre><code>from libc.stdlib cimport malloc
  ar = &lt;int *&gt;malloc(100 * sizeof(int))
  </code></pre>