diff options
-rw-r--r-- | prism/prism.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -93,11 +93,11 @@ typedef char * (pm_parse_stream_fgets_t)(char *string, int size, void *stream); * @param parser The parser to use. * @param buffer The buffer to use. * @param stream The stream to parse. - * @param fgets The function to use to read from the stream. * @param options The optional options to use when parsing. * @return The AST representing the source. */ -PRISM_EXPORTED_FUNCTION pm_node_t * pm_parse_stream(pm_parser_t *parser, pm_buffer_t *buffer, void *stream, pm_parse_stream_fgets_t *fgets, const pm_options_t *options); // We optionally support serializing to a binary string. For systems that don't // want or need this functionality, it can be turned off with the @@ -110,10 +110,10 @@ PRISM_EXPORTED_FUNCTION pm_node_t * pm_parse_stream(pm_parser_t *parser, pm_buff * * @param buffer The buffer to serialize to. * @param stream The stream to parse. - * @param fgets The function to use to read from the stream. * @param data The optional data to pass to the parser. */ -PRISM_EXPORTED_FUNCTION void pm_serialize_parse_stream(pm_buffer_t *buffer, void *stream, pm_parse_stream_fgets_t *fgets, const char *data); /** * Serialize the given list of comments to the given buffer. |