[turbine] Change the guard style to match glib's



commit 0c0342caa54c339d323285031ef3ef862dff1f17
Author: Damien Lespiau <damien lespiau intel com>
Date:   Thu Apr 15 16:35:31 2010 +0100

    Change the guard style to match glib's
    
    Use __HEADER_H__ as guard defines.

 src/turbine/__init__.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/turbine/__init__.py b/src/turbine/__init__.py
index b7c4a14..d828609 100755
--- a/src/turbine/__init__.py
+++ b/src/turbine/__init__.py
@@ -148,7 +148,7 @@ def handle_post(button, ui):
     data['filename'] = data['class_lower'].replace('_', "-")
     data['class_init'] = make_class_init(data).strip()
     (data['define_type'], data['interface_init']) = make_type_definition (data)
-    data['header_guard'] = "_" + data['filename'].upper().replace('.', '_').replace('-', '_') + "_H"
+    data['header_guard'] = "__" + data['filename'].upper().replace('.', '_').replace('-', '_') + "_H__"
     extra = []
     private = []
 



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