Results of 1 - 10 of about 122 for pointer (0.033 sec.)
- ctypes --- Python 用の外部関数ライブラリ — Python 3.14.8 ドキュメント 14071
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 汎用オペレーティングシステムサービス » ctypes --- Python 用の外部関数ライブラリ テーマ 自動 ライト ダーク | ctypes --- Python 用の外
...e GetModuleHandleA() function, which returns a win32 module handle (passing None as single argument to call it with a NULL pointer): >>> print ( hex ( windll . kernel32 . GetModuleHandleA ( None ))) 0x1d000000 >>> cdecl 呼び出し規約を使って stdcall 関数...the only native Python objects that can directly be used as parameters in these function calls. None is passed as a C NULL pointer, bytes objects and strings are passed as pointer to the memory block that contains their data ( char * or wchar_t * ). Pyt...>>> print ( i . value ) 42 >>> i . value = - 99 >>> print ( i . value ) -99 >>> Assigning a new value to instances of the pointer types c_char_p , c_wchar_p , and c_void_p changes the memory location they point to, not the contents of the memory block... - https://man.mtool.work/python/3.14/library/ctypes.html
- ctypes --- Python 用の外部関数ライブラリ — Python 3.14.8 ドキュメント 14071
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 汎用オペレーティングシステムサービス » ctypes --- Python 用の外部関数ライブラリ テーマ 自動 ライト ダーク | ctypes --- Python 用の外
...e GetModuleHandleA() function, which returns a win32 module handle (passing None as single argument to call it with a NULL pointer): >>> print ( hex ( windll . kernel32 . GetModuleHandleA ( None ))) 0x1d000000 >>> cdecl 呼び出し規約を使って stdcall 関数...the only native Python objects that can directly be used as parameters in these function calls. None is passed as a C NULL pointer, bytes objects and strings are passed as pointer to the memory block that contains their data ( char * or wchar_t * ). Pyt...>>> print ( i . value ) 42 >>> i . value = - 99 >>> print ( i . value ) -99 >>> Assigning a new value to instances of the pointer types c_char_p , c_wchar_p , and c_void_p changes the memory location they point to, not the contents of the memory block... - https://man.mtool.work/python/3.14/library/ctypes.html
- カプセル — Python 3.14.8 ドキュメント 9001
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » カプセル テーマ 自動 ライト ダーク | カプセル ¶ using-capsules 以下のオブジェクトを使
...ype of PyObject represents an opaque value, useful for C extension modules which need to pass an opaque value (as a void * pointer) through Python code to other C code. It is often used to make a C function pointer defined in one module available to oth...hread safety: Atomic . 引数が PyCapsule の場合に真を返します。この関数は常に成功します。 PyObject * PyCapsule_New ( void * pointer , const char * name , PyCapsule_Destructor destructor ) ¶ 戻り値: 新しい参照。 次に属します: Stable ABI . Thread safety: A...tomic . pointer を格納する PyCapsule を作成します。 pointer 引数は NULL であってはなりません。 失敗した場合、例外を設定して NULL を返します... - https://man.mtool.work/python/3.14/c-api/capsule.html
- カプセル — Python 3.14.8 ドキュメント 9001
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » カプセル テーマ 自動 ライト ダーク | カプセル ¶ using-capsules 以下のオブジェクトを使
...ype of PyObject represents an opaque value, useful for C extension modules which need to pass an opaque value (as a void * pointer) through Python code to other C code. It is often used to make a C function pointer defined in one module available to oth...hread safety: Atomic . 引数が PyCapsule の場合に真を返します。この関数は常に成功します。 PyObject * PyCapsule_New ( void * pointer , const char * name , PyCapsule_Destructor destructor ) ¶ 戻り値: 新しい参照。 次に属します: Stable ABI . Thread safety: A...tomic . pointer を格納する PyCapsule を作成します。 pointer 引数は NULL であってはなりません。 失敗した場合、例外を設定して NULL を返します... - https://man.mtool.work/python/3.14/c-api/capsule.html
- 共通のオブジェクト構造体 (common object structure) — Python 3.14.8 ドキュメント 8012
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » 共通のオブジェクト構造体 (common object structure) テーマ 自動 ライト
...です。) All object types are extensions of this type. This is a type which contains the information Python needs to treat a pointer to an object as an object. In a normal "release" build, it contains only the object's reference count and a pointer to the...corresponding type object. Nothing is actually declared to be a PyObject , but every pointer to a Python object can be cast to a PyObject * . The members must not be accessed directly; instead use macros such as Py_...いる構造体です。この構造体には 4 つのフィールドがあります: const char * ml_name ¶ Name of the method. PyCFunction ml_meth ¶ Pointer to the C implementation. int ml_flags ¶ Flags bits indicating how the call should be constructed. const char * ml_doc ¶ Po... - https://man.mtool.work/python/3.14/c-api/structures.html
- 共通のオブジェクト構造体 (common object structure) — Python 3.14.8 ドキュメント 8012
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » 共通のオブジェクト構造体 (common object structure) テーマ 自動 ライト
...です。) All object types are extensions of this type. This is a type which contains the information Python needs to treat a pointer to an object as an object. In a normal "release" build, it contains only the object's reference count and a pointer to the...corresponding type object. Nothing is actually declared to be a PyObject , but every pointer to a Python object can be cast to a PyObject * . The members must not be accessed directly; instead use macros such as Py_...いる構造体です。この構造体には 4 つのフィールドがあります: const char * ml_name ¶ Name of the method. PyCFunction ml_meth ¶ Pointer to the C implementation. int ml_flags ¶ Flags bits indicating how the call should be constructed. const char * ml_doc ¶ Po... - https://man.mtool.work/python/3.14/c-api/structures.html
- Pickle buffer objects — Python 3.14.8 ドキュメント 7752
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » Pickle buffer objects テーマ 自動 ライト ダーク | Pickle buffer objects ¶ Added in ve
...alling pickle.PickleBuffer with obj in Python. const Py_buffer * PyPickleBuffer_GetBuffer ( PyObject * picklebuf ) ¶ Get a pointer to the underlying Py_buffer that the pickle buffer wraps. The returned pointer is valid as long as picklebuf is alive and...ot modify or free the returned Py_buffer . If the pickle buffer has been released, raise ValueError . On success, return a pointer to the buffer view. On failure, set an exception and return NULL . int PyPickleBuffer_Release ( PyObject * picklebuf ) ¶ R...r pickle PyPickleBuffer PyObject return PickleBuffer object Python obj instance success failure set exception Py picklebuf pointer wraps PyTypeObject int 前のトピックへ memoryview オブジェクト 次のトピックへ 弱参照オブジェクト This page Report a bug Imp... - https://man.mtool.work/python/3.14/c-api/picklebuffer.html
- Pickle buffer objects — Python 3.14.8 ドキュメント 7752
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » Pickle buffer objects テーマ 自動 ライト ダーク | Pickle buffer objects ¶ Added in ve
...alling pickle.PickleBuffer with obj in Python. const Py_buffer * PyPickleBuffer_GetBuffer ( PyObject * picklebuf ) ¶ Get a pointer to the underlying Py_buffer that the pickle buffer wraps. The returned pointer is valid as long as picklebuf is alive and...ot modify or free the returned Py_buffer . If the pickle buffer has been released, raise ValueError . On success, return a pointer to the buffer view. On failure, set an exception and return NULL . int PyPickleBuffer_Release ( PyObject * picklebuf ) ¶ R...hon. 関連キーワード buffer pickle PyPickleBuffer PyObject return PickleBuffer instance success failure exception picklebuf pointer wraps PyTypeObject Return Analogous calling underlying returned released Release Pickle objects Added providing 前のトピッ... - https://man.mtool.work/python/3.14/c-api/picklebuffer.html
- 変更履歴 — Python 3.14.8 ドキュメント 7480
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...ocstring of unittest.mock.Mock.return_value . gh-156946 : Fix a crash in curses.panel when the finalizer of a panel's user pointer runs while the panel is being deallocated. The panel is now taken off the panel stack before its user pointer is dropped....nt a crash on a query. gh-156124 : Fix a crash in the free-threaded build when deleting the contents attribute of a ctypes pointer. gh-156112 : _ios_support no longer fails to import when ctypes.util.find_library() cannot resolve the ObjC runtime throug...al SystemError during vector calls when memory allocation fails. A MemoryError is now raised instead. gh-152682 : Fix NULL pointer dereference in compile() when a reserved name (e.g. __classdict__ ) is used as a type parameter name and memory allocation... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
- Type Object Structures — Python 3.14.8 ドキュメント 7159
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Type Object Structures テーマ 自動 ライト ダーク | Type Object Structu
...t many fields set on PyBaseObject_Type and PyType_Type effectively act as defaults.) const char * PyTypeObject . tp_name ¶ Pointer to a NUL-terminated string containing the name of the type. For types that are accessible as module globals, the string sh...e base type). destructor PyTypeObject . tp_dealloc ¶ The corresponding slot ID Py_tp_dealloc is part of the Stable ABI . A pointer to the instance destructor function. The function signature is: void tp_dealloc ( PyObject * self ); The destructor functi...S_HAVE_VECTORCALL is set. If so, this must be a positive integer containing the offset in the instance of a vectorcallfunc pointer. The vectorcallfunc pointer may be NULL , in which case the instance behaves as if Py_TPFLAGS_HAVE_VECTORCALL was not set:... - https://man.mtool.work/python/3.14/c-api/typeobj.html