From 32c6f52cf8dfb23f9661af87cf440cc5355ff8a9 Mon Sep 17 00:00:00 2001 From: Sebastien Binet Date: Wed, 5 Aug 2015 10:32:13 +0200 Subject: [PATCH] bind: doc-strings Change-Id: I71a1bcfe5daf6902e1127c84b8a2de7250712eeb --- bind/symtab.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/bind/symtab.go b/bind/symtab.go index 3eb6906..2c9b761 100644 --- a/bind/symtab.go +++ b/bind/symtab.go @@ -39,17 +39,17 @@ type symbol struct { kind symkind goobj types.Object doc string - id string - goname string - cgoname string - cpyname string + id string // mangled name of entity (eg: _) + goname string // name of go entity + cgoname string // name of entity for cgo + cpyname string // name of entity for cpython // for types only - pyfmt string - pysig string - c2py string - py2c string + pyfmt string // format string for PyArg_ParseTuple + pysig string // type string for doc-signatures + c2py string // name of c->py converter function + py2c string // name of py->c converter function } func (s symbol) isType() bool {