|
|
| version 1.84, 2017/02/15 17:05:21 | version 1.85, 2017/02/15 17:21:28 |
|---|---|
| Line 222 static void _methods(Request& r, MethodP | Line 222 static void _methods(Request& r, MethodP |
| VHash& result=*new VHash; | VHash& result=*new VHash; |
| #ifdef HASH_ORDER | |
| if(reverse){ | if(reverse){ |
| for(HashStringMethod::ReverseIterator i(vclass->get_methods()); i; i.prev()){ | for(HashStringMethod::ReverseIterator i(vclass->get_methods()); i; i.prev()){ |
| result.hash().put(i.key(), new VString(i.value()->native_code ? method_type_native : method_type_parser)); | result.hash().put(i.key(), new VString(i.value()->native_code ? method_type_native : method_type_parser)); |
| } | } |
| } else { | } else { |
| #else | |
| { | |
| #endif | |
| for(HashStringMethod::Iterator i(vclass->get_methods()); i; i.next()){ | for(HashStringMethod::Iterator i(vclass->get_methods()); i; i.next()){ |
| result.hash().put(i.key(), new VString(i.value()->native_code ? method_type_native : method_type_parser)); | result.hash().put(i.key(), new VString(i.value()->native_code ? method_type_native : method_type_parser)); |
| } | } |