1
0
mirror of https://github.com/golang/go synced 2024-11-22 01:44:40 -07:00
The Go programming language
Go to file
Ian Lance Taylor 12e7ce95c6 Add //export to cgo.
The new //export comment marks a Go function as callable from
C.  The syntax is "//export NAME" where NAME is the name of
the function as seen from C.  If such a comment is seen, cgo
will generate two new files: _cgo_export.h and _cgo_export.c.
The _cgo_export.h file provides declarations which C code may
use to call Go functions.  The _cgo_export.c file contains
wrappers, and is to be compiled with gcc.

The changes to Make.pkg support using this from a Go Makefile,
though it could probably be more convenient.

R=rsc
CC=golang-dev
https://golang.org/cl/853042
2010-04-09 13:31:05 -07:00
doc Update roadmap: delete many accomplishments 2010-04-09 13:22:05 -07:00
include Fix *l/*c -V flag segfault 2010-02-08 11:53:27 -08:00
lib godoc: support for title and subtitle headers when serving .html docs 2010-03-30 17:37:42 -07:00
misc godashboard: fix benchmarks page (first pass) 2010-04-05 07:34:27 +10:00
pkg more description 2009-10-15 23:08:46 -07:00
src Add //export to cgo. 2010-04-09 13:31:05 -07:00
test runtime: turn divide by zero, nil dereference into panics 2010-04-08 18:15:30 -07:00
.hgignore runtime: add GOROOT and Version 2010-03-16 23:10:33 -07:00
.hgtags release.2010-03-30 part two 2010-03-31 12:38:54 +11:00
AUTHORS contributors, authors: add Risto Saarelma 2010-03-30 11:46:06 -07:00
CONTRIBUTORS contributors, authors: add Risto Saarelma 2010-03-30 11:46:06 -07:00
favicon.ico add a favicon plus a couple of hi-res versions of gordon 2009-10-26 10:13:07 -07:00
LICENSE Add an explicit patent grant to the Go license. 2010-01-25 15:39:32 -08:00
README add a README file, so that if someone finds a 2009-11-08 09:57:37 -08:00

This is the source code repository for the Go programming language.  

For documentation about how to install and use Go,
visit http://golang.org/ or load doc/install.html in your web browser.

After installing Go, you can view a nicely formatted
doc/install.html by running godoc --http=:6060
and then visiting http://localhost:6060/doc/install.html.

Unless otherwise noted, the Go source files are distributed
under the BSD-style license found in the LICENSE file.