glcpp: Add support for lexing from a string.
The standalone binary still reads from stdin, however.
This commit is contained in:
parent
4c8a1af811
commit
1b1f43e608
2 changed files with 9 additions and 0 deletions
|
|
@ -159,6 +159,9 @@ glcpp_parser_destroy (glcpp_parser_t *parser);
|
|||
int
|
||||
glcpp_lex_init_extra (glcpp_parser_t *parser, yyscan_t* scanner);
|
||||
|
||||
void
|
||||
glcpp_lex_set_source_string(glcpp_parser_t *parser, const char *shader);
|
||||
|
||||
int
|
||||
glcpp_lex (yyscan_t scanner);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue