| 1660 | // nothing |
| 1661 | #else |
| 1662 | stbi_inline static int stbi__at_eof(stbi__context* s) { |
| 1663 | if (s->io.read) { |
| 1664 | if (!(s->io.eof)(s->io_user_data)) |
| 1665 | return 0; |
| 1666 | // if feof() is true, check if buffer = end |
| 1667 | // special case: we've only got the special 0 character at the end |
| 1668 | if (s->read_from_callbacks == 0) |
| 1669 | return 1; |
| 1670 | } |
| 1671 | |
| 1672 | return s->img_buffer >= s->img_buffer_end; |
| 1673 | } |
| 1674 | #endif |
| 1675 | |
| 1676 | #if defined(STBI_NO_JPEG) && defined(STBI_NO_PNG) && defined(STBI_NO_BMP) && \ |
no outgoing calls
no test coverage detected