関数free_win_pick_data マニュアル

(The documentation of function free_win_pick_data)

Last Update: 2025/10/30


◆機能・用途(Purpose)

struct win_pick型構造体の動的メモリを解放する。
Release dynamic memories for a struct win_pick-type structure.


◆形式(Format)

#include <win/memory.h>
inline void free_win_pick_data(struct win_pick ∗data)


◆引数(Arguments)

data 動的メモリを解放したい構造体のアドレス。
The address of a structure whose dynamic memories have to be released.


◆動作(Behaviour)

引数dataに包含される全ての配列の動的メモリを解放する。 またメンバNdata_p, Ndata_s, Ndata_f, Nstationsの値を0に変更する。
Release dynamic memories for all arrays included in argument data and set a value of 0 to members Ndata_p, Ndata_s, Ndata_f, and Nstations.


◆使用例(Example)

struct win_pick data=read_win_pickfile("250825.001122.345");
free_win_pick_data(&data);