関数free_imsequence2_memory マニュアル

(The documentation of function free_imsequence2_memory)

Last Update: 2023/6/13


◆機能・用途(Purpose)

struct imsequence2型構造体のメンバvalueの動的メモリを解放する。
Release dynamic memories for member value of a struct imsequence2-type structure.


◆形式(Format)

#include <sequence/initialize.h>
inline void free_imsequence2_memory(struct imsequence2 ∗seq)


◆引数(Arguments)

seq 処理対象の構造体のアドレス。 関数内でメンバvalueの配列の動的メモリが解放され、 メンバcheckedに’n’が代入される。
The address of the target structure. Within the function, the dynamic memory for the array of member value of this structure is released, and ’n’ is inserted into member checked.


◆使用例(Example)

struct imsequence2 data=get_imsequence2_memory(100,0.0,0.01);
free_imsequence2_memory(&data);