summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorxi <xi@18f92427-320e-0410-9341-c67f048884a3>2006-07-31 22:24:32 +0000
committerxi <xi@18f92427-320e-0410-9341-c67f048884a3>2006-07-31 22:24:32 +0000
commit2d61a7b5e22ab954b61a76bd3deb1c764cc41c55 (patch)
tree26990e065de3b3253dace85aea837d00c4544465 /include
parent0dc98c255263421b0c1f49143c50a1990c4305ef (diff)
downloadlibyaml-2d61a7b5e22ab954b61a76bd3deb1c764cc41c55.tar.gz
Add two examples and prepare the build system for distribution.
git-svn-id: http://svn.pyyaml.org/libyaml/trunk@219 18f92427-320e-0410-9341-c67f048884a3
Diffstat (limited to 'include')
-rw-r--r--include/yaml.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/yaml.h b/include/yaml.h
index 0408a67..47de95d 100644
--- a/include/yaml.h
+++ b/include/yaml.h
@@ -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);