[vala] Fix generated destroy function wrappers
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] Fix generated destroy function wrappers
- Date: Tue, 9 Mar 2010 20:36:36 +0000 (UTC)
commit 72ef64a0170de8a6d37c85dbef1ec3a5b80df5a7
Author: Jürg Billeter <j bitron ch>
Date: Tue Mar 9 21:35:21 2010 +0100
Fix generated destroy function wrappers
The function declaration was missing the static modifier.
codegen/valaccodebasemodule.vala | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/codegen/valaccodebasemodule.vala b/codegen/valaccodebasemodule.vala
index 5667156..32a43cb 100644
--- a/codegen/valaccodebasemodule.vala
+++ b/codegen/valaccodebasemodule.vala
@@ -2663,6 +2663,7 @@ internal class Vala.CCodeBaseModule : CCodeModule {
// declaration
var function = new CCodeFunction (destroy_func, "void");
+ function.modifiers = CCodeModifiers.STATIC;
function.add_parameter (new CCodeFormalParameter ("self", type.get_cname ()));
// definition
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]