We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d8285ec + 5ac21b9 commit ea7703fCopy full SHA for ea7703f
uniffi_bindgen/src/bindings/gecko_js/templates/macros.cpp
@@ -49,11 +49,11 @@
49
{%- match func.cpp_return_by() %}
50
{%- when ReturnBy::OutParam with (name, type_) %}
51
DebugOnly<bool> ok_ = {{ type_|lift_cpp(result, name, context) }};
52
- MOZ_RELEASE_ASSERT(ok_);
+ MOZ_ASSERT(ok_);
53
{%- when ReturnBy::Value with (type_) %}
54
{{ type_|type_cpp(context) }} retVal_;
55
DebugOnly<bool> ok_ = {{ type_|lift_cpp(result, "retVal_", context) }};
56
57
return retVal_;
58
{%- when ReturnBy::Void %}{%- endmatch %}
59
{%- endmacro -%}
0 commit comments