mb0/godt — Issue #1: Cgo type resolution
Author: mb0
Created: 2012-02-04 23:13:34+00:00
State: open

go supports c types as described here: http://blog.golang.org/2011/03/c-go-cgo.html

godt needs to handle these types when resolving expressions.

locating and parsing the actual c code or integration with eclipse cdt is not an option for now (not enough time and c related know-how on my part).

i started off with ignoring C related reference linking errors. but this will still produce errors in referencing code.

the next best thing is to introduce an godt internal type __C that will always resolve to itself.
the __C type marks a knowledge gap that can be any other type or none at all.

but eventually true cgo support (indexing foremost) would be valuable feature.
please add ideas.