|
|
| version 1.30, 2014/06/29 22:55:21 | version 1.32, 2015/04/08 18:08:52 |
|---|---|
| Line 193 static void _def(Request& r, MethodParam | Line 193 static void _def(Request& r, MethodParam |
| const String& name=params.as_string(1, "name must be string"); | const String& name=params.as_string(1, "name must be string"); |
| r.write_no_lang(VBool::get(r.get_class(name)!=0)); | r.write_no_lang(VBool::get(r.get_class(name)!=0)); |
| } else { | } else { |
| throw Exception(PARSER_RUNTIME, &type, "is invalid type, must be '%s'", def_class); | throw Exception(PARSER_RUNTIME, &type, "is invalid type, must be '%s'", def_class.cstr()); |
| } | } |
| } | } |
| Line 288 static void _method_info(Request& r, Met | Line 288 static void _method_info(Request& r, Met |
| case Method::CT_STATIC: | case Method::CT_STATIC: |
| call_type=new VString(method_call_type_static); | call_type=new VString(method_call_type_static); |
| break; | break; |
| case Method::CT_ANY: | |
| break; | |
| } | } |
| if(call_type) | if(call_type) |
| hash->put(method_call_type, call_type); | hash->put(method_call_type, call_type); |