Index: trunk/Ohana/src/libautocode/generate
===================================================================
--- trunk/Ohana/src/libautocode/generate	(revision 3515)
+++ trunk/Ohana/src/libautocode/generate	(revision 3536)
@@ -103,4 +103,5 @@
 	if ($type eq "short")  { $pt1 = "I"; }
 	if ($type eq "int")    { $pt1 = "J"; }
+	if ($type eq "e_time") { $pt1 = "J"; }
 	if ($type eq "float")  { $pt1 = "E"; }
 	if ($type eq "double") { $pt1 = "D"; }
@@ -125,4 +126,5 @@
 	if ($type eq "short")  { $pt1 = sprintf "I%s", $length; }
 	if ($type eq "int")    { $pt1 = sprintf "I%s", $length; }
+	if ($type eq "e_time") { $pt1 = sprintf "I%s", $length; }
 	if ($type eq "float")  { $pt1 = sprintf "F%s", $length; }
 	if ($type eq "double") { $pt1 = sprintf "F%s", $length; }
@@ -181,9 +183,13 @@
 	    $n = 2;
 	}
-	if ($type eq "float")  {
+	if ($type eq "int")    {
 	    $T = "WORD";
 	    $n = 4;
 	}
-	if ($type eq "int")    {
+	if ($type eq "e_time")    {
+	    $T = "WORD";
+	    $n = 4;
+	}
+	if ($type eq "float")  {
 	    $T = "WORD";
 	    $n = 4;
@@ -217,8 +223,10 @@
 	    }
 	}
+	if ($type eq "byte")   { $Nbytes += 1; }
+	if ($type eq "short")  { $Nbytes += 2; }
+	if ($type eq "int")    { $Nbytes += 4; }
+	if ($type eq "e_time") { $Nbytes += 4; }
+	if ($type eq "float")  { $Nbytes += 4; }
 	if ($type eq "double") { $Nbytes += 8; }
-	if ($type eq "int")    { $Nbytes += 4; }
-	if ($type eq "short")  { $Nbytes += 2; }
-	if ($type eq "float")  { $Nbytes += 4; }
     }
     return ($Nbytes);
