/ Set Nullable and allocate the Null array. */ /
| 174 | /* Set Nullable and allocate the Null array. */ |
| 175 | /***********************************************************************/ |
| 176 | void VALBLK::SetNullable(bool b) |
| 177 | { |
| 178 | if ((Nullable = b)) { |
| 179 | To_Nulls = (char*)PlugSubAlloc(Global, NULL, Nval); |
| 180 | memset(To_Nulls, 0, Nval); |
| 181 | } else |
| 182 | To_Nulls = NULL; |
| 183 | |
| 184 | } // end of SetNullable |
| 185 | |
| 186 | /***********************************************************************/ |
| 187 | /* Buffer allocation routine. */ |
no test coverage detected