package
Version:
v0.0.0-...-14b549b
Opens a new window with list of versions in this module.
Published: Jul 29, 2018
License: BSD-3-Clause, BSD-3-Clause
Opens a new window with license information.
Imports: 27
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
ccgo
Package ccgo translates c99 ASTs to Go. Work In Progress. API unstable.
Installation
To install or update ccgo and its accompanying tools
$ go get [-u] github.com/cznic/ccgo/v2/...
Documentation: godoc.org/github.com/cznic/ccgo/v2
Documentation
¶
Package ccgo translates C99 ASTs to Go source code. Work In Progress. API unstable.
NewObject writes a linker object file produced from in that comes from file
to out.
NewSharedObject writes shared linker object files from in to out.
type Linker struct {
Main bool
}
Linker produces Go files from object files.
NewLinker returns a newly created Linker writing to out.
The Linker must be eventually closed to prevent resource leaks.
Close finihes the linking. The header argument is written prior to any other
linker's own output, which does not include the package clause.
Link incerementaly links objects files.
type NewObjectTweaks struct {
FullTLDPaths bool
}
NewObjectTweaks amend NewObject behavior.
Source Files
¶
Directories
¶
Command ccgo is a C compiler targeting Go.
|
Command ccgo is a C compiler targeting Go. |
internal
|
|
object
Package object reads and writes object files.
|
Package object reads and writes object files. |
Click to show internal directories.
Click to hide internal directories.