davemds pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=7255954ccce34c189d7401a932875d95834087f3

commit 7255954ccce34c189d7401a932875d95834087f3
Author: Dave Andreoli <[email protected]>
Date:   Thu Jan 25 22:51:28 2018 +0100

    pyolian: improve a bit the 2 example templates
---
 src/scripts/pyolian/README.md                   |  2 +-
 src/scripts/pyolian/test_gen_class.template     |  2 +-
 src/scripts/pyolian/test_gen_namespace.template | 20 ++++++++++++++------
 3 files changed, 16 insertions(+), 8 deletions(-)

diff --git a/src/scripts/pyolian/README.md b/src/scripts/pyolian/README.md
index 61bf0dc52d..f803077c01 100644
--- a/src/scripts/pyolian/README.md
+++ b/src/scripts/pyolian/README.md
@@ -358,7 +358,7 @@ defined as follows:
  sometimes it is useful or necessary to set variables in the template. 
  Can also be used to capture the output of e.g. an evaluated macro.
 
-Moreover all the Eolian classes and enums (as defined in eolian.py) is 
available
+Moreover all the Eolian classes and enums (as defined in eolian.py) are 
available
 in the template, fe:
 
  * `Function` eolian.Function (class)
diff --git a/src/scripts/pyolian/test_gen_class.template 
b/src/scripts/pyolian/test_gen_class.template
index ff8c17de62..15129bf080 100644
--- a/src/scripts/pyolian/test_gen_class.template
+++ b/src/scripts/pyolian/test_gen_class.template
@@ -32,7 +32,7 @@ Methods:
 Properties:
 ===========
 <!--(for func in cls.properties)-->
- * ${func.name}$ (<!--(for v in func.getter_values)-->${v.type.c_type}$ 
${v.name}$, <!--(end)-->)
+ * ${func.name}$ (<!--(for v in 
func.getter_values)-->${v.type.c_type_default}$ ${v.name}$, <!--(end)-->)
 <!--(else)-->
  no properties available
 <!--(end)-->
diff --git a/src/scripts/pyolian/test_gen_namespace.template 
b/src/scripts/pyolian/test_gen_namespace.template
index 87557c6ad8..2276c4ce96 100644
--- a/src/scripts/pyolian/test_gen_namespace.template
+++ b/src/scripts/pyolian/test_gen_namespace.template
@@ -6,15 +6,15 @@ Namespace:    ${namespace.name}$  ${namespace.namespaces}$
 Regular Classes:
 ================
 <!--(for cls in namespace.regulars)-->
- * ${cls.full_name}$ (${cls.type.name.lower()}$)
+ * ${cls.full_name}$
 <!--(else)-->
  no classes available
 <!--(end)-->
 
-Interfaces:
-===========
-<!--(for cls in namespace.interfaces)-->
- * ${cls.full_name}$ (${cls.type.name.lower()}$)
+Abstract Classes:
+================
+<!--(for cls in namespace.abstracts)-->
+ * ${cls.full_name}$
 <!--(else)-->
  no classes available
 <!--(end)-->
@@ -22,7 +22,15 @@ Interfaces:
 Mixins:
 =======
 <!--(for cls in namespace.mixins)-->
- * ${cls.full_name}$ (${cls.type.name.lower()}$)
+ * ${cls.full_name}$
+<!--(else)-->
+ no classes available
+<!--(end)-->
+
+Interfaces:
+===========
+<!--(for cls in namespace.interfaces)-->
+ * ${cls.full_name}$
 <!--(else)-->
  no classes available
 <!--(end)-->

-- 


Reply via email to