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

Side by Side Diff: misc/cgo/test/issue4339.c

Issue 13653043: code review 13653043: misc/cgo/test: test of issue 4339 (Closed)
Patch Set: diff -r 0d3484e18799 https://code.google.com/p/go/ Created 11 years, 6 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/test/issue4339.h ('k') | misc/cgo/test/issue4339.go » ('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 #include <stdio.h>
2 #include "issue4339.h"
3
4 static void
5 impl(void)
6 {
7 //printf("impl\n");
8 }
9
10 Issue4339 exported4339 = {"bar", impl};
11
12 void
13 handle4339(Issue4339 *x)
14 {
15 //printf("handle\n");
16 x->bar();
17 //printf("done\n");
18 }
OLDNEW
« no previous file with comments | « misc/cgo/test/issue4339.h ('k') | misc/cgo/test/issue4339.go » ('j') | no next file with comments »

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