関数free_imsequence_memory マニュアル

(The documentation of function free_imsequence_memory)

Last Update: 2023/6/13


◆機能・用途(Purpose)

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


◆形式(Format)

#include <sequence/initialize.h>
inline void free_imsequence_memory(struct imsequence ∗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 imsequence data=get_imsequence_memory(100,0.0,0.01);
free_imsequence_memory(&data);