1 #ifndef PYTHONIC_INCLUDE_BUILTIN_FILE_CLOSE_HPP 2 #define PYTHONIC_INCLUDE_BUILTIN_FILE_CLOSE_HPP 3 4 #include "pythonic/include/types/file.hpp" 5 #include "pythonic/include/utils/functor.hpp" 6 7 PYTHONIC_NS_BEGIN 8 9 namespace builtins 10 { 11 12 namespace file 13 { 14 15 void close(types::file &f); 16 void close(types::file &&f); 17 18 DEFINE_FUNCTOR(pythonic::builtins::file, close); 19 } 20 } 21 PYTHONIC_NS_END 22 #endif 23