1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Improve code style of generated headers

This commit is contained in:
Rémi Verschelde
2017-11-15 20:16:51 +01:00
parent 677e95d8d1
commit ed2b66f023
4 changed files with 25 additions and 34 deletions

View File

@@ -1293,21 +1293,15 @@ def detect_modules():
// modules.cpp - THIS FILE IS GENERATED, DO NOT EDIT!!!!!!!
#include "register_module_types.h"
""" + includes_cpp + """
void register_module_types() {
""" + register_cpp + """
}
void unregister_module_types() {
""" + unregister_cpp + """
}
"""
f = open("modules/register_module_types.gen.cpp", "w")