Results of 1 - 10 of about 11 for GenericNew (0.010 sec.)
- 2. 拡張の型の定義: チュートリアル — Python 3.14.8 ドキュメント 13105
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 2. 拡張の型の定義: チュートリアル テーマ 自動 ライト ダーク | 2. 拡張の型の定義: チュートリアル ¶ Python では、組み込みの s
...ects" ), . tp_basicsize = sizeof ( CustomObject ), . tp_itemsize = 0 , . tp_flags = Py_TPFLAGS_DEFAULT , . tp_new = PyType_GenericNew , }; static int custom_module_exec ( PyObject * m ) { if ( PyType_Ready ( & CustomType ) < 0 ) { return -1 ; } if ( PyModu...ects" ), . tp_basicsize = sizeof ( CustomObject ), . tp_itemsize = 0 , . tp_flags = Py_TPFLAGS_DEFAULT , . tp_new = PyType_GenericNew , }; 注釈 上にあるように C99 スタイルの指示付き初期化子を使って、 PyTypeObject の特に関心の無いフィールドまで全て並べたり、...ます。これは Python のメソッド __new__() と同等のものですが、明示的に与える必要があります。今の場合では、 API 関数の PyType_GenericNew() として提供されるデフォルトの実装をそのまま使えます。 . tp_new = PyType_GenericNew , Everything else in the file should b... - https://man.mtool.work/python/3.14/extending/newtypes_tutorial.html
- 2. 拡張の型の定義: チュートリアル — Python 3.14.8 ドキュメント 11931
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 2. 拡張の型の定義: チュートリアル テーマ 自動 ライト ダーク | 2. 拡張の型の定義: チュートリアル ¶ Python では、組み込みの s
...ects" ), . tp_basicsize = sizeof ( CustomObject ), . tp_itemsize = 0 , . tp_flags = Py_TPFLAGS_DEFAULT , . tp_new = PyType_GenericNew , }; static int custom_module_exec ( PyObject * m ) { if ( PyType_Ready ( & CustomType ) < 0 ) { return -1 ; } if ( PyModu...ects" ), . tp_basicsize = sizeof ( CustomObject ), . tp_itemsize = 0 , . tp_flags = Py_TPFLAGS_DEFAULT , . tp_new = PyType_GenericNew , }; 注釈 上にあるように C99 スタイルの指示付き初期化子を使って、 PyTypeObject の特に関心の無いフィールドまで全て並べたり、...ます。これは Python のメソッド __new__() と同等のものですが、明示的に与える必要があります。今の場合では、 API 関数の PyType_GenericNew() として提供されるデフォルトの実装をそのまま使えます。 . tp_new = PyType_GenericNew , Everything else in the file should b... - https://man.mtool.work/python/3.14/extending/newtypes_tutorial.html
- C API Stability — Python 3.14.8 ドキュメント 8375
- ナビゲーション 索引 モジュール | 次へ | 前へ | 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
...yType_FromMetaclass() PyType_FromModuleAndSpec() PyType_FromSpec() PyType_FromSpecWithBases() PyType_GenericAlloc() PyType_GenericNew() PyType_GetBaseByToken() PyType_GetFlags() PyType_GetFullyQualifiedName() PyType_GetModule() PyType_GetModuleByDef() PyTy... - https://man.mtool.work/python/3.14/c-api/stable.html
- 型オブジェクト — Python 3.14.8 ドキュメント 8375
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » 型オブジェクト テーマ 自動 ライト ダーク | 型オブジェクト ¶ type PyTypeObject ¶ 次に属
...is guaranteed to be zeroed before initialization) and should be paired with PyObject_Free() in tp_free . PyObject * PyType_GenericNew ( PyTypeObject * type , PyObject * args , PyObject * kwds ) ¶ 戻り値: 新しい参照。 次に属します: Stable ABI . Generic hand... - https://man.mtool.work/python/3.14/c-api/type.html
- Type Object Structures — Python 3.14.8 ドキュメント 8375
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Type Object Structures テーマ 自動 ライト ダーク | Type Object Structu
...e rules of initializing globals. C99 requires the initializers to be "address constants". Function designators like PyType_GenericNew() , with implicit conversion to a pointer, are valid C99 address constants. However, the unary '&' operator applied to a n...= myobj_new , . tp_traverse = ( traverseproc ) myobj_traverse , . tp_clear = ( inquiry ) myobj_clear , . tp_alloc = PyType_GenericNew , . tp_dealloc = ( destructor ) myobj_dealloc , . tp_repr = ( reprfunc ) myobj_repr , . tp_hash = ( hashfunc ) myobj_hash... - https://man.mtool.work/python/3.14/c-api/typeobj.html
- C API Stability — Python 3.14.8 ドキュメント 8375
- ナビゲーション 索引 モジュール | 次へ | 前へ | 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
...yType_FromMetaclass() PyType_FromModuleAndSpec() PyType_FromSpec() PyType_FromSpecWithBases() PyType_GenericAlloc() PyType_GenericNew() PyType_GetBaseByToken() PyType_GetFlags() PyType_GetFullyQualifiedName() PyType_GetModule() PyType_GetModuleByDef() PyTy... - https://man.mtool.work/python/3.14/c-api/stable.html
- 型オブジェクト — Python 3.14.8 ドキュメント 8375
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » 型オブジェクト テーマ 自動 ライト ダーク | 型オブジェクト ¶ type PyTypeObject ¶ 次に属
...is guaranteed to be zeroed before initialization) and should be paired with PyObject_Free() in tp_free . PyObject * PyType_GenericNew ( PyTypeObject * type , PyObject * args , PyObject * kwds ) ¶ 戻り値: 新しい参照。 次に属します: Stable ABI . Generic hand... - https://man.mtool.work/python/3.14/c-api/type.html
- Type Object Structures — Python 3.14.8 ドキュメント 8375
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Type Object Structures テーマ 自動 ライト ダーク | Type Object Structu
...e rules of initializing globals. C99 requires the initializers to be "address constants". Function designators like PyType_GenericNew() , with implicit conversion to a pointer, are valid C99 address constants. However, the unary '&' operator applied to a n...= myobj_new , . tp_traverse = ( traverseproc ) myobj_traverse , . tp_clear = ( inquiry ) myobj_clear , . tp_alloc = PyType_GenericNew , . tp_dealloc = ( destructor ) myobj_dealloc , . tp_repr = ( reprfunc ) myobj_repr , . tp_hash = ( hashfunc ) myobj_hash... - https://man.mtool.work/python/3.14/c-api/typeobj.html
- 索引 — Python 3.14.8 ドキュメント 7592
- ナビゲーション 索引 モジュール | 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 モジ
...ec (C function) PyType_FromSpec (C function) PyType_FromSpecWithBases (C function) PyType_GenericAlloc (C function) PyType_GenericNew (C function) PyType_GetBaseByToken (C function) PyType_GetDict (C function) PyType_GetFlags (C function) PyType_GetFullyQu... - https://man.mtool.work/python/3.14/genindex-P.html
- 索引 — Python 3.14.8 ドキュメント 7592
- ナビゲーション 索引 モジュール | 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 モジ
...ec (C function) PyType_FromSpec (C function) PyType_FromSpecWithBases (C function) PyType_GenericAlloc (C function) PyType_GenericNew (C function) PyType_GetBaseByToken (C function) PyType_GetDict (C function) PyType_GetFlags (C function) PyType_GetFullyQu... - https://man.mtool.work/python/3.14/genindex-P.html