[ Version ( since = "2.4" ) ]
public bool finish (string footer) throws Error
This function finishes the work of this and unrefs it afterwards.
It closes all open elements, appends an optional comment and releases all resources allocated by this.
Using any function except @ref or unref after this function is forbidden and will trigger warnings.
| this | |
| footer |
text to include as comment at the bottom of the file |
|
true if everything could be successfully written, false otherwise |