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

Feat: seperate implementation from interface #17

Merged
merged 2 commits into from
Dec 18, 2023

Conversation

G4Vi
Copy link
Contributor

@G4Vi G4Vi commented Dec 18, 2023

Resolves #12

  • Separated implementation from interface. It's still a single header library, but one compilation unit must #define EXTISM_IMPLEMENTATION before including extism-pdk.h
  • C++ compat. Implementation still must be built with a C compiler, but it's the C pdk is now usable from C++.
  • Added BUILDING section to README to cover EXTISM_IMPLEMENTATION, EXTISM_USE_LIBC and building with C++.
  • Add extism_log_sz

@G4Vi G4Vi requested a review from zshipko December 18, 2023 22:59
@G4Vi G4Vi changed the title Feat: seperate implementation from nterface Feat: seperate implementation from interface Dec 18, 2023
Copy link
Contributor

@zshipko zshipko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@G4Vi G4Vi merged commit 01064c0 into main Dec 18, 2023
2 checks passed
@G4Vi G4Vi deleted the feat-seperate-implementation branch December 18, 2023 23:26
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

Successfully merging this pull request may close these issues.

Bloat when using the pdk in multiple files
2 participants