Blame view

epsilon-master/ion/src/blackbox/library.h 469 Bytes
6663b6c9   adorian   projet complet av...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  // Turn Epsilon into a library
  
  #include <kandinsky.h>
  
  #ifndef EPSILON_LIB_PREFIX
  #error EPSILON_LIB_PREFIX must be defined
  #endif
  
  #define CAT_I(a,b) a ## _epsilon_ ## b
  #define CAT(a,b) CAT_I(a, b)
  #define PREFIXED(name) CAT(EPSILON_LIB_PREFIX, name)
  
  extern "C" {
  
  void PREFIXED(main)();
  void PREFIXED(send_event)(int c);
  void PREFIXED(wait_event_processed)();
  const KDColor * PREFIXED(frame_buffer)();
  void PREFIXED(write_frame_buffer_to_file)(const char * c);
  
  }