Changed the format a little

This commit is contained in:
Nobuyuki Kubota 2014-02-28 16:12:36 +09:00
parent d47f72be0c
commit 862f04104d

View File

@ -110,10 +110,8 @@ struct define<A0<%1.upto(i) {|j|%>, A<%=j%><%}%>> {
if(size > 0) {
msgpack::object *ptr = o.via.array.ptr;
switch(size) {
default:
<%(i).downto(0) {|j|%>
default:<%(i).downto(0) {|j|%>
case <%=j+1%>: ptr[<%=j%>].convert(&a<%=j%>);<%}%>
;
}
}
}