return 0;
}
+int cos_string_p (COS_object obj)
+{
+ return COS_OBJECT_STRING_P (obj);
+}
+
size_t
cos_string_size (COS_String string)
{
CONCORD_Feature fobj;
CONCORD_String_Tank val_st;
COS_String val_string;
+ size_t end;
+ int val_cid;
+ COS_String val_str;
if (COS_OBJECT_CHAR_P (object))
{
concord_feature_get_name (fobj),
cos_string_data (val_string));
+ val_cid = cos_read_char (CONCORD_String_data (&val_st),
+ CONCORD_String_size (&val_st),
+ 0, &end);
+ if ( val_cid >= 0 )
+ return cos_make_char (val_cid);
+
+ val_str = cos_read_string (CONCORD_String_data (&val_st),
+ CONCORD_String_size (&val_st),
+ 0, &end);
+ if ( val_str != NULL )
+ return val_str;
+
return NULL;
}