22 lines
		
	
	
		
			396 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			396 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef __SMCC_CC_H__
 | |
| #define __SMCC_CC_H__
 | |
| 
 | |
| // TODO
 | |
| #include "frontend/frontend.h"
 | |
| #include "middleend/middleend.h"
 | |
| #include "backend/backend.h"
 | |
| 
 | |
| typedef struct smcc_cc {
 | |
|     const char *file;
 | |
|     void *stream;
 | |
|     sread_fn sread;
 | |
| 
 | |
|     cc_midend_conf_t midend_conf;
 | |
|     cc_backend_conf_t backend_conf;
 | |
| } smcc_cc_t;
 | |
| 
 | |
| typedef union asm_prog asm_prog_t;
 | |
| asm_prog_t* smcc_cc(smcc_cc_t* cc);
 | |
| 
 | |
| #endif
 |