PostGIS  2.3.7dev-r@@SVN_REVISION@@
static int yy_init_globals ( void  )
static

Definition at line 1972 of file lwin_wkt_lex.c.

References wkt_yyin, wkt_yyout, yy_buffer_stack, yy_buffer_stack_max, yy_buffer_stack_top, yy_c_buf_p, yy_init, and yy_start.

Referenced by wkt_yylex_destroy().

1973 {
1974  /* Initialization is the same as for the non-reentrant scanner.
1975  * This function is called from wkt_yylex_destroy(), so don't allocate here.
1976  */
1977 
1978  (yy_buffer_stack) = 0;
1979  (yy_buffer_stack_top) = 0;
1980  (yy_buffer_stack_max) = 0;
1981  (yy_c_buf_p) = (char *) 0;
1982  (yy_init) = 0;
1983  (yy_start) = 0;
1984 
1985 /* Defined in main.c */
1986 #ifdef YY_STDINIT
1987  wkt_yyin = stdin;
1988  wkt_yyout = stdout;
1989 #else
1990  wkt_yyin = (FILE *) 0;
1991  wkt_yyout = (FILE *) 0;
1992 #endif
1993 
1994  /* For future reference: Set errno on error, since we are called by
1995  * wkt_yylex_init()
1996  */
1997  return 0;
1998 }
FILE * wkt_yyin
Definition: lwin_wkt_lex.c:385
static char * yy_c_buf_p
Definition: lwin_wkt_lex.c:323
static size_t yy_buffer_stack_top
index of top of stack.
Definition: lwin_wkt_lex.c:298
static int yy_init
Definition: lwin_wkt_lex.c:324
static size_t yy_buffer_stack_max
capacity of stack.
Definition: lwin_wkt_lex.c:299
static YY_BUFFER_STATE * yy_buffer_stack
Stack as an array.
Definition: lwin_wkt_lex.c:300
static int yy_start
Definition: lwin_wkt_lex.c:325
FILE * wkt_yyout
Definition: lwin_wkt_lex.c:385

Here is the caller graph for this function: