node-ctypes - v2.10.0
    Preparing search index...

    Type Alias PointerContents<T>

    PointerContents: IsAny<T> extends true
        ? any
        : T extends SimpleCDataConstructor<infer Tag>
            ? T extends { prototype: infer Instance }
                ? IsAny<Instance> extends true
                    ? SimpleCDataInstance<JsFromTag<Tag>>
                    : Instance
                : SimpleCDataInstance<JsFromTag<Tag>>
            : T extends StructureClass ? InstanceType<T> : JsFromCType<T>

    p.contents: a live instance on the pointed memory (Python parity).

    Type Parameters

    • T