| 519 | } |
| 520 | |
| 521 | int32 FormatI32(const StringView& str) |
| 522 | { |
| 523 | String val = String(str); |
| 524 | if (val.StartsWith('#')) |
| 525 | { |
| 526 | return (int32)strtoll(val.c_str() + 1, NULL, 16); |
| 527 | } |
| 528 | if (val.StartsWith("0x")) |
| 529 | { |
| 530 | return (int32)strtoll(val.c_str() + 2, NULL, 16); |
| 531 | } |
| 532 | return atoi(val.c_str()); |
| 533 | } |
| 534 | |
| 535 | BF_EXPORT void BF_CALLTYPE Gfx_ApplyEffect(TextureSegment* destTextureSegment, TextureSegment* srcTextureSegment, char* optionsPtr) |
| 536 | { |
no test coverage detected