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

概要

引数

実装

#ifdef __GNUC__
static __inline__ MemoryContext
MemoryContextSwitchTo(MemoryContext context)
{
	MemoryContext old = CurrentMemoryContext;
	CurrentMemoryContext = context;
	return old;
}
#else
extern MemoryContext MemoryContextSwitchTo(MemoryContext context);
#endif   /* __GNUC__ */

呼出元

備考

/*
* MemoryContextSwitchTo can't be a macro in standard C compilers.
* But we can make it an inline function when using GCC.
*/

履歴

コメント



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