diff --git a/MODULE.bazel b/MODULE.bazel index 0fcce74..27ccec7 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -8,14 +8,15 @@ bazel_dep(name = "nlohmann_json", version = "3.11.3") bazel_dep(name = "ecsact_runtime", version = "0.6.6") bazel_dep(name = "ecsact_parse", version = "0.5.1") bazel_dep(name = "magic_enum", version = "0.9.3") -bazel_dep(name = "ecsact_lang_cpp", version = "0.4.4") +bazel_dep(name = "ecsact_lang_cpp", version = "0.4.5") bazel_dep(name = "rules_cc", version = "0.0.9") -bazel_dep(name = "ecsact_codegen", version = "0.2.0") +bazel_dep(name = "ecsact_codegen", version = "0.3.1") bazel_dep(name = "bazel_skylib", version = "1.7.1") -bazel_dep(name = "ecsact_cli", version = "0.3.11") +bazel_dep(name = "ecsact_cli", version = "0.3.12") bazel_dep(name = "toolchains_llvm", version = "1.0.0", dev_dependency = True) bazel_dep(name = "hedron_compile_commands", dev_dependency = True) + git_override( module_name = "hedron_compile_commands", commit = "204aa593e002cbd177d30f11f54cff3559110bb9", diff --git a/json_codegen/json_codegen.cc b/json_codegen/json_codegen.cc index 59330fc..9270b15 100644 --- a/json_codegen/json_codegen.cc +++ b/json_codegen/json_codegen.cc @@ -147,8 +147,9 @@ static void json_transient_properties( } void ecsact_codegen_plugin( - ecsact_package_id package_id, - ecsact_codegen_write_fn_t write_fn + ecsact_package_id package_id, + ecsact_codegen_write_fn_t write_fn, + ecsact_codegen_report_fn_t report_fn ) { using ecsact::meta::get_action_ids; using ecsact::meta::get_component_ids; @@ -157,7 +158,7 @@ void ecsact_codegen_plugin( using ecsact::meta::get_transient_ids; using ecsact::meta::package_name; - ecsact::codegen_plugin_context ctx{package_id, write_fn}; + ecsact::codegen_plugin_context ctx{package_id, write_fn, report_fn}; ctx.write("{\n"); ctx.write(