title: Call .c function in cython
body: <p>So i'm trying to learn how Cython works and i see a lot of code being created in Cython from c but how do i run a c function from python using Cython. Mind you, i'm very new to python and c code.</p>
  
  <h2>fib.c</h2>
  
  <pre><code>#include "fib.h"
  
  int fib(int n)
  {
     if (n &lt;= 1)
     {
        return n;
     }
  
     return fib(n-1) + fib(n-2);
  }
  </code></pre>
  
  <hr>
  
  <h2>fib.h</h2>
  
  <pre><code> int fib (int n);
  </code></pre>