Class CData

    • Field Detail

      • TYPE

        public static final PyType TYPE
    • Method Detail

      • byref

        public PyObject byref​(PyObject offset)
        Wraps up this object in a pointer that can be passed to native code. The byref() return value cannot be used as anything other than a parameter.
        Returns:
        A ByReference instance pointing to this object's native memory.
      • getReferenceMemory

        public final DirectMemory getReferenceMemory()
        Returns the memory used when creating a reference to this instance. e.g. via byref(obj)
        Returns:
        The reference memory for this object
      • getContentMemory

        public Memory getContentMemory()