Results of 1 - 10 of about 12 for XNewRef (0.008 sec.)
- 参照カウント — Python 3.14.8 ドキュメント 13425
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 参照カウント テーマ 自動 ライト ダーク | 参照カウント ¶ このセクションにある関数とマクロは、 Python オブジェクトの参照カウントの管
...F ( PyObject * o ) ¶ Similar to Py_INCREF() , but the object o can be NULL , in which case this has no effect. See also Py_XNewRef() . PyObject * Py_NewRef ( PyObject * o ) ¶ 次に属します: Stable ABI (バージョン 3.10 より). Create a new strong reference...e is no longer needed, Py_DECREF() should be called on it to release the reference. The object o must not be NULL ; use Py_XNewRef() if o can be NULL . 例えば: Py_INCREF ( obj ); self -> attr = obj ; can be written as: self -> attr = Py_NewRef ( obj );...See also Py_INCREF() . Added in version 3.10. PyObject * Py_XNewRef ( PyObject * o ) ¶ 次に属します: Stable ABI (バージョン 3.10 より). Similar to Py_NewRef() , but the object o can be NULL.... - https://man.mtool.work/python/3.14/c-api/refcounting.html
- 参照カウント — Python 3.14.8 ドキュメント 11727
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 参照カウント テーマ 自動 ライト ダーク | 参照カウント ¶ このセクションにある関数とマクロは、 Python オブジェクトの参照カウントの管
...F ( PyObject * o ) ¶ Similar to Py_INCREF() , but the object o can be NULL , in which case this has no effect. See also Py_XNewRef() . PyObject * Py_NewRef ( PyObject * o ) ¶ 次に属します: Stable ABI (バージョン 3.10 より). Create a new strong reference...e is no longer needed, Py_DECREF() should be called on it to release the reference. The object o must not be NULL ; use Py_XNewRef() if o can be NULL . 例えば: Py_INCREF ( obj ); self -> attr = obj ; can be written as: self -> attr = Py_NewRef ( obj );...See also Py_INCREF() . Added in version 3.10. PyObject * Py_XNewRef ( PyObject * o ) ¶ 次に属します: Stable ABI (バージョン 3.10 より). Similar to Py_NewRef() , but the object o can be NULL.... - https://man.mtool.work/python/3.14/c-api/refcounting.html
- 同期プリミティブ — Python 3.14.8 ドキュメント 8932
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 同期プリミティブ テーマ 自動 ライト ダーク | 同期プリミティブ ¶ The C-API provides a basic mutual exclusion lock. type PyMutex ¶
...ct * set_field ( MyObject * self , PyObject * value ) { Py_BEGIN_CRITICAL_SECTION ( self ); Py_SETREF ( self -> field , Py_XNewRef ( value )); Py_END_CRITICAL_SECTION (); Py_RETURN_NONE ; } In the above example, Py_SETREF calls Py_DECREF , which can cal... - https://man.mtool.work/python/3.14/c-api/synchronization.html
- 同期プリミティブ — Python 3.14.8 ドキュメント 8932
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 同期プリミティブ テーマ 自動 ライト ダーク | 同期プリミティブ ¶ The C-API provides a basic mutual exclusion lock. type PyMutex ¶
...ct * set_field ( MyObject * self , PyObject * value ) { Py_BEGIN_CRITICAL_SECTION ( self ); Py_SETREF ( self -> field , Py_XNewRef ( value )); Py_END_CRITICAL_SECTION (); Py_RETURN_NONE ; } In the above example, Py_SETREF calls Py_DECREF , which can cal... - https://man.mtool.work/python/3.14/c-api/synchronization.html
- C API Stability — Python 3.14.8 ドキュメント 8366
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » C API Stability テーマ 自動 ライト ダーク | C API Stability ¶ Unless documented otherwise, Python's C API is covered by the Backw
...YTE Py_T_UINT Py_T_ULONG Py_T_ULONGLONG Py_T_USHORT Py_UCS4 Py_UNBLOCK_THREADS Py_UTF8Mode Py_VaBuildValue() Py_Version Py_XNewRef() Py_am_aiter Py_am_anext Py_am_await Py_am_send Py_bf_getbuffer Py_bf_releasebuffer Py_buffer Py_intptr_t Py_mod_create P... - https://man.mtool.work/python/3.14/c-api/stable.html
- C API Stability — Python 3.14.8 ドキュメント 8366
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » C API Stability テーマ 自動 ライト ダーク | C API Stability ¶ Unless documented otherwise, Python's C API is covered by the Backw
...YTE Py_T_UINT Py_T_ULONG Py_T_ULONGLONG Py_T_USHORT Py_UCS4 Py_UNBLOCK_THREADS Py_UTF8Mode Py_VaBuildValue() Py_Version Py_XNewRef() Py_am_aiter Py_am_anext Py_am_await Py_am_send Py_bf_getbuffer Py_bf_releasebuffer Py_buffer Py_intptr_t Py_mod_create P... - https://man.mtool.work/python/3.14/c-api/stable.html
- 索引 — Python 3.14.8 ドキュメント 7800
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – P p (pdb command) P_ALL (os モジュール) P_DETACH (os モジュール) P_NOWAIT (os モジュール) P_NOWAITO (os モジュール) P_OVERLAY (os モジ
...r) Py_Version (C var) PY_VERSION_HEX (C macro) Py_VISIT (C macro) Py_XDECREF (C function) , [1] Py_XINCREF (C function) Py_XNewRef (C function) Py_XSETREF (C macro) PY_YIELD (monitoring event) PyAIter_Check (C function) PyAnySet_Check (C function) PyAny... - https://man.mtool.work/python/3.14/genindex-P.html
- What's New In Python 3.10 — Python 3.14.8 ドキュメント 7800
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.10 テーマ 自動 ライト ダーク | What's New In Python 3.10 ¶ 編集者 : Pablo Galindo Salgado この記事では Python 3.9 と
...t don't steal a reference to the value on success. (Contributed by Victor Stinner in bpo-1635741 .) Add Py_NewRef() and Py_XNewRef() functions to increment the reference count of an object and return the object. (Contributed by Victor Stinner in bpo-422... - https://man.mtool.work/python/3.14/whatsnew/3.10.html
- 索引 — Python 3.14.8 ドキュメント 7800
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – P p (pdb command) P_ALL (os モジュール) P_DETACH (os モジュール) P_NOWAIT (os モジュール) P_NOWAITO (os モジュール) P_OVERLAY (os モジ
...r) Py_Version (C var) PY_VERSION_HEX (C macro) Py_VISIT (C macro) Py_XDECREF (C function) , [1] Py_XINCREF (C function) Py_XNewRef (C function) Py_XSETREF (C macro) PY_YIELD (monitoring event) PyAIter_Check (C function) PyAnySet_Check (C function) PyAny... - https://man.mtool.work/python/3.14/genindex-P.html
- What's New In Python 3.10 — Python 3.14.8 ドキュメント 7800
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.10 テーマ 自動 ライト ダーク | What's New In Python 3.10 ¶ 編集者 : Pablo Galindo Salgado この記事では Python 3.9 と
...t don't steal a reference to the value on success. (Contributed by Victor Stinner in bpo-1635741 .) Add Py_NewRef() and Py_XNewRef() functions to increment the reference count of an object and return the object. (Contributed by Victor Stinner in bpo-422... - https://man.mtool.work/python/3.14/whatsnew/3.10.html