Skip to content

Internal API for copy support via extensions #138

@dktapps

Description

@dktapps

Currently it's inconvenient to publish shared libraries for the extension, as it may or may not depend on ext-sockets. There's no way to tell whether sockets support is required until the library attempts to be loaded, at which point it will bail out due to symbol loading errors.

It would probably be advantageous for pmmpthread to expose API to allow other extensions to register copy handlers for particular types. Socket copy support would then be moved to a separate extension ext-pmmpthread-sockets, simplifying the distribution process and allowing users to add socket support on their own if they want to.

This might also be useful for supporting other things, such as copying PalettedBlockArray in ext-chunkutils2 without making ext-chunkutils2 depend on pmmpthread or vice versa.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions