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