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

概要

引数

実装

void *
MemoryContextAlloc(MemoryContext context, Size size)
{
	AssertArg(MemoryContextIsValid(context));
	if (!AllocSizeIsValid(size))
		elog(ERROR, "invalid memory alloc request size %lu",
			 (unsigned long) size);
	return (*context->methods->alloc) (context, size);
}

呼出元

備考

/*
* Fundamental memory-allocation operations (more are in utils/memutils.h)
*/
/*
* MemoryContextAlloc
*		Allocate space within the specified context.
*
* This could be turned into a macro, but we'd have to import
* nodes/memnodes.h into postgres.h which seems a bad idea.
*/

履歴

コメント



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

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