このページを編集する際は、[[編集に関する方針]]に従ってください。 *概要 [#gb1c1650] -対象:8.1.4 -言語:C -宣言・定義:[[postgresql-8.1.4/src/include/nodes/memnodes.h]] -ポインタcontextを構造体[[Node/postgresql-8.1.4]]型のポインタにキャストしたときにtypeメンバに相当する値が、T_AllocSetContextであるかどうか判別する。 *引数 [#mc94d888] -context -context -- ポインタ *実装 [#jfb689fd] #define MemoryContextIsValid(context) \ ((context) != NULL && \ (IsA((context), AllocSetContext))) -[[IsA()/postgresql-8.1.4]] -- 以下の2つが同じかどうかを比較する --T_AllocSetContext --ポインタ(context)を構造体[[Node/postgresql-8.1.4]]型のポインタにキャストしたときにtypeメンバに相当する値 *呼出元 [#w37b9a83] -[[MemoryContextReset()/postgresql-8.1.4]] *備考 [#y70c2b74] /* * MemoryContextIsValid * True iff memory context is valid. * * Add new context types to the set accepted by this macro. */ *履歴 [#jcfde0eb] -作者:[[testnoda/ページ作者]] -日付:2007/2/25 |更新日|更新者|更新内容| |||| *コメント [#fe125438] #comment