aboutsummaryrefslogtreecommitdiff
path: root/include/io/istream.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-01-26 15:44:26 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-01-26 15:44:26 +0100
commitccb43b0f6d3c1577ffb32053d8436aee69e0aea9 (patch)
treedf8d0777a177ac3c5b20ba00b3b374ab1e31b0c4 /include/io/istream.h
parent491c39a4ed48cdf598b8a4fd8707ef1af0850b20 (diff)
libio: move simple wrappers back into header as inline functions
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/io/istream.h')
-rw-r--r--include/io/istream.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/io/istream.h b/include/io/istream.h
index 567d7e3..3280327 100644
--- a/include/io/istream.h
+++ b/include/io/istream.h
@@ -107,7 +107,10 @@ SQFS_INTERNAL int istream_precache(istream_t *strm);
*
* @return A string holding the underlying filename.
*/
-SQFS_INTERNAL const char *istream_get_filename(istream_t *strm);
+SQFS_INLINE const char *istream_get_filename(istream_t *strm)
+{
+ return strm->get_filename(strm);
+}
/**
* @brief Skip over a number of bytes in an input stream.