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

Function PSL_message

src/postscriptlight.c:6202–6215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6200}
6201
6202int PSL_message (struct PSL_CTRL *C, int level, const char *format, ...) {
6203 va_list args;
6204 FILE *fp = (C == NULL) ? stderr : C->init.err;
6205 if (C && level > C->internal.verbose) return (0);
6206#ifdef DEBUG
6207 fprintf (fp, "PSL:%s:%d: ", __FILE__, __LINE__);
6208#else
6209 fprintf (fp, "PSL: ");
6210#endif
6211 va_start (args, format);
6212 vfprintf (fp, format, args);
6213 va_end (args);
6214 return (0);
6215}
6216
6217FILE *PSL_fopen (struct PSL_CTRL *C, char *file, char *mode) {
6218 if (C->internal.fp == NULL) { /* Open the plot file unless fp already set */

Callers 15

psl_memoryFunction · 0.85
psl_forcelinewidthFunction · 0.85
psl_prepare_bufferFunction · 0.85
psl_rle_encodeFunction · 0.85
psl_lzw_encodeFunction · 0.85
psl_deflate_encodeFunction · 0.85
psl_getfontFunction · 0.85
psl_place_encodingFunction · 0.85
psl_paragraphprocessFunction · 0.85
psl_pattern_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected