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

Definition at line 1971 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().

1972 {
1973  /* Initialization is the same as for the non-reentrant scanner.
1974  * This function is called from wkt_yylex_destroy(), so don't allocate here.
1975  */
1976 
1977  (yy_buffer_stack) = 0;
1978  (yy_buffer_stack_top) = 0;
1979  (yy_buffer_stack_max) = 0;
1980  (yy_c_buf_p) = (char *) 0;
1981  (yy_init) = 0;
1982  (yy_start) = 0;
1983 
1984 /* Defined in main.c */
1985 #ifdef YY_STDINIT
1986  wkt_yyin = stdin;
1987  wkt_yyout = stdout;
1988 #else
1989  wkt_yyin = (FILE *) 0;
1990  wkt_yyout = (FILE *) 0;
1991 #endif
1992 
1993  /* For future reference: Set errno on error, since we are called by
1994  * wkt_yylex_init()
1995  */
1996  return 0;
1997 }
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: