bytecodealliance / wasmtime-cpp

Apache License 2.0
85 stars 18 forks source link

Wrap wasmtime_store_limiter (#36) #37

Closed agutekanst-llnw closed 1 year ago

agutekanst-llnw commented 1 year ago

Add wasmtime_store_limiter wrapper method to the Store class (#36).

As far as I could tell, the convention used throughout the code is to remove the wasmtime_[type]_ prefix from the C API name, and use the remaining portion as the CPP method name. So I just went with limiter as the name.

clang-format has not been run for this change, as it effects code unrelated to this change.

agutekanst-llnw commented 1 year ago

@alexcrichton I tried to run the default clang-format against wasmtime.hh, but it changed unrelated code so I didn't commit it. Is there a specific clang-format style or .clang-format options file somewhere that I should be using?