#ifndef PYTHONIC_INCLUDE_BUILTIN_FILE_READLINES_HPP #define PYTHONIC_INCLUDE_BUILTIN_FILE_READLINES_HPP #include "pythonic/include/types/file.hpp" #include "pythonic/include/types/list.hpp" #include "pythonic/include/types/str.hpp" #include "pythonic/include/utils/functor.hpp" PYTHONIC_NS_BEGIN namespace builtins { namespace file { template types::list readlines(F &&f); template types::list readlines(F &&f, long sizehint); DEFINE_FUNCTOR(pythonic::builtins::file, readlines); } } PYTHONIC_NS_END #endif