Changes between Version 16 and Version 17 of LibYAML


Ignore:
Timestamp:
06/26/08 08:53:42 (6 years ago)
Author:
remigillig@…
Comment:

File input/output functions in the examples were wrong

Legend:

Unmodified
Added
Removed
Modified
  • LibYAML

    v16 v17  
    178178FILE *input = fopen("...", "rb"); 
    179179 
    180 yaml_parser_set_file_input(&parser, input); 
     180yaml_parser_set_input_file(&parser, input); 
    181181 
    182182/* Set a generic reader. */ 
     
    239239FILE *output = fopen("...", "wb"); 
    240240 
    241 yaml_emitter_set_file_output(&emitter, output); 
     241yaml_emitter_set_output_file(&emitter, output); 
    242242 
    243243/* Set a generic writer. */