Changeset 219 for libyaml/trunk/src/api.c
- Timestamp:
- 07/31/06 18:24:32 (7 years ago)
- File:
-
- 1 edited
-
libyaml/trunk/src/api.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libyaml/trunk/src/api.c
r216 r219 812 812 yaml_scalar_event_initialize(yaml_event_t *event, 813 813 yaml_char_t *anchor, yaml_char_t *tag, 814 yaml_char_t *value, size_t length,814 yaml_char_t *value, int length, 815 815 int plain_implicit, int quoted_implicit, 816 816 yaml_scalar_style_t style) … … 824 824 assert(value); /* Non-NULL anchor is expected. */ 825 825 826 827 826 if (anchor) { 828 827 if (!yaml_check_utf8(anchor, strlen((char *)anchor))) goto error; … … 835 834 tag_copy = yaml_strdup(tag); 836 835 if (!tag_copy) goto error; 836 } 837 838 if (length < 0) { 839 length = strlen((char *)value); 837 840 } 838 841
Note: See TracChangeset
for help on using the changeset viewer.
