Skip to content

Commit

Permalink
add note about untyped variants
Browse files Browse the repository at this point in the history
  • Loading branch information
bhelx committed Oct 13, 2023
1 parent a1eeee9 commit 10848ea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@ func count() int32 {
}
```

> **Note**: Use the untyped variants `pdk.SetVar(string, []byte)` and `pdk.GetVar(string) []byte` to handle your own types.
## Logging

Because Wasm modules by default do not have access to the system, printing to stdout won't work (unless you use WASI). Extism provides some simple logging macros that allow you to use the host application to log without having to give the plug-in permission to make syscalls.
Expand Down

0 comments on commit 10848ea

Please sign in to comment.