Blame view

Giac_maj/epsilon-giac/quiz/include/quiz.h 377 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
22
23
  #ifndef QUIZ_H
  #define QUIZ_H
  
  #include <stdbool.h>
  
  #ifdef __cplusplus
  #define QUIZ_CASE(name) extern "C" { void quiz_case_##name();}; void quiz_case_##name()
  #else
  #define QUIZ_CASE(name) void quiz_case_##name()
  #endif
  
  #ifdef __cplusplus
  extern "C" {
  #endif
  
  void quiz_assert_true(bool condition);
  void quiz_print(const char * message);
  
  #ifdef __cplusplus
  }
  #endif
  
  #endif