>>972
要はこういうことをやりたいわけですが、初期化されたかどうか
のほうが重要なんでしょうか
hoge() {
is_called = false;
if (!is_called) {
/* 最初に呼ばれたときだけやる処理 */
is_called = true;
stmt;
}