per page, with , order by , clip by
Results of 1 - 2 of about 2 for cbresult (0.002 sec.)
3. 拡張の型の定義: 雑多なトピック — Python 3.14.8 ドキュメント 11228
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 3. 拡張の型の定義: 雑多なトピック テーマ 自動 ライト ダーク | 3. 拡張の型の定義: 雑多なトピック ¶ この節ではさまざまな実装可 ... うことによって可能になります: static void my_dealloc ( PyObject * obj ) { MyObject * self = ( MyObject * ) obj ; PyObject * cbresult ; if ( self -> my_callback != NULL ) { PyObject * err_type , * err_value , * err_traceback ; /* This saves the current exc ... eption state */ PyErr_Fetch ( & err_type , & err_value , & err_traceback ); cbresult = PyObject_CallNoArgs ( self -> my_callback ); if ( cbresult == NULL ) { PyErr_WriteUnraisable ( self -> my_callback ); } ... else { Py_DECREF ( cbresult ); } /* This restores the saved exception state */ PyErr_Restore ( err_type , err_value , err_traceback ); Py_DECREF ( sel ...
https://man.mtool.work/python/3.14/extending/newtypes.html
3. 拡張の型の定義: 雑多なトピック — Python 3.14.8 ドキュメント 7485
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 3. 拡張の型の定義: 雑多なトピック テーマ 自動 ライト ダーク | 3. 拡張の型の定義: 雑多なトピック ¶ この節ではさまざまな実装可 ... うことによって可能になります: static void my_dealloc ( PyObject * obj ) { MyObject * self = ( MyObject * ) obj ; PyObject * cbresult ; if ( self -> my_callback != NULL ) { PyObject * err_type , * err_value , * err_traceback ; /* This saves the current exc ... eption state */ PyErr_Fetch ( & err_type , & err_value , & err_traceback ); cbresult = PyObject_CallNoArgs ( self -> my_callback ); if ( cbresult == NULL ) { PyErr_WriteUnraisable ( self -> my_callback ); } ... else { Py_DECREF ( cbresult ); } /* This restores the saved exception state */ PyErr_Restore ( err_type , err_value , err_traceback ); Py_DECREF ( sel ...
https://man.mtool.work/python/3.14/extending/newtypes.html
PREV 1 NEXT