Add newline at start of c linkage closing

This commit is contained in:
Abdelrahman Said 2025-03-02 13:16:03 +00:00
parent a7742ffcb5
commit 9ac75ebc8c

View File

@ -219,7 +219,7 @@ class CHeader(CFile):
header_guard_close = f"#endif // !{header_guard_name}\n"
c_linkage_open = "#ifdef __cplusplus\nBEGIN_C_LINKAGE\n#endif // !__cplusplus\n\n"
c_linkage_close = "#ifdef __cplusplus\nEND_C_LINKAGE\n#endif // !__cplusplus\n\n"
c_linkage_close = "\n#ifdef __cplusplus\nEND_C_LINKAGE\n#endif // !__cplusplus\n\n"
includes = _get_includes_string(self.includes)