Skip to content

Commit

Permalink
fix: import signature variations
Browse files Browse the repository at this point in the history
  • Loading branch information
nilslice committed Aug 25, 2024
1 parent b129cea commit 7e18f8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/pdk.gen.go.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func _<%- ex.name %>() int32 {
<% if (schema.imports.length > 0) { %>
<% Object.values(schema.imports).forEach(im => { %>
//go:wasmimport extism:host/user <%- im.name %>
func _<%- im.name %>(uint64) <%- im.output ? "uint64" : null %>
func _<%- im.name %>(<%- im.input ? "uint64" : null %>) <%- im.output ? "uint64" : null %>
<% }) %>
<% } %>
Expand Down

0 comments on commit 7e18f8d

Please sign in to comment.