Start implementing a test for the asset reading functionality
This commit is contained in:
		
							
								
								
									
										11
									
								
								src/pakrd_test.c
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								src/pakrd_test.c
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,11 @@ | |||||||
|  | #include "pak.h" | ||||||
|  | #include <stdio.h> | ||||||
|  | #include <stdlib.h> | ||||||
|  |  | ||||||
|  | int main(int argc, char *argv[]) { | ||||||
|  |   pak_read_t *pack = load_asset_pack("assets.pak"); | ||||||
|  |  | ||||||
|  |   printf("%p\n", (void *)pack); | ||||||
|  |  | ||||||
|  |   return EXIT_SUCCESS; | ||||||
|  | } | ||||||
		Reference in New Issue
	
	Block a user