mirror of
				https://github.com/Icinga/icinga2.git
				synced 2025-10-27 01:03:50 +01:00 
			
		
		
		
	What does this change? * Remove use of spaces for formatting These could be found by using `grep -r -l -P '^\t+ +[^*]' * Removal of training whitespaces * A few lines longer than 120 chars
		
			
				
	
	
		
			24 lines
		
	
	
		
			469 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			469 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifdef SWIG
 | |
| %module i2tcl
 | |
| %{
 | |
| #include "i2tcl.hpp"
 | |
| %}
 | |
| 
 | |
| %typemap(in,numinputs=0) Tcl_Interp *interp {
 | |
| 	$1 = interp;
 | |
| }
 | |
| 
 | |
| #endif /* SWIG */
 | |
| 
 | |
| #include <tcl.h>
 | |
| 
 | |
| #ifndef I2TCL_H
 | |
| #define I2TCL_H
 | |
| 
 | |
| void i2_register_command(const char *icmd, const char *tcmd, const char *mtype, Tcl_Interp *interp);
 | |
| void *i2_new_frame(Tcl_Interp *interp);
 | |
| void i2_free_frame(void *frame, Tcl_Interp *interp);
 | |
| char *i2_eval(void *frame, const char *text, Tcl_Interp *interp);
 | |
| 
 | |
| #endif /* I2TCL_H */
 |