equal
deleted
inserted
replaced
163 /* copy visible variable to buffer */; |
163 /* copy visible variable to buffer */; |
164 if(do_debug){ |
164 if(do_debug){ |
165 /* compute next cursor positon. |
165 /* compute next cursor positon. |
166 No need to check overflow, as BUFFER_SIZE |
166 No need to check overflow, as BUFFER_SIZE |
167 is computed large enough */ |
167 is computed large enough */ |
168 if(dsc->type == STRING_ENUM){ |
168 if((dsc->type == STRING_ENUM) || |
|
169 (dsc->type == STRING_P_ENUM) || |
|
170 (dsc->type == STRING_O_ENUM)){ |
169 /* optimization for strings */ |
171 /* optimization for strings */ |
170 size = ((STRING*)visible_value_p)->len + 1; |
172 size = ((STRING*)visible_value_p)->len + 1; |
171 } |
173 } |
172 char* next_cursor = buffer_cursor + size; |
174 char* next_cursor = buffer_cursor + size; |
173 /* copy data to the buffer */ |
175 /* copy data to the buffer */ |