* resetStringInfo * * Reset the StringInfo: the data buffer remains valid, but its * previous content, if any, is cleared. */
| 88 | * previous content, if any, is cleared. |
| 89 | */ |
| 90 | void |
| 91 | resetStringInfo(StringInfo str) |
| 92 | { |
| 93 | str->data[0] = '\0'; |
| 94 | str->len = 0; |
| 95 | str->cursor = 0; |
| 96 | } |
| 97 | |
| 98 | /* |
| 99 | * appendStringInfo |
no outgoing calls