]> andersk Git - libyaml.git/blobdiff - include/yaml.h
Add two examples and prepare the build system for distribution.
[libyaml.git] / include / yaml.h
index 0408a67ff1e834702a45d32bd5a235232085a1c9..47de95d11017029d46227e95070fef84b01f64e0 100644 (file)
@@ -417,6 +417,7 @@ typedef struct {
  * Create the STREAM-START event.
  *
  * @param[in]   event       An empty event object.
+ * @param[in]   encoding    The stream encoding.
  *
  * @returns @c 1 if the function succeeded, @c 0 on error.
  */
@@ -508,7 +509,7 @@ yaml_alias_event_initialize(yaml_event_t *event, yaml_char_t *anchor);
 YAML_DECLARE(int)
 yaml_scalar_event_initialize(yaml_event_t *event,
         yaml_char_t *anchor, yaml_char_t *tag,
-        yaml_char_t *value, size_t length,
+        yaml_char_t *value, int length,
         int plain_implicit, int quoted_implicit,
         yaml_scalar_style_t style);
 
This page took 0.053523 seconds and 4 git commands to generate.