mirror of
				https://github.com/Mercantec-GHC/h4-projekt-gruppe-0-sm.git
				synced 2025-11-04 00:47:02 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			231 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			231 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
 | 
						|
#[c_function("print_int")]
 | 
						|
fn print_int(value) {}
 | 
						|
 | 
						|
// #[c_function("println")]
 | 
						|
// fn println(value) {}
 | 
						|
 | 
						|
fn main() {
 | 
						|
    // println("hello\ world");
 | 
						|
    let a = 4;
 | 
						|
    print_int(a + 2);
 | 
						|
}
 | 
						|
 | 
						|
// vim: syntax=rust commentstring=//\ %s
 | 
						|
 |