MCPcopy Create free account
hub / github.com/GenericMappingTools/gmt / psl_freeplot

Function psl_freeplot

src/postscriptlight.c:3104–3109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3102}
3103
3104static void psl_freeplot (struct PSL_CTRL *PSL) {
3105 /* Simply eliminate any buffer for memory-writing PS */
3106 if (PSL->internal.buffer) PSL_free (PSL->internal.buffer); /* Remove any previous plot buffer */
3107 PSL->internal.n_alloc = PSL->internal.n = 0;
3108 PSL->internal.pmode = 0;
3109}
3110
3111#if 0 /* Not used */
3112static void psl_defunits_array (struct PSL_CTRL *PSL, const char *param, double *array, int n) {

Callers 2

PSL_endsessionFunction · 0.85
PSL_beginplotFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected