| 1625 | // nothing |
| 1626 | #else |
| 1627 | stbi_inline static int stbi__at_eof(stbi__context *s) |
| 1628 | { |
| 1629 | if (s->io.read) { |
| 1630 | if (!(s->io.eof)(s->io_user_data)) return 0; |
| 1631 | // if feof() is true, check if buffer = end |
| 1632 | // special case: we've only got the special 0 character at the end |
| 1633 | if (s->read_from_callbacks == 0) return 1; |
| 1634 | } |
| 1635 | |
| 1636 | return s->img_buffer >= s->img_buffer_end; |
| 1637 | } |
| 1638 | #endif |
| 1639 | |
| 1640 | #if defined(STBI_NO_JPEG) && defined(STBI_NO_PNG) && defined(STBI_NO_BMP) && defined(STBI_NO_PSD) && defined(STBI_NO_TGA) && defined(STBI_NO_GIF) && defined(STBI_NO_PIC) |
no outgoing calls
no test coverage detected