summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/hubbub/parser.h4
-rw-r--r--src/parser.c2
2 files changed, 2 insertions, 4 deletions
diff --git a/include/hubbub/parser.h b/include/hubbub/parser.h
index 6ddf8cf..6ded8bf 100644
--- a/include/hubbub/parser.h
+++ b/include/hubbub/parser.h
@@ -70,10 +70,6 @@ hubbub_error hubbub_parser_setopt(hubbub_parser *parser,
/* This data is encoded in the input charset */
hubbub_error hubbub_parser_parse_chunk(hubbub_parser *parser,
const uint8_t *data, size_t len);
-/* Pass a chunk of extraneous data to a hubbub parser for parsing */
-/* This data is UTF-8 encoded */
-hubbub_error hubbub_parser_parse_extraneous_chunk(hubbub_parser *parser,
- const uint8_t *data, size_t len);
/* Inform the parser that the last chunk of data has been parsed */
hubbub_error hubbub_parser_completed(hubbub_parser *parser);
diff --git a/src/parser.c b/src/parser.c
index 5f15d19..73852de 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -245,6 +245,7 @@ hubbub_error hubbub_parser_parse_chunk(hubbub_parser *parser,
return HUBBUB_OK;
}
+#if 0
/**
* Pass a chunk of extraneous data to a hubbub parser for parsing
*
@@ -277,6 +278,7 @@ hubbub_error hubbub_parser_parse_extraneous_chunk(hubbub_parser *parser,
return HUBBUB_OK;
}
+#endif
/**
* Inform the parser that the last chunk of data has been parsed