added binary API to StreamPeer, fixes #2863
This commit is contained in:
@ -187,14 +187,13 @@ void DocData::generate(bool p_basic_types) {
|
||||
|
||||
|
||||
arginfo=E->get().return_val;
|
||||
if (arginfo.type==Variant::NIL)
|
||||
continue;
|
||||
#ifdef DEBUG_METHODS_ENABLED
|
||||
if (m && m->get_return_type()!=StringName())
|
||||
method.return_type=m->get_return_type();
|
||||
else
|
||||
else if (arginfo.type!=Variant::NIL) {
|
||||
#endif
|
||||
method.return_type=(arginfo.hint==PROPERTY_HINT_RESOURCE_TYPE)?arginfo.hint_string:Variant::get_type_name(arginfo.type);
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user