Add preamble to generated file and fix gen-config.py filename

This commit is contained in:
pagedown
2022-02-03 21:38:24 +08:00
parent 90b54c5f7f
commit 80a62c8d71
2 changed files with 3 additions and 1 deletions

View File

@@ -292,6 +292,8 @@ const char* load_glfw(const char* path);
f.write(header)
code = '''
// generated by glfw.py DO NOT edit
#define GFW_EXTERN
#include "data-types.h"
#include "glfw-wrapper.h"