Ignore:
Timestamp:
05/30/06 13:49:18 (9 years ago)
Author:
xi
Message:

Complete UTF-8 and UTF-16 decoders.

Reader is mostly done (though untested).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libyaml/trunk/include/yaml/yaml.h

    r180 r181  
    292292     */ 
    293293 
     294    /** Error type. */ 
    294295    yaml_error_type_t error; 
     296 
     297    /** Error description. */ 
     298    const char *problem; 
     299 
     300    /** The byte about which the problem occured. */ 
     301    size_t problem_offset; 
    295302 
    296303    /** 
     
    303310     */ 
    304311 
    305     /** Read handler */ 
     312    /** Read handler. */ 
    306313    yaml_read_handler_t *read_handler; 
    307314 
     
    489496#define YAML_BUFFER_SIZE    (YAML_RAW_BUFFER_SIZE*3) 
    490497 
     498/** 
     499 * Ensure that the buffer contains at least @a length characters. 
     500 * 
     501 * @param[in]   parser  A parser object. 
     502 * @param[in]   length  The number of characters in the buffer. 
     503 * 
     504 * @returns @c 1 on success, @c 0 on error. 
     505 */ 
     506 
     507int 
     508yaml_parser_update_buffer(yaml_parser_t *parser, size_t length); 
     509 
    491510/** @} */ 
    492511 
Note: See TracChangeset for help on using the changeset viewer.