Results of 1 - 10 of about 25 for PyVarObject (0.008 sec.)
- 共通のオブジェクト構造体 (common object structure) — Python 3.14.8 ドキュメント 12022
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » 共通のオブジェクト構造体 (common object structure) テーマ 自動 ライト
...mall number of fields at the beginning of the object's representation in memory. These are represented by the PyObject and PyVarObject types, which are defined, in turn, by the expansions of some macros also used, whether directly or indirectly, in the defi...次に属します: Stable ABI . The object's type. Do not use this field directly; use Py_TYPE and Py_SET_TYPE() instead. type PyVarObject ¶ 次に属します: Limited API . (いくつかのメンバーのみが安定 ABI です。) An extension of PyObject that adds the ob_size fie...る長さを持つオブジェクトを表現する新しい型を宣言するときに使うマクロです。 PyObject_VAR_HEAD マクロは次のように展開されます: PyVarObject ob_base ; 上にある PyVarObject のドキュメントを参照してください。 PyTypeObject PyBaseObject_Type ¶ 次に属します: Stable AB... - https://man.mtool.work/python/3.14/c-api/structures.html
- 共通のオブジェクト構造体 (common object structure) — Python 3.14.8 ドキュメント 12022
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » 共通のオブジェクト構造体 (common object structure) テーマ 自動 ライト
...mall number of fields at the beginning of the object's representation in memory. These are represented by the PyObject and PyVarObject types, which are defined, in turn, by the expansions of some macros also used, whether directly or indirectly, in the defi...次に属します: Stable ABI . The object's type. Do not use this field directly; use Py_TYPE and Py_SET_TYPE() instead. type PyVarObject ¶ 次に属します: Limited API . (いくつかのメンバーのみが安定 ABI です。) An extension of PyObject that adds the ob_size fie...る長さを持つオブジェクトを表現する新しい型を宣言するときに使うマクロです。 PyObject_VAR_HEAD マクロは次のように展開されます: PyVarObject ob_base ; 上にある PyVarObject のドキュメントを参照してください。 PyTypeObject PyBaseObject_Type ¶ 次に属します: Stable AB... - https://man.mtool.work/python/3.14/c-api/structures.html
- Allocating objects on the heap — Python 3.14.8 ドキュメント 10909
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Allocating objects on the heap テーマ 自動 ライト ダーク | Allocating
...objects on the heap ¶ PyObject * _PyObject_New ( PyTypeObject * type ) ¶ 戻り値: 新しい参照。 PyVarObject * _PyObject_NewVar ( PyTypeObject * type , Py_ssize_t size ) ¶ 戻り値: 新しい参照。 PyObject * PyObject_Init ( PyObject *...function only initializes the object's memory corresponding to the initial PyObject structure. It does not zero the rest. PyVarObject * PyObject_InitVar ( PyVarObject * op , PyTypeObject * type , Py_ssize_t size ) ¶ 戻り値: 借用参照。 次に属します: Stable...関連キーワード PyObject object type tp function init memory PyTypeObject initialized alloc New 戻り値 slot call 注釈 macro PyVarObject Py Init op 目次 Allocating objects on the heap Soft-deprecated aliases 前のトピックへ オブジェクト実装サポート (object imp... - https://man.mtool.work/python/3.14/c-api/allocation.html
- Allocating objects on the heap — Python 3.14.8 ドキュメント 10909
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Allocating objects on the heap テーマ 自動 ライト ダーク | Allocating
...objects on the heap ¶ PyObject * _PyObject_New ( PyTypeObject * type ) ¶ 戻り値: 新しい参照。 PyVarObject * _PyObject_NewVar ( PyTypeObject * type , Py_ssize_t size ) ¶ 戻り値: 新しい参照。 PyObject * PyObject_Init ( PyObject *...function only initializes the object's memory corresponding to the initial PyObject structure. It does not zero the rest. PyVarObject * PyObject_InitVar ( PyVarObject * op , PyTypeObject * type , Py_ssize_t size ) ¶ 戻り値: 借用参照。 次に属します: Stable...t_Del ( p ) ¶ PyObject_Free() 関連キーワード PyObject type init memory PyTypeObject initialized alloc slot call 注釈 macro PyVarObject Init reference typeobj instead objects ssize size 借用 Stable allocated initial method PyType 目次 Allocating objects on t... - https://man.mtool.work/python/3.14/c-api/allocation.html
- Type Object Structures — Python 3.14.8 ドキュメント 9431
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Type Object Structures テーマ 自動 ライト ダーク | Type Object Structu
...ined elsewhere). */ uint16_t tp_versions_used ; } PyTypeObject ; PyObject スロット ¶ The type object structure extends the PyVarObject structure. The ob_size field is used for dynamic types (created by type_new() , usually called from a class statement). No...he base class. PyType_Ready() will not change this field if it is non-zero. 継承: サブタイプはこのフィールドを継承します。 PyVarObject スロット ¶ PyVarObject.ob_size 静的にメモリ確保されている型オブジェクト の場合、このフィールドはゼロに初期化されます。 動的...than or equal to the base's tp_basicsize . Since every type is a subtype of object , this struct must include PyObject or PyVarObject (depending on whether ob_size should be included). These are usually defined by the macro PyObject_HEAD or PyObject_VAR_HE... - https://man.mtool.work/python/3.14/c-api/typeobj.html
- Type Object Structures — Python 3.14.8 ドキュメント 9431
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Type Object Structures テーマ 自動 ライト ダーク | Type Object Structu
...ined elsewhere). */ uint16_t tp_versions_used ; } PyTypeObject ; PyObject スロット ¶ The type object structure extends the PyVarObject structure. The ob_size field is used for dynamic types (created by type_new() , usually called from a class statement). No...he base class. PyType_Ready() will not change this field if it is non-zero. 継承: サブタイプはこのフィールドを継承します。 PyVarObject スロット ¶ PyVarObject.ob_size 静的にメモリ確保されている型オブジェクト の場合、このフィールドはゼロに初期化されます。 動的...than or equal to the base's tp_basicsize . Since every type is a subtype of object , this struct must include PyObject or PyVarObject (depending on whether ob_size should be included). These are usually defined by the macro PyObject_HEAD or PyObject_VAR_HE... - https://man.mtool.work/python/3.14/c-api/typeobj.html
- 2. 拡張の型の定義: チュートリアル — Python 3.14.8 ドキュメント 9249
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 2. 拡張の型の定義: チュートリアル テーマ 自動 ライト ダーク | 2. 拡張の型の定義: チュートリアル ¶ Python では、組み込みの s
...struct { PyObject_HEAD /* Type-specific fields go here. */ } CustomObject ; static PyTypeObject CustomType = { . ob_base = PyVarObject_HEAD_INIT ( NULL , 0 ) . tp_name = "custom.Custom" , . tp_doc = PyDoc_STR ( "Custom objects" ), . tp_basicsize = sizeof (...t_HEAD double ob_fval ; } PyFloatObject ; 2つ目は型オブジェクトの定義です。 static PyTypeObject CustomType = { . ob_base = PyVarObject_HEAD_INIT ( NULL , 0 ) . tp_name = "custom.Custom" , . tp_doc = PyDoc_STR ( "Custom objects" ), . tp_basicsize = sizeof (...限り明示的には値の指定をしないのが一般的な作法になっています。 一度に1つずつフィールドを取り上げていきましょう: . ob_base = PyVarObject_HEAD_INIT ( NULL , 0 ) この行は、上で触れた ob_base フィールドの初期化に必須のボイラープレートです。 . tp_name = "custom.C... - https://man.mtool.work/python/3.14/extending/newtypes_tutorial.html
- 2. 拡張の型の定義: チュートリアル — Python 3.14.8 ドキュメント 9249
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 2. 拡張の型の定義: チュートリアル テーマ 自動 ライト ダーク | 2. 拡張の型の定義: チュートリアル ¶ Python では、組み込みの s
...struct { PyObject_HEAD /* Type-specific fields go here. */ } CustomObject ; static PyTypeObject CustomType = { . ob_base = PyVarObject_HEAD_INIT ( NULL , 0 ) . tp_name = "custom.Custom" , . tp_doc = PyDoc_STR ( "Custom objects" ), . tp_basicsize = sizeof (...t_HEAD double ob_fval ; } PyFloatObject ; 2つ目は型オブジェクトの定義です。 static PyTypeObject CustomType = { . ob_base = PyVarObject_HEAD_INIT ( NULL , 0 ) . tp_name = "custom.Custom" , . tp_doc = PyDoc_STR ( "Custom objects" ), . tp_basicsize = sizeof (...限り明示的には値の指定をしないのが一般的な作法になっています。 一度に1つずつフィールドを取り上げていきましょう: . ob_base = PyVarObject_HEAD_INIT ( NULL , 0 ) この行は、上で触れた ob_base フィールドの初期化に必須のボイラープレートです。 . tp_name = "custom.C... - https://man.mtool.work/python/3.14/extending/newtypes_tutorial.html
- オブジェクト実装サポート (object implementation support) — Python 3.14.8 ドキュ... 8136
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) テーマ 自動 ライト ダーク | オブジェクト実装サポート (object implementat
...bject Structures クイックリファレンス tp スロット sub-slots スロットの定義型 (typedef) PyTypeObject 定義 PyObject スロット PyVarObject スロット PyTypeObject スロット Static Types Heap Types 数値オブジェクト構造体 マップオブジェクト構造体 シーケンスオブジェク... - https://man.mtool.work/python/3.14/c-api/objimpl.html
- C API Stability — Python 3.14.8 ドキュメント 8136
- ナビゲーション 索引 モジュール | 次へ | 前へ | 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
...nicode_Splitlines() PyUnicode_Substring() PyUnicode_Tailmatch() PyUnicode_Translate() PyUnicode_Type PyUnicode_WriteChar() PyVarObject PyVarObject.ob_base PyVarObject.ob_size PyVectorcall_Call() PyVectorcall_NARGS() PyWeakReference PyWeakref_GetObject() PyW... - https://man.mtool.work/python/3.14/c-api/stable.html