Class: RubyPython::Python::PyObjectStruct

Inherits:
FFI::Struct
  • Object
show all
Defined in:
lib/rubypython/python.rb

Overview

This is an implementation of the basic structure of a Python PyObject struct. The C struct is actually much larger, but since we only access the first two data members via FFI and always deal with struct pointers there is no need to mess around with the rest of the object.