Skip to content

Commit b2c5312

Browse files
committed
Add debugging information for headers in trampoline
1 parent 9df7b21 commit b2c5312

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

robotpy_build/autowrap/render_cls_rpy_include.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,15 @@ def render_cls_rpy_include_hpp(ctx: HeaderContext, cls: ClassContext) -> str:
4040
)
4141

4242
if ctx.extra_includes_first:
43-
r.writeln()
43+
r.writeln("\n// from extra_includes_first")
4444
for inc in ctx.extra_includes_first:
4545
r.writeln(f"#include <{inc}>")
4646

47+
r.writeln("\n// wrapped header")
4748
r.writeln(f"\n#include <{ctx.rel_fname}>")
4849

4950
if ctx.extra_includes:
50-
r.writeln()
51+
r.writeln("\n// from extra_includes")
5152
for inc in ctx.extra_includes:
5253
r.writeln(f"#include <{inc}>")
5354

0 commit comments

Comments
 (0)