/ Program for SubSet re-initialization of the memory pool. */ /
| 1266 | /* Program for SubSet re-initialization of the memory pool. */ |
| 1267 | /*********************************************************************************/ |
| 1268 | my_bool JsonSubSet(PGLOBAL g, my_bool b) |
| 1269 | { |
| 1270 | PPOOLHEADER pph = (PPOOLHEADER)g->Sarea; |
| 1271 | |
| 1272 | pph->To_Free = (g->Saved_Size) ? g->Saved_Size : sizeof(POOLHEADER); |
| 1273 | pph->FreeBlk = g->Sarea_Size - pph->To_Free; |
| 1274 | |
| 1275 | if (b) |
| 1276 | g->Saved_Size = 0; |
| 1277 | |
| 1278 | return FALSE; |
| 1279 | } /* end of JsonSubSet */ |
| 1280 | |
| 1281 | /*********************************************************************************/ |
| 1282 | /* Program for saving the status of the memory pools. */ |
no outgoing calls
no test coverage detected