PostGIS  2.1.10dev-r@@SVN_REVISION@@
YY_BUFFER_STATE wkt_yy_scan_string ( yyconst char *  yystr)

Setup the input buffer state to scan a string.

The next call to wkt_yylex() will scan from a copy of str.

Parameters
yystra NUL-terminated string to scan
Returns
the newly allocated buffer state object.
Note
If you want to scan bytes that may contain NUL values, then use wkt_yy_scan_bytes() instead.

Definition at line 1794 of file lwin_wkt_lex.c.

References wkt_yy_scan_bytes().

Referenced by wkt_lexer_init().

1795 {
1796 
1797  return wkt_yy_scan_bytes(yystr,strlen(yystr) );
1798 }
YY_BUFFER_STATE wkt_yy_scan_bytes(yyconst char *bytes, yy_size_t len)
Setup the input buffer state to scan the given bytes.

Here is the call graph for this function:

Here is the caller graph for this function: