rem: icalcomponent_kind kind;  icalerror_check_arg_rz( (str!=0), "str");  kind = icalenum_string_to_component_kind(str);  if (kind == ICAL_NO_COMPONENT){ return 0; }  return icalcomponent_new(kind);
add: return icalparser_parse_string(str);
context: icalcomponent* icalcomponent_new_from_string(char* str){    icalcomponent_kind kind;    icalerror_check_arg_rz( (str!=0), "str");    kind = icalenum_string_to_component_kind(str);    if (kind == ICAL_NO_COMPONENT){	return 0;    }        return icalcomponent_new(kind);}