Update calling convention to pass params as array
This commit is contained in:
@@ -6,4 +6,4 @@ defmodule MyLib do
|
||||
attach_function :puts, [:string], :int
|
||||
end
|
||||
|
||||
IO.inspect MyLib.puts("Hello world")
|
||||
IO.inspect MyLib.puts(["Hello world"])
|
||||
|
||||
Reference in New Issue
Block a user