Blame view

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