dl: run vfmt over all .v files
							parent
							
								
									50c09e074a
								
							
						
					
					
						commit
						3fdff93c3f
					
				|  | @ -2,7 +2,7 @@ module dl | |||
| 
 | ||||
| pub const ( | ||||
| 	version = 1 | ||||
| 	dl_ext    = get_shared_library_extension() | ||||
| 	dl_ext  = get_shared_library_extension() | ||||
| ) | ||||
| 
 | ||||
| pub fn get_shared_library_extension() string { | ||||
|  |  | |||
|  | @ -1,7 +1,7 @@ | |||
| module dl | ||||
| 
 | ||||
| pub const ( | ||||
| 	rtld_now = 0 | ||||
| 	rtld_now  = 0 | ||||
| 	rtld_lazy = 0 | ||||
| ) | ||||
| 
 | ||||
|  |  | |||
|  | @ -6,7 +6,7 @@ import dl | |||
| type FNAdder = fn (int, int) int | ||||
| 
 | ||||
| fn main() { | ||||
| 	library_file_path := os.join_path(os.getwd(), 'library${dl.dl_ext}') | ||||
| 	library_file_path := os.join_path(os.getwd(), 'library$dl.dl_ext') | ||||
| 	handle := dl.open(library_file_path, dl.rtld_lazy) | ||||
| 	eprintln('handle: ${ptr_str(handle)}') | ||||
| 	mut f := &FNAdder(0) | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue