Skip to content

Commit 832ec6b

Browse files
committed
add comment
1 parent 079bb67 commit 832ec6b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

contrib/libgo/readme.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ func main() {
6060
This code uses [Google Currency Converter](https://www.google.com/finance/converter) and [goquery](https://github.com/PuerkitoBio/goquery) for parsing the result.
6161
The main() function above is for debugging only.
6262

63+
The function comment '//export jpy' is required to export.
64+
65+
6366
1. compile
6467

6568
We can compile source code with '-buildmode=c-shared' option to make shared object.
@@ -120,7 +123,7 @@ callgo.so: callgo.c Makefile
120123
install:
121124
cp callgo.so $(LIBINSTALL)
122125
cp libgo.so $(LIBINSTALL)
123-
126+
124127
```
125128
126129
Let's compile and install.

0 commit comments

Comments
 (0)