[turbine] [template] Add G_GNUC_CONST to get_type()
- From: Thomas Wood <thos src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [turbine] [template] Add G_GNUC_CONST to get_type()
- Date: Thu, 17 Sep 2009 14:02:14 +0000 (UTC)
commit c61bb8444e5cd5a679456b3788acc4e12a919600
Author: Damien Lespiau <damien lespiau intel com>
Date: Thu Sep 10 12:01:25 2009 +0100
[template] Add G_GNUC_CONST to get_type()
More annotations means potentially smarter decisions made by the
compiler / linker.
src/turbine/template.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/turbine/template.py b/src/turbine/template.py
index 7c67795..d101c0f 100644
--- a/src/turbine/template.py
+++ b/src/turbine/template.py
@@ -73,7 +73,7 @@ struct _%(class_camel)sClass
%(parent_camel)sClass parent_class;
};
-GType %(class_lower)s_get_type (void);
+GType %(class_lower)s_get_type (void) G_GNUC_CONST;
%(class_camel)s *%(class_lower)s_new (void);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]