Fix compilation

This commit is contained in:
doylet 2025-11-09 15:09:01 +11:00
parent a8c32301a9
commit bcc7968424
3 changed files with 4 additions and 6 deletions

View File

@ -1,4 +1,4 @@
// Generated by the DN single header generator 2025-11-09 13:19:26 // Generated by the DN single header generator 2025-11-09 15:08:50
#define DN_BASE_INC_CPP #define DN_BASE_INC_CPP

View File

@ -1,4 +1,4 @@
// Generated by the DN single header generator 2025-11-09 13:19:26 // Generated by the DN single header generator 2025-11-09 15:08:50
#if !defined(DN_BASE_INC_H) #if !defined(DN_BASE_INC_H)
#define DN_BASE_INC_H #define DN_BASE_INC_H

View File

@ -78,10 +78,8 @@ static void AppendCppFileLineByLine(DN_Str8Builder *dest, DN_Str8 cpp_path)
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
DN_Core dn = {}; DN_Core dn = {};
DN_OSCore os = {}; DN_Init(&dn, DN_InitFlags_Nil, nullptr);
DN_OS_Init(&os, nullptr);
DN_Core_Init(&dn, DN_CoreOnInit_Nil);
if (argc != 3) { if (argc != 3) {
DN_OS_PrintErrF("USAGE: %s <path/to/dn/Source> <output_dir>", argv[0]); DN_OS_PrintErrF("USAGE: %s <path/to/dn/Source> <output_dir>", argv[0]);