PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ stringbuffer_lastchar()

char stringbuffer_lastchar ( stringbuffer_t s)

Return the last character in the buffer.

Definition at line 98 of file stringbuffer.c.

99 {
100  if( s->str_end == s->str_start )
101  return 0;
102 
103  return *(s->str_end - 1);
104 }
char * s
Definition: cu_in_wkt.c:23

References s.

Referenced by empty_to_wkt_sb().

Here is the caller graph for this function: