free_48.c
来自「解吸SEED格式的源代码」· C语言 代码 · 共 39 行
C
39 行
/*===========================================================================*//* SEED reader | free_type48 | station header *//*===========================================================================*//* Name: free_type48*/#include "rdseed.h"void free_type48 (){ struct type48 *type48, *t; int i; type48 = type48_head; while (type48 != NULL) { if (type48->name) free(type48->name); for (i = 0; i < type48->number_calibrations; i++) { if (type48->calibration[i].time) free(type48->calibration[i].time); } if (type48->calibration) free ((char *)(type48->calibration)); t = type48->next; free((char *) type48); type48 = t; } type48_head = NULL;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?