Skip to content

Commit

Permalink
fix property name for args
Browse files Browse the repository at this point in the history
  • Loading branch information
n0cte committed Aug 22, 2022
1 parent 44a5e93 commit a0a1151
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
//export _wrap_invoke
func _wrap_invoke(methodSize, argsSize, envSize uint32) bool {
args := polywrap.WrapInvokeArgs(methodSize, argsSize)
switch args.method {
switch args.Method {
{{#moduleType}}
{{#methods}}
case "{{name}}":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
//export _wrap_invoke
func _wrap_invoke(methodSize, argsSize, envSize uint32) bool {
args := polywrap.WrapInvokeArgs(methodSize, argsSize)
switch args.method {
switch args.Method {
case "moduleMethod":
return polywrap.WrapInvoke(args, envSize, module.ModuleMethodWrapped)
case "objectMethod":
Expand Down

0 comments on commit a0a1151

Please sign in to comment.