| 44 | } |
| 45 | |
| 46 | void xGroupSetup(xGroup* g) |
| 47 | { |
| 48 | if ((g->flg_group & 1) == 0) |
| 49 | { |
| 50 | U32 numItems = xGroupGetCount(g); |
| 51 | U32 i = 0; |
| 52 | U32 ind = 0; |
| 53 | while (i < numItems) |
| 54 | { |
| 55 | xBase* item = xGroupFindItemPtr(g, i); |
| 56 | i++; |
| 57 | *(g->item + ind) = item; |
| 58 | ind++; |
| 59 | } |
| 60 | g->flg_group |= 1; |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | void xGroupSave(xGroup* ent, xSerial* s) |
| 65 | { |
no test coverage detected