[vala/0.40] codegen: Make sure to call a corresponding pop_function()
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.40] codegen: Make sure to call a corresponding pop_function()
- Date: Mon, 5 Aug 2019 11:38:20 +0000 (UTC)
commit 105b7fc2eced2d9c3b841135162da3dda2673cba
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sun Apr 28 16:41:44 2019 +0200
codegen: Make sure to call a corresponding pop_function()
codegen/valaccodebasemodule.vala | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/codegen/valaccodebasemodule.vala b/codegen/valaccodebasemodule.vala
index 50b468c07..531bf9704 100644
--- a/codegen/valaccodebasemodule.vala
+++ b/codegen/valaccodebasemodule.vala
@@ -1892,6 +1892,8 @@ public abstract class Vala.CCodeBaseModule : CodeGenerator {
ccode.add_declaration ("GError*", new CCodeVariableDeclarator.zero
("_inner_error%d_".printf (current_inner_error_id), new CCodeConstant ("NULL")));
}
+ pop_function ();
+
cfile.add_function (function);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]