Results of 1 - 6 of about 6 for pValue (0.004 sec.)
- 1. 他のアプリケーションへの Python の埋め込み — Python 3.14.8 ドキュメント 11698
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 1. 他のアプリケーションへの Python の埋め込み テーマ 自動 ライト ダーク | 1. 他のアプリケーションへの Python の埋め込み ¶ 前
...#include <Python.h> int main ( int argc , char * argv []) { PyObject * pName , * pModule , * pFunc ; PyObject * pArgs , * pValue ; int i ; if ( argc < 3 ) { fprintf ( stderr , "Usage: call pythonfile funcname [args] \n " ); return 1 ; } Py_Initialize...nce */ if ( pFunc && PyCallable_Check ( pFunc )) { pArgs = PyTuple_New ( argc - 3 ); for ( i = 0 ; i < argc - 3 ; ++ i ) { pValue = PyLong_FromLong ( atoi ( argv [ i + 3 ])); if ( ! pValue ) { Py_DECREF ( pArgs ); Py_DECREF ( pModule ); fprintf ( stder...r , "Cannot convert argument \n " ); return 1 ; } /* pValue reference stolen here: */ PyTuple_SetItem ( pArgs , i , pValue ); } pValue = PyObject_CallObject ( pFunc , pArgs ); Py_DEC... - https://man.mtool.work/python/3.14/extending/embedding.html
- 1. 他のアプリケーションへの Python の埋め込み — Python 3.14.8 ドキュメント 11698
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 1. 他のアプリケーションへの Python の埋め込み テーマ 自動 ライト ダーク | 1. 他のアプリケーションへの Python の埋め込み ¶ 前
...#include <Python.h> int main ( int argc , char * argv []) { PyObject * pName , * pModule , * pFunc ; PyObject * pArgs , * pValue ; int i ; if ( argc < 3 ) { fprintf ( stderr , "Usage: call pythonfile funcname [args] \n " ); return 1 ; } Py_Initialize...nce */ if ( pFunc && PyCallable_Check ( pFunc )) { pArgs = PyTuple_New ( argc - 3 ); for ( i = 0 ; i < argc - 3 ; ++ i ) { pValue = PyLong_FromLong ( atoi ( argv [ i + 3 ])); if ( ! pValue ) { Py_DECREF ( pArgs ); Py_DECREF ( pModule ); fprintf ( stder...r , "Cannot convert argument \n " ); return 1 ; } /* pValue reference stolen here: */ PyTuple_SetItem ( pArgs , i , pValue ); } pValue = PyObject_CallObject ( pFunc , pArgs ); Py_DEC... - https://man.mtool.work/python/3.14/extending/embedding.html
- Dictionary Objects — Python 3.14.8 ドキュメント 8134
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » Dictionary Objects テーマ 自動 ライト ダーク | Dictionary Objects ¶ type PyDictObject
...Size() , but without error checking. int PyDict_Next ( PyObject * p , Py_ssize_t * ppos , PyObject * * pkey , PyObject * * pvalue ) ¶ 次に属します: Stable ABI . Thread safety: Safe to call from multiple threads with external synchronization only . 辞書...関数は辞書内の各ペアを取り上げるごとに真を返し、全てのペアを取り上げたことが分かると偽を返します。 パラメーター pkey および pvalue には、それぞれ辞書の各々のキーと値が埋められた PyObject * 変数を指すポインタか、または NULL が入ります。 この関数から返され...-threaded build, this function can be used safely inside a critical section. However, the references returned for pkey and pvalue are borrowed and are only valid while the critical section is held. If you need to use these objects outside the critical... - https://man.mtool.work/python/3.14/c-api/dict.html
- Dictionary Objects — Python 3.14.8 ドキュメント 8134
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » Dictionary Objects テーマ 自動 ライト ダーク | Dictionary Objects ¶ type PyDictObject
...Size() , but without error checking. int PyDict_Next ( PyObject * p , Py_ssize_t * ppos , PyObject * * pkey , PyObject * * pvalue ) ¶ 次に属します: Stable ABI . Thread safety: Safe to call from multiple threads with external synchronization only . 辞書...関数は辞書内の各ペアを取り上げるごとに真を返し、全てのペアを取り上げたことが分かると偽を返します。 パラメーター pkey および pvalue には、それぞれ辞書の各々のキーと値が埋められた PyObject * 変数を指すポインタか、または NULL が入ります。 この関数から返され...-threaded build, this function can be used safely inside a critical section. However, the references returned for pkey and pvalue are borrowed and are only valid while the critical section is held. If you need to use these objects outside the critical... - https://man.mtool.work/python/3.14/c-api/dict.html
- 例外処理 — Python 3.14.8 ドキュメント 7567
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 例外処理 テーマ 自動 ライト ダーク | 例外処理 ¶ この章で説明する関数を使うと、 Python の例外の処理や例外の送出ができるようになりま
...LL . This call " steals " a reference to exc . Added in version 3.12. void PyErr_Fetch ( PyObject * * ptype , PyObject * * pvalue , PyObject * * ptraceback ) ¶ 次に属します: Stable ABI . バージョン 3.12 で非推奨: Use PyErr_GetRaisedException() instead...._GetHandledException() を使ってください。 Added in version 3.11. void PyErr_GetExcInfo ( PyObject * * ptype , PyObject * * pvalue , PyObject * * ptraceback ) ¶ 次に属します: Stable ABI (バージョン 3.7 より). Retrieve the old-style representation of the... - https://man.mtool.work/python/3.14/c-api/exceptions.html
- 例外処理 — Python 3.14.8 ドキュメント 7567
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 例外処理 テーマ 自動 ライト ダーク | 例外処理 ¶ この章で説明する関数を使うと、 Python の例外の処理や例外の送出ができるようになりま
...LL . This call " steals " a reference to exc . Added in version 3.12. void PyErr_Fetch ( PyObject * * ptype , PyObject * * pvalue , PyObject * * ptraceback ) ¶ 次に属します: Stable ABI . バージョン 3.12 で非推奨: Use PyErr_GetRaisedException() instead...._GetHandledException() を使ってください。 Added in version 3.11. void PyErr_GetExcInfo ( PyObject * * ptype , PyObject * * pvalue , PyObject * * ptraceback ) ¶ 次に属します: Stable ABI (バージョン 3.7 より). Retrieve the old-style representation of the... - https://man.mtool.work/python/3.14/c-api/exceptions.html
PREV
1
NEXT