summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--doc/itron3.0/gen_section7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/itron3.0/gen_section b/doc/itron3.0/gen_section
index e82a793b25..ba30637d37 100644
--- a/doc/itron3.0/gen_section
+++ b/doc/itron3.0/gen_section
@@ -161,8 +161,13 @@ do
echo ""
echo "@ifset is-C"
echo "@example"
- echo "int ${routine}("
+ proto=`grep "${routine} (" ../../itron_spec/itron3-6.txt | sed -e 's/ercd = //'` # | sed -e 's/ \\(/(/'`
+
+ echo `echo ${proto} | cut -d'(' -f1`"("
+ echo ${proto} | cut -d'(' -f2 | sed -e 's/ .;//'
echo ");"
+ # echo "int ${routine}("
+ # echo ");"
echo "@end example"
echo "@end ifset"
echo ""