Skip to content

Commit 90b7864

Browse files
committed
Fix bug
1 parent 4b77d6d commit 90b7864

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/semiwrap/makeplan.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,7 @@ def _process_headers(
453453
subpackages.add(ctx.subpackage)
454454

455455
cls_ns, cls_name = _split_ns(name)
456+
cls_ns = cls_ns.replace(":", "_")
456457
trampoline = BuildTarget(
457458
command="dat2trampoline",
458459
args=(datfile, name, OutputFile(f"{cls_ns}__{cls_name}.hpp")),

tests/cpp/sw-caster-consumer/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ packages = ['src/sw_caster_consumer']
2020

2121
[tool.semiwrap]
2222
[tool.semiwrap.extension_modules."sw_caster_consumer._module"]
23-
depends = ["swtest-base", "swtest-base-pybind11"]
23+
depends = ["swtest-base", "sw-test-base-pybind11"]
2424

2525
[tool.semiwrap.extension_modules."sw_caster_consumer._module".headers]
2626
fn = "cpp/more.h"

0 commit comments

Comments
 (0)