libcod
gsc_tcc.hpp
Go to the documentation of this file.
1 #if COMPILE_TCC == 0
2  #define _GSC_TCC_HPP_
3 #endif
4 
5 
6 #ifndef _GSC_TCC_HPP_
7 #define _GSC_TCC_HPP_
8 
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 
13  /* default stuff */
14  #include <stdio.h>
15  #include <stdlib.h>
16  #include <string.h>
17 
18  /* gsc functions */
19  #include "gsc.hpp"
20 
21  /* tcc functions */
22  #include "tcc/tcc.h"
23  #include "tcc/libtcc.h"
24 
25  int gsc_tcc_new();
26  int gsc_tcc_add_include_path();
27  int gsc_tcc_add_file();
28  int gsc_tcc_run();
29  int gsc_tcc_delete();
30 
31 #ifdef __cplusplus
32 }
33 #endif
34 
35 #endif