Removed array wrapping from examples and readme
This commit is contained in:
@@ -16,7 +16,7 @@ defmodule MyLib do
|
||||
attach_function :puts, [:string], :int
|
||||
end
|
||||
|
||||
MyLib.puts(["Hello World from C stdlib"])
|
||||
MyLib.puts("Hello World from C stdlib")
|
||||
```
|
||||
|
||||
## Installation
|
||||
|
||||
@@ -4,4 +4,4 @@ defmodule MyLib do
|
||||
attach_function :puts, [:string], :int
|
||||
end
|
||||
|
||||
MyLib.puts(["Hello World from C stdlib"])
|
||||
MyLib.puts("Hello World from C stdlib")
|
||||
|
||||
Reference in New Issue
Block a user