per page, with , order by , clip by
Results of 1 - 10 of about 42 for typedef (0.008 sec.)
Type Object Structures — Python 3.14.8 ドキュメント 13749
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Type Object Structures テーマ 自動 ライト ダーク | Type Object Structu ... __imul__ bf_getbuffer getbufferproc() __buffer__ bf_releasebuffer releasebufferproc() __release_buffer__ スロットの定義型 (typedef) ¶ 定義型 (typedef) 引数型 返り値型 allocfunc PyTypeObject * Py_ssize_t PyObject * destructor PyObject * void freefunc voi ... ize_t PyObject * int objobjproc PyObject * PyObject * int objobjargproc PyObject * PyObject * PyObject * int See Slot Type typedefs below for more detail. PyTypeObject 定義 ¶ The structure definition for PyTypeObject can be found in Include/cpython/obje ... ct.h . For convenience of reference, this repeats the definition found there: typedef struct _typeobject { PyObject_VAR_HEAD const char * tp_name ; /* For printing, in format "<module>.<name>" */ Py_ssize_t t ...
https://man.mtool.work/python/3.14/c-api/typeobj.html
Type Object Structures — Python 3.14.8 ドキュメント 13749
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Type Object Structures テーマ 自動 ライト ダーク | Type Object Structu ... __imul__ bf_getbuffer getbufferproc() __buffer__ bf_releasebuffer releasebufferproc() __release_buffer__ スロットの定義型 (typedef) ¶ 定義型 (typedef) 引数型 返り値型 allocfunc PyTypeObject * Py_ssize_t PyObject * destructor PyObject * void freefunc voi ... ize_t PyObject * int objobjproc PyObject * PyObject * int objobjargproc PyObject * PyObject * PyObject * int See Slot Type typedefs below for more detail. PyTypeObject 定義 ¶ The structure definition for PyTypeObject can be found in Include/cpython/obje ... ct.h . For convenience of reference, this repeats the definition found there: typedef struct _typeobject { PyObject_VAR_HEAD const char * tp_name ; /* For printing, in format "<module>.<name>" */ Py_ssize_t t ...
https://man.mtool.work/python/3.14/c-api/typeobj.html
Curses C API — Python 3.14.8 ドキュメント 10188
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » Curses C API テーマ 自動 ライト ダーク | Curses C API ¶ curses exposes a small C inte ... sesSetupTermCalled ¶ Macro checking if curses.setupterm() has been called. The macro expansion is roughly equivalent to: { typedef int ( * predicate_t )( void ); predicate_t was_setupterm_called = ( predicate_t ) PyCurses_API [ 1 ]; if ( ! was_setupterm ... PyCursesInitialised ¶ Macro checking if curses.initscr() has been called. The macro expansion is roughly equivalent to: { typedef int ( * predicate_t )( void ); predicate_t was_initscr_called = ( predicate_t ) PyCurses_API [ 2 ]; if ( ! was_initscr_cal ... InitialisedColor ¶ Macro checking if curses.start_color() has been called. The macro expansion is roughly equivalent to: { typedef int ( * predicate_t )( void ); predicate_t was_start_color_called = ( predicate_t ) PyCurses_API [ 3 ]; if ( ! was_start_c ...
https://man.mtool.work/python/3.14/c-api/curses.html
Curses C API — Python 3.14.8 ドキュメント 9305
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » Curses C API テーマ 自動 ライト ダーク | Curses C API ¶ curses exposes a small C inte ... sesSetupTermCalled ¶ Macro checking if curses.setupterm() has been called. The macro expansion is roughly equivalent to: { typedef int ( * predicate_t )( void ); predicate_t was_setupterm_called = ( predicate_t ) PyCurses_API [ 1 ]; if ( ! was_setupterm ... PyCursesInitialised ¶ Macro checking if curses.initscr() has been called. The macro expansion is roughly equivalent to: { typedef int ( * predicate_t )( void ); predicate_t was_initscr_called = ( predicate_t ) PyCurses_API [ 2 ]; if ( ! was_initscr_cal ... InitialisedColor ¶ Macro checking if curses.start_color() has been called. The macro expansion is roughly equivalent to: { typedef int ( * predicate_t )( void ); predicate_t was_start_color_called = ( predicate_t ) PyCurses_API [ 3 ]; if ( ! was_start_c ...
https://man.mtool.work/python/3.14/c-api/curses.html
2. 拡張の型の定義: チュートリアル — Python 3.14.8 ドキュメント 9166
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 2. 拡張の型の定義: チュートリアル テーマ 自動 ライト ダーク | 2. 拡張の型の定義: チュートリアル ¶ Python では、組み込みの s ... れた拡張の型も定義できますが、これについてはこのチュートリアルでは扱いません。 #define PY_SSIZE_T_CLEAN #include <Python.h> typedef struct { PyObject_HEAD /* Type-specific fields go here. */ } CustomObject ; static PyTypeObject CustomType = { . ob_base = ... e struct for defining the module, and the custom_module_exec function to set up a fresh module object. まず最初はこれです: typedef struct { PyObject_HEAD } CustomObject ; これが Custom オブジェクトの内容です。 PyObject_HEAD はそれぞれのオブジェクト構造体 ... は標準的な PyObject_HEAD ボイラープレートの他にもデータを保持しています; 例えば、これは Python 標準の浮動小数点数の定義です: typedef struct { PyObject_HEAD double ob_fval ; } PyFloatObject ; 2つ目は型オブジェクトの定義です。 static PyTypeObject CustomType ...
https://man.mtool.work/python/3.14/extending/newtypes_tutorial.html
2. 拡張の型の定義: チュートリアル — Python 3.14.8 ドキュメント 8918
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 2. 拡張の型の定義: チュートリアル テーマ 自動 ライト ダーク | 2. 拡張の型の定義: チュートリアル ¶ Python では、組み込みの s ... れた拡張の型も定義できますが、これについてはこのチュートリアルでは扱いません。 #define PY_SSIZE_T_CLEAN #include <Python.h> typedef struct { PyObject_HEAD /* Type-specific fields go here. */ } CustomObject ; static PyTypeObject CustomType = { . ob_base = ... e struct for defining the module, and the custom_module_exec function to set up a fresh module object. まず最初はこれです: typedef struct { PyObject_HEAD } CustomObject ; これが Custom オブジェクトの内容です。 PyObject_HEAD はそれぞれのオブジェクト構造体 ... は標準的な PyObject_HEAD ボイラープレートの他にもデータを保持しています; 例えば、これは Python 標準の浮動小数点数の定義です: typedef struct { PyObject_HEAD double ob_fval ; } PyFloatObject ; 2つ目は型オブジェクトの定義です。 static PyTypeObject CustomType ...
https://man.mtool.work/python/3.14/extending/newtypes_tutorial.html
循環参照ガベージコレクションをサポートする — Python 3.14.8 ドキュメント 8531
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » 循環参照ガベージコレクションをサポートする テーマ 自動 ライト ダーク | ... t_GC_UNTRACK() macros have been removed from the public C API. tp_traverse ハンドラはこの型の関数パラメータを受け取ります: typedef int ( * visitproc ) ( PyObject * object , void * arg ) ¶ 次に属します: Stable ABI . tp_traverse ハンドラに渡されるビジター ... が自身のためにビジター関数を書く必要が出てくることはないでしょう。 tp_traverse ハンドラは次の型を持っていなければなりません: typedef int ( * traverseproc ) ( PyObject * self , visitproc visit , void * arg ) ¶ 次に属します: Stable ABI . Traversal function ... ; return 0 ; } tp_clear ハンドラは inquiry 型であるか、オブジェクトが不変 (immutable) な場合は NULL でなければなりません。 typedef int ( * inquiry ) ( PyObject * self ) ¶ 次に属します: Stable ABI . 循環参照を形成しているとおぼしき参照群を放棄します。変更 ...
https://man.mtool.work/python/3.14/c-api/gcsupport.html
循環参照ガベージコレクションをサポートする — Python 3.14.8 ドキュメント 8531
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » 循環参照ガベージコレクションをサポートする テーマ 自動 ライト ダーク | ... t_GC_UNTRACK() macros have been removed from the public C API. tp_traverse ハンドラはこの型の関数パラメータを受け取ります: typedef int ( * visitproc ) ( PyObject * object , void * arg ) ¶ 次に属します: Stable ABI . tp_traverse ハンドラに渡されるビジター ... が自身のためにビジター関数を書く必要が出てくることはないでしょう。 tp_traverse ハンドラは次の型を持っていなければなりません: typedef int ( * traverseproc ) ( PyObject * self , visitproc visit , void * arg ) ¶ 次に属します: Stable ABI . Traversal function ... ; return 0 ; } tp_clear ハンドラは inquiry 型であるか、オブジェクトが不変 (immutable) な場合は NULL でなければなりません。 typedef int ( * inquiry ) ( PyObject * self ) ¶ 次に属します: Stable ABI . 循環参照を形成しているとおぼしき参照群を放棄します。変更 ...
https://man.mtool.work/python/3.14/c-api/gcsupport.html
Profiling and tracing — Python 3.14.8 ドキュメント 7772
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Profiling and tracing テーマ 自動 ライト ダーク | Profiling and tracing ¶ Python インタプリタは、プロファイル: 分析 (profile) や実 ... 報告される基本イベント (basic event) は以前のバージョンにおいて Python レベルのトレース関数で報告されていたものと同じです。 typedef int ( * Py_tracefunc ) ( PyObject * obj , PyFrameObject * frame , int what , PyObject * arg ) ¶ The type of the trace func ... raised while setting the trace functions in all threads. Added in version 3.12. Reference tracing ¶ Added in version 3.13. typedef int ( * PyRefTracer ) ( PyObject * , int event , void * data ) ¶ The type of the trace function registered using PyRefTrac ...
https://man.mtool.work/python/3.14/c-api/profiling.html
Profiling and tracing — Python 3.14.8 ドキュメント 7772
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Profiling and tracing テーマ 自動 ライト ダーク | Profiling and tracing ¶ Python インタプリタは、プロファイル: 分析 (profile) や実 ... 報告される基本イベント (basic event) は以前のバージョンにおいて Python レベルのトレース関数で報告されていたものと同じです。 typedef int ( * Py_tracefunc ) ( PyObject * obj , PyFrameObject * frame , int what , PyObject * arg ) ¶ The type of the trace func ... raised while setting the trace functions in all threads. Added in version 3.12. Reference tracing ¶ Added in version 3.13. typedef int ( * PyRefTracer ) ( PyObject * , int event , void * data ) ¶ The type of the trace function registered using PyRefTrac ...
https://man.mtool.work/python/3.14/c-api/profiling.html
PREV 1 2 3 4 5 NEXT