mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 16:57:31 +01:00
18 lines
305 B
C
18 lines
305 B
C
#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
|