title: Cannot convert 'void (MyClass::*)()' to 'void (*)()
body: <p>I'm trying to link the function void MainWindow::lowPower() to wiringPiISR(int, int, void (*)(void). My problem is that I get the following error:</p>
  
  <pre><code>cannot convert 'void (MyClass::*)()' to 'void (*)()
  </code></pre>
  
  <p>when i'm trying to point to the function this way:</p>
  
  <pre><code>void (MainWindow::*lowPower)(void);
  wiringPiISR(4, INT_EDGE_BOTH, lowPower);
  </code></pre>
  
  <p>the syntax of wiringPiISR is:</p>
  
  <pre><code>int wiringPiISR (int pin, int edgeType,  void (*function)(void))
  </code></pre>
  
  <p>I can't make the lowPower static because i need to call a few objects</p>
  
  <p>How can I fix this issue?</p>