Skip to content

Opaque C interface #35

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

Closed
thelink2012 opened this issue Jul 12, 2015 · 1 comment
Closed

Opaque C interface #35

thelink2012 opened this issue Jul 12, 2015 · 1 comment

Comments

@thelink2012
Copy link
Owner

Problems with the current interface (modloader.h):

  • Exported structures aren't opaque, adding or removing fields are a pain for backward compatibility.
  • Kinda unportable among languages, a opaque interface would be much better for this.

This was built this way because we were under GPL and wanted to avoid infecting other binaries at linking.

So, we need a interface based on C functions and opaque structures instead.

This was referenced Jul 12, 2015
@thelink2012 thelink2012 added this to the Programmable Interface milestone Jul 12, 2015
@thelink2012 thelink2012 removed this from the Programmable Interface milestone May 2, 2021
@thelink2012
Copy link
Owner Author

thelink2012 commented May 2, 2021

Closed. See #94.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant