このページを編集する際は、編集に関する方針に従ってください。

概要

引数

MemoryContext context

実装

void MemoryContextReset(MemoryContext context) {

	AssertArg(MemoryContextIsValid(context));
	/* save a function call in common case where there are no children */
	if (context->firstchild != NULL)
		MemoryContextResetChildren(context);
	(*context->methods->reset) (context);

}

呼出元

備考

/*
* MemoryContextReset
*		Release all space allocated within a context and its descendants,
*		but don't delete the contexts themselves.
*
* The type-specific reset routine handles the context itself, but we
* have to do the recursion for the children.
*/

履歴

コメント



*1 99333685+99333685
*2 99333685+99333685
*3 99333685+99333685

トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS