Text file src/cmd/cgo/internal/testso/testdata/so/cgoso.c

     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
    15  

View as plain text