Skip to content

Enable onForeignFunction and proxy-specific extensions to the ABI. #24

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

Merged
merged 3 commits into from
Jun 2, 2020

Conversation

jplevyak
Copy link
Contributor

Signed-off-by: John Plevyak [email protected]

@jplevyak jplevyak requested review from PiotrSikora and lizan May 28, 2020 17:32
Copy link
Member

@PiotrSikora PiotrSikora left a comment

Choose a reason for hiding this comment

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

LGTM, sans the seemingly unrelated changes.

@@ -473,6 +477,8 @@ class Context : public ContextBase {
// Returns nullptr if the Context no longer exists (i.e. the stream has been
// destroyed).
Context *getContext(uint32_t context_id);
RootContext *getRootContext(uint32_t context_id);
ContextBase *getContextBase(uint32_t context_id);
Copy link
Member

Choose a reason for hiding this comment

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

Nit: this seems unrelated.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The getContextBase function is required in order to implement the new EnvoyWasmVmIntegration::getNullVmFunction function in the envoy-wasm changes in order to support envoy_XXXX specific extensions to the ABI.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

getRootContext was added for consistency.

@jplevyak jplevyak merged commit 6a57b58 into master Jun 2, 2020
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.

2 participants