diff options
author | Kirill Simonov <xi@resolvent.net> | 2006-06-18 17:20:25 +0000 |
---|---|---|
committer | Kirill Simonov <xi@resolvent.net> | 2006-06-18 17:20:25 +0000 |
commit | 21fbedd41555fc23a512b3ad7799b12e53eb3775 (patch) | |
tree | 708aa2826b4322cd5a1b96111dd10361cb8a5237 /src/api.c | |
parent | 92d41fe10302acbeeb89ffb611001df1f80c6bec (diff) | |
download | libyaml-git-21fbedd41555fc23a512b3ad7799b12e53eb3775.tar.gz |
The scanner is completed (not tested though).
Diffstat (limited to 'src/api.c')
-rw-r--r-- | src/api.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |