[vala] Add (unfortunate) CCode finish_function alias for function_name.



commit 77d032fef8c162a3418820adecedc9520028856a
Author: Luca Bruno <lucabru src gnome org>
Date:   Sun May 12 20:14:11 2013 +0200

    Add (unfortunate) CCode finish_function alias for function_name.

 codegen/valaccodeattribute.vala |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/codegen/valaccodeattribute.vala b/codegen/valaccodeattribute.vala
index e9af7f4..a4a1614 100644
--- a/codegen/valaccodeattribute.vala
+++ b/codegen/valaccodeattribute.vala
@@ -411,6 +411,9 @@ public class Vala.CCodeAttribute : AttributeCache {
                                        _finish_name = ccode.get_string ("finish_name");
                                }
                                if (_finish_name == null) {
+                                       _finish_name = ccode.get_string ("finish_function");
+                               }
+                               if (_finish_name == null) {
                                        _finish_name = get_finish_name_for_basename (name);
                                }
                        }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]