Skip to content

Commit 802a123

Browse files
committed
Add documentation for stream_feof
1 parent 3254b0b commit 802a123

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

include/prism.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ PRISM_EXPORTED_FUNCTION pm_node_t * pm_parse_stream(pm_parser_t *parser, pm_buff
119119
* @param buffer The buffer to serialize to.
120120
* @param stream The stream to parse.
121121
* @param stream_fgets The function to use to read from the stream.
122+
* @param stream_feof The function to use to tell if the stream has hit eof.
122123
* @param data The optional data to pass to the parser.
123124
*/
124125
PRISM_EXPORTED_FUNCTION void pm_serialize_parse_stream(pm_buffer_t *buffer, void *stream, pm_parse_stream_fgets_t *stream_fgets, pm_parse_stream_feof_t *stream_feof, const char *data);

0 commit comments

Comments
 (0)