Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose the same top level API for all eclair programs #29

Open
luc-tielen opened this issue Apr 18, 2022 · 0 comments
Open

Expose the same top level API for all eclair programs #29

luc-tielen opened this issue Apr 18, 2022 · 0 comments
Milestone

Comments

@luc-tielen
Copy link
Owner

Ideally, there would only be 5 top level functions to bind to:

  1. eclair_program_init
  2. eclair_program_destroy
  3. eclair_program_run
  4. eclair_add_facts
  5. eclair_get_facts

This can be done using a global registry, where each eclair_program struct needs to register itself + it's corresponding functions.

@luc-tielen luc-tielen added this to the 0.2.0 milestone Apr 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant