ナビゲーション

  • 索引
  • モジュール |
  • 次へ |
  • 前へ |
  • Python »
  • 3.9.2 Documentation »
  • Python/C API リファレンスマニュアル »
  • |

オブジェクト実装サポート (object implementation support)¶

この章では、新しいオブジェクトの型を定義する際に使われる関数、型、およびマクロについて説明します。

  • オブジェクトをヒープ上にメモリ確保する
  • 共通のオブジェクト構造体 (common object structure)
    • Base object types and macros
    • Implementing functions and methods
    • Accessing attributes of extension types
  • 型オブジェクト
    • クイックリファレンス
      • tp スロット
      • sub-slots
      • スロットの定義型 (typedef)
    • PyTypeObject 定義
    • PyObject スロット
    • PyVarObject スロット
    • PyTypeObject スロット
    • Heap Types
  • 数値オブジェクト構造体
  • マップオブジェクト構造体
  • シーケンスオブジェクト構造体
  • バッファオブジェクト構造体 (buffer object structure)
  • async オブジェクト構造体
  • Slot Type typedefs
  • 使用例
  • 循環参照ガベージコレクションをサポートする

前のトピックへ

メモリ管理

次のトピックへ

オブジェクトをヒープ上にメモリ確保する

このページ

  • バグ報告
  • ソースコードを表示

ナビゲーション

  • 索引
  • モジュール |
  • 次へ |
  • 前へ |
  • Python »
  • 3.9.2 Documentation »
  • Python/C API リファレンスマニュアル »
  • |
© 著作権 2001-2021, Python Software Foundation.
The Python Software Foundation is a non-profit corporation. Please donate.

最終更新: 3月 08, 2021 Found a bug?
Created using Sphinx 2.4.4.