Skip to content

Signify plugin language via cpp or py parameter #164

@knoepfel

Description

@knoepfel

Currently, Phlex plugins are loaded via the syntax:

modules: {
  a: {
    plugin: "<plugin path>"
  },
  b: {
    plugin: "<plugin path>"
  },
  ⋮
}

with the assumption that the loaded module is a C++ module. To make loading C++ and Python modules symmetric, the recommended schema is instead:

modules: {
  a: {
    cpp: "<shared object-file path>"
  },
  b: {
    py: "<python module>"
  },
  ⋮
}

Eventually, this should be replaced with a system that can calculate whether the plugin is C++ or Python.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions