Skip to content

Add wasm_runtime_module_get_package_type()#3600

Merged
wenyongh merged 3 commits intobytecodealliance:mainfrom
bnason-nf:add-module-package-type
Jul 10, 2024
Merged

Add wasm_runtime_module_get_package_type()#3600
wenyongh merged 3 commits intobytecodealliance:mainfrom
bnason-nf:add-module-package-type

Conversation

@bnason-nf
Copy link
Contributor

See discussion in #3595.

@bnason-nf bnason-nf mentioned this pull request Jul 5, 2024
Copy link
Collaborator

@wenyongh wenyongh left a comment

Choose a reason for hiding this comment

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

LGTM exception minor comment

* unknown
*/
WASM_RUNTIME_API_EXTERN package_type_t
wasm_runtime_get_module_package_type(wasm_module_t module);
Copy link
Collaborator

Choose a reason for hiding this comment

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

had better const wasm_module_t module

@wenyongh wenyongh merged commit 8a6379b into bytecodealliance:main Jul 10, 2024
@bnason-nf bnason-nf deleted the add-module-package-type branch July 10, 2024 14:44
bnason-nf added a commit to bnason-nf/wasm-micro-runtime that referenced this pull request Jul 11, 2024
# By Benbuck Nason (2) and others
# Via GitHub
* upstream/main:
  wasm loader: Reject v128 for interpreters (bytecodealliance#3611)
  Fix typos in wamrc and wasm_export.h (bytecodealliance#3609)
  Bump ocaml/setup-ocaml from 2 to 3 (bytecodealliance#3604)
  Add wasm_runtime_get_module_package_type() and wasm_runtime_get_file_package_type() (bytecodealliance#3600)
  Avoid redefining WASMMemoryType (bytecodealliance#3602)

# Conflicts:
#	core/iwasm/common/wasm_runtime_common.c
#	core/iwasm/include/wasm_export.h
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