1 #ifndef PYTHONIC_INCLUDE_BUILTIN_LIST_REVERSE_HPP
2 #define PYTHONIC_INCLUDE_BUILTIN_LIST_REVERSE_HPP
3 
4 #include "pythonic/include/types/list.hpp"
5 #include "pythonic/include/types/NoneType.hpp"
6 #include "pythonic/include/utils/functor.hpp"
7 
8 PYTHONIC_NS_BEGIN
9 
10 namespace builtins
11 {
12 
13   namespace list
14   {
15 
16     template <class T>
17     types::none_type reverse(types::list<T> &seq);
18 
19     DEFINE_FUNCTOR(pythonic::builtins::list, reverse);
20   }
21 }
22 PYTHONIC_NS_END
23 #endif
24