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

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

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

Here is the caller graph for this function: