This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #define NOB_IMPLEMENTATION | |
| // #define NOB_STRIP_PREFIX | |
| #define NOB_WARN_DEPRECATED | |
| #include "nob.h" // https://github.com/tsoding/nob.h | |
| #include <stdio.h> | |
| #include <string.h> | |
| #define PROJECT_NAME "NoBuild_Raylib" | |
| #define BUILD_FOLDER "build/" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| void carve_file(const char *input_file, const char *output_file, size_t start_byte, size_t end_byte){ | |
| FILE *file_in = NULL; | |
| FILE *file_out = NULL; | |
| file_in = fopen(input_file, "rb"); | |
| if (!file_in) { | |
| printf("Failed to open input file - %s\n", input_file); | |
| goto defer; |
OlderNewer