syntax: in zig use ptr.elem instead of ptr.*.elem
This commit is contained in:
		
							parent
							
								
									33db0ea301
								
							
						
					
					
						commit
						ffadcffdc1
					
				| @ -18,7 +18,7 @@ const Syn = c.input_event{ .type = c.EV_SYN, .code = c.SYN_REPORT, .value = 0, . | ||||
| var uidev: *align(8) void = undefined; | ||||
| 
 | ||||
| fn event_equal(e1: *const c.input_event, e2: *const c.input_event) bool { | ||||
|     return (e1.*.type == e2.*.type) and (e1.*.code == e2.*.code) and (e1.*.value == e2.*.value); | ||||
|     return (e1.type == e2.type) and (e1.code == e2.code) and (e1.value == e2.value); | ||||
| } | ||||
| 
 | ||||
| fn event_write(event: *const c.input_event) !void { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user