Improve code style of generated headers
This commit is contained in:
parent
677e95d8d1
commit
ed2b66f023
4 changed files with 25 additions and 34 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue