aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorgary rong <garyrong0905@gmail.com>2019-07-03 18:17:43 +0800
committerGuillaume Ballet <gballet@gmail.com>2019-07-03 18:17:43 +0800
commit5f5de49cd9186d1c7adbaf0c55d4213234724e43 (patch)
tree2ac3d6faf9395aac2733ec87edeabbbccd1e884e /cmd
parentca6c8c2af443e99497cd49b6b122094ad08205b7 (diff)
downloadgo-tangerine-5f5de49cd9186d1c7adbaf0c55d4213234724e43.tar
go-tangerine-5f5de49cd9186d1c7adbaf0c55d4213234724e43.tar.gz
go-tangerine-5f5de49cd9186d1c7adbaf0c55d4213234724e43.tar.bz2
go-tangerine-5f5de49cd9186d1c7adbaf0c55d4213234724e43.tar.lz
go-tangerine-5f5de49cd9186d1c7adbaf0c55d4213234724e43.tar.xz
go-tangerine-5f5de49cd9186d1c7adbaf0c55d4213234724e43.tar.zst
go-tangerine-5f5de49cd9186d1c7adbaf0c55d4213234724e43.zip
accounts/abi: enable struct golang binding generation (#18491)
* accounts/abi, cmd/abigen: support tuple accounts/abi/bind, cmd/abigen: add objc back accounts/abi/bind: use byte[24] as function indicator accounts/abi/bind: resolve struct slice or array accounts/abi/bind: remove sort logic accounts: fix issues in abi * accounts/abi: address comment
Diffstat (limited to 'cmd')
-rw-r--r--cmd/abigen/main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/abigen/main.go b/cmd/abigen/main.go
index 7ef2e6989..f9e048623 100644
--- a/cmd/abigen/main.go
+++ b/cmd/abigen/main.go
@@ -69,6 +69,8 @@ func main() {
lang = bind.LangGo
case "java":
lang = bind.LangJava
+ case "objc":
+ lang = bind.LangObjC
default:
fmt.Printf("Unsupported destination language \"%s\" (--lang)\n", *langFlag)
os.Exit(-1)