このページを編集する際は、編集に関する方針に従ってください。
static __inline__ MemoryContext MemoryContextSwitchTo(MemoryContext context) { MemoryContext old = CurrentMemoryContext;
CurrentMemoryContext = context; return old; }
MemoryContext MemoryContextSwitchTo(MemoryContext context) {
MemoryContext old;
AssertArg(MemoryContextIsValid(context));
old = CurrentMemoryContext; CurrentMemoryContext = context; return old;
}
/* * MemoryContextSwitchTo can't be a macro in standard C compilers. * But we can make it an inline function when using GCC. */
更新日 | 更新者 | 更新内容 |