| 1387 | } |
| 1388 | |
| 1389 | void fromString(CheckStatusWrapper* status, int scale, const char* from, FB_I128* to) |
| 1390 | { |
| 1391 | try |
| 1392 | { |
| 1393 | Int128* i128 = (Int128*)to; |
| 1394 | scale -= CVT_decompose(from, static_cast<USHORT>(strlen(from)), i128, errorFunction); |
| 1395 | i128->setScale(scale); |
| 1396 | } |
| 1397 | catch (const Exception& ex) |
| 1398 | { |
| 1399 | ex.stuffException(status); |
| 1400 | } |
| 1401 | } |
| 1402 | |
| 1403 | static void errorFunction(const Arg::StatusVector& v) |
| 1404 | { |
nothing calls this directly
no test coverage detected