import HEAD into svn+ssh://svn.samba.org/home/svn/samba/trunk
[metze/old/v3-2-winbind-ndr.git] / source / aparser / templates / prs_array.tpl
1         if ((@FLAGS@ & PARSE_SCALARS) &&
2             !io_alloc("@ELEM@", ps, (void **)&il->@ELEM@, sizeof(*(il->@ELEM@))*(il->@ARRAY_LEN@))) goto fail;
3         {
4                 int i;
5                 for (i=0;i<il->@ARRAY_LEN@;i++) {
6                 if (!io_@TYPE@("@ELEM@...", ps, depth+1, &il->@ELEM@[i], @FLAGS@)) goto fail;
7                 }
8         }