| 451 | VARP(screenshottype, 0, 1, 2); |
| 452 | |
| 453 | const char *getscrext() |
| 454 | { |
| 455 | const char *screxts[] = { ".bmp", ".jpg", ".png" }; |
| 456 | return screxts[screenshottype % 3]; |
| 457 | } |
| 458 | COMMANDF(getscrext, "", () { result(getscrext()); }); |
| 459 | |
| 460 | void screenshot(const char *filename) |
no outgoing calls
no test coverage detected