github.com/kidsbmilk/gofronted_all@v0.0.0-20220701224323-6479d5976c5d/libgo/misc/cgo/testso/testdata/cgoso.c (about)

     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 "_cgo_export.h"
     6  
     7  #if defined(WIN32) || defined(_AIX)
     8  extern void setCallback(void *);
     9  void init() {
    10  	setCallback(goCallback);
    11  }
    12  #else
    13  void init() {}
    14  #endif