Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(8)

Side by Side Diff: misc/cgo/testso/cgoso.go

Issue 5375042: code review 5375042: cgo: add support for callbacks from dynamic libraries (Closed)
Patch Set: diff -r 502ec1fb1db4 https://go.googlecode.com/hg/ Created 13 years, 3 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « misc/cgo/testso/Makefile ('k') | misc/cgo/testso/cgoso_c.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2011 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 package cgosotest
6
7 //void sofunc(void);
8 import "C"
9
10 func Test() {
11 C.sofunc()
12 }
13
14 //export goCallback
15 func goCallback() {
16 }
OLDNEW
« no previous file with comments | « misc/cgo/testso/Makefile ('k') | misc/cgo/testso/cgoso_c.c » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b