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

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

1948 {
1949  /* Initialization is the same as for the non-reentrant scanner.
1950  * This function is called from wkt_yylex_destroy(), so don't allocate here.
1951  */
1952 
1953  (yy_buffer_stack) = 0;
1954  (yy_buffer_stack_top) = 0;
1955  (yy_buffer_stack_max) = 0;
1956  (yy_c_buf_p) = (char *) 0;
1957  (yy_init) = 0;
1958  (yy_start) = 0;
1959 
1960 /* Defined in main.c */
1961 #ifdef YY_STDINIT
1962  wkt_yyin = stdin;
1963  wkt_yyout = stdout;
1964 #else
1965  wkt_yyin = (FILE *) 0;
1966  wkt_yyout = (FILE *) 0;
1967 #endif
1968 
1969  /* For future reference: Set errno on error, since we are called by
1970  * wkt_yylex_init()
1971  */
1972  return 0;
1973 }
FILE * wkt_yyin
Definition: lwin_wkt_lex.c:360
static char * yy_c_buf_p
Definition: lwin_wkt_lex.c:298
static size_t yy_buffer_stack_top
index of top of stack.
Definition: lwin_wkt_lex.c:273
static int yy_init
Definition: lwin_wkt_lex.c:299
static size_t yy_buffer_stack_max
capacity of stack.
Definition: lwin_wkt_lex.c:274
static YY_BUFFER_STATE * yy_buffer_stack
Stack as an array.
Definition: lwin_wkt_lex.c:275
static int yy_start
Definition: lwin_wkt_lex.c:300
FILE * wkt_yyout
Definition: lwin_wkt_lex.c:360

Here is the caller graph for this function: