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

Function gmtapi_method

src/gmt_api.c:325–330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

323 */
324
325GMT_LOCAL const char *gmtapi_method (unsigned int M) {
326 if (M < GMT_IS_DUPLICATE) return (GMT_method[M]);
327 if (M == GMT_IS_DUPLICATE) return (GMT_method[3]);
328 if (M == GMT_IS_REFERENCE) return (GMT_method[4]);
329 return NULL;
330}
331
332GMT_LOCAL void gmtapi_get_record_init (struct GMTAPI_CTRL *API); /* See prototype elsewhere */
333

Callers 11

gmtapi_import_paletteFunction · 0.85
gmtapi_export_paletteFunction · 0.85
gmtapi_import_postscriptFunction · 0.85
gmtapi_export_postscriptFunction · 0.85
gmtapi_import_datasetFunction · 0.85
gmtapi_import_matrixFunction · 0.85
gmtapi_export_matrixFunction · 0.85
gmtapi_export_vectorFunction · 0.85
gmtapi_import_vectorFunction · 0.85
GMT_Register_IOFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected