Improve code style of generated headers
This commit is contained in:
@ -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")
|
||||
|
||||
Reference in New Issue
Block a user