summaryrefslogtreecommitdiff
path: root/src/api.c
diff options
context:
space:
mode:
authorKirill Simonov <xi@resolvent.net>2006-06-18 17:20:25 +0000
committerKirill Simonov <xi@resolvent.net>2006-06-18 17:20:25 +0000
commit21fbedd41555fc23a512b3ad7799b12e53eb3775 (patch)
tree708aa2826b4322cd5a1b96111dd10361cb8a5237 /src/api.c
parent92d41fe10302acbeeb89ffb611001df1f80c6bec (diff)
downloadlibyaml-git-21fbedd41555fc23a512b3ad7799b12e53eb3775.tar.gz
The scanner is completed (not tested though).
Diffstat (limited to 'src/api.c')
-rw-r--r--src/api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/api.c b/src/api.c
index c63da45..2af17c3 100644
--- a/src/api.c
+++ b/src/api.c
@@ -268,7 +268,7 @@ yaml_token_new(yaml_token_type_t type,
*/
YAML_DECLARE(yaml_token_t *)
-yaml_stream_start_token(yaml_encoding_t encoding,
+yaml_stream_start_token_new(yaml_encoding_t encoding,
yaml_mark_t start_mark, yaml_mark_t end_mark)
{
yaml_token_t *token = yaml_token_new(YAML_STREAM_START_TOKEN,
@@ -286,7 +286,7 @@ yaml_stream_start_token(yaml_encoding_t encoding,
*/
YAML_DECLARE(yaml_token_t *)
-yaml_stream_end_token(yaml_mark_t start_mark, yaml_mark_t end_mark)
+yaml_stream_end_token_new(yaml_mark_t start_mark, yaml_mark_t end_mark)
{
yaml_token_t *token = yaml_token_new(YAML_STREAM_END_TOKEN,
start_mark, end_mark);