Blame view

build3/python/port/interrupt_helper.h 305 Bytes
6663b6c9   adorian   projet complet av...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  #ifndef PYTHON_INTERRUPT_HELPER_H
  #define PYTHON_INTERRUPT_HELPER_H
  
  #ifdef __cplusplus
  extern "C" {
  #endif
  
  /* shouldInterrupt effectively does something once every 20000 calls. It checks
   * if a key is down to raise an interruption flag. */
  
  void shouldInterrupt();
  
  #ifdef __cplusplus
  }
  #endif
  
  #endif