Simple C Expat Wrapper (SCEW)
1.1.7
|
Allocate and free printers. More...
Files | |
file | printer.h |
SCEW printer routines for XML output. | |
Functions | |
SCEW_API scew_printer * | scew_printer_create (scew_writer *writer) |
Creates a new SCEW printer that will use the given writer by default. More... | |
SCEW_API void | scew_printer_free (scew_printer *printer) |
Frees the given SCEW printer. More... | |
Allocate and free printers.
SCEW_API scew_printer* scew_printer_create | ( | scew_writer * | writer | ) |
Creates a new SCEW printer that will use the given writer by default.
The SCEW writer will be used by the Output calls. It is possible to re-use a SCEW printer by setting a new writer via scew_printer_set_writer.
writer | the SCEW writer to be used by the putput functions. |
SCEW_API void scew_printer_free | ( | scew_printer * | printer | ) |
Frees the given SCEW printer.
This will not free the writer being used by the printer.
printer | the SCEW printer to free. |