1
0
mirror of https://github.com/golang/go synced 2024-11-25 00:57:59 -07:00
go/misc/cgo/test/issue4339.h
Russ Cox 71ed6eb25a misc/cgo/test: test of issue 4339
This is not quite what that issue reports,
because this does not involve a DLL.
But I wanted to make sure this much was working.

Update #4339

R=golang-dev, minux.ma
CC=golang-dev
https://golang.org/cl/13653043
2013-09-11 09:56:38 -04:00

10 lines
153 B
C

typedef struct Issue4339 Issue4339;
struct Issue4339 {
char *name;
void (*bar)(void);
};
extern Issue4339 exported4339;
void handle4339(Issue4339*);