diff options
author | Justin Clift <[email protected]> | 2019-05-14 01:06:57 +1000 |
---|---|---|
committer | Ayke <[email protected]> | 2019-05-13 17:11:19 +0200 |
commit | 064d00155023e47caaa25529eda0dbf3b39b63f7 (patch) | |
tree | 08f5e262183013df1127f5d93e71a59f0d905e39 /cgo | |
parent | a4cd3bb77c0bb33bc3384cfe98284ca894939088 (diff) | |
download | tinygo-064d00155023e47caaa25529eda0dbf3b39b63f7.tar.gz tinygo-064d00155023e47caaa25529eda0dbf3b39b63f7.zip |
Trivial typo fixes
Diffstat (limited to 'cgo')
-rw-r--r-- | cgo/cgo.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cgo/cgo.go b/cgo/cgo.go index e7f44dee0..0ef32127d 100644 --- a/cgo/cgo.go +++ b/cgo/cgo.go @@ -8,7 +8,7 @@ package cgo // This file extracts the `import "C"` statement from the source and modifies -// the AST for CCo. It does not use libclang directly: see libclang.go for the C +// the AST for CGo. It does not use libclang directly: see libclang.go for the C // source file parsing. import ( @@ -21,7 +21,7 @@ import ( "golang.org/x/tools/go/ast/astutil" ) -// cgoPackage holds all CCo-related information of a package. +// cgoPackage holds all CGo-related information of a package. type cgoPackage struct { generated *ast.File generatedPos token.Pos @@ -44,7 +44,7 @@ type constantInfo struct { pos token.Pos } -// functionInfo stores some information about a CCo function found by libclang +// functionInfo stores some information about a CGo function found by libclang // and declared in the AST. type functionInfo struct { args []paramInfo @@ -52,7 +52,7 @@ type functionInfo struct { pos token.Pos } -// paramInfo is a parameter of a Cgo function (see functionInfo). +// paramInfo is a parameter of a CGo function (see functionInfo). type paramInfo struct { name string typeExpr ast.Expr |