...

Text file src/cmd/cgo/internal/test/issue4339.c

Documentation: cmd/cgo/internal/test

     1// Copyright 2013 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#include <stdio.h>
     6#include "issue4339.h"
     7
     8static void
     9impl(void)
    10{
    11	//printf("impl\n");
    12}
    13
    14Issue4339 exported4339 = {"bar", impl};
    15
    16void
    17handle4339(Issue4339 *x)
    18{
    19	//printf("handle\n");
    20	x->bar();
    21	//printf("done\n");
    22}

View as plain text