github.com/ggreg80/ketos@v0.0.0-20171109040536-049616f51ddb/testdata/shared-library/nautilus.h (about)

     1  /* Created by "go tool cgo" - DO NOT EDIT. */
     2  
     3  /* package command-line-arguments */
     4  
     5  /* Start of preamble from import "C" comments.  */
     6  
     7  
     8  
     9  
    10  /* End of preamble from import "C" comments.  */
    11  
    12  
    13  /* Start of boilerplate cgo prologue.  */
    14  #line 1 "cgo-gcc-export-header-prolog"
    15  
    16  #ifndef GO_CGO_PROLOGUE_H
    17  #define GO_CGO_PROLOGUE_H
    18  
    19  typedef signed char GoInt8;
    20  typedef unsigned char GoUint8;
    21  typedef short GoInt16;
    22  typedef unsigned short GoUint16;
    23  typedef int GoInt32;
    24  typedef unsigned int GoUint32;
    25  typedef long long GoInt64;
    26  typedef unsigned long long GoUint64;
    27  typedef GoInt64 GoInt;
    28  typedef GoUint64 GoUint;
    29  typedef __SIZE_TYPE__ GoUintptr;
    30  typedef float GoFloat32;
    31  typedef double GoFloat64;
    32  typedef float _Complex GoComplex64;
    33  typedef double _Complex GoComplex128;
    34  
    35  /*
    36    static assertion to make sure the file is being used on architecture
    37    at least with matching size of GoInt.
    38  */
    39  typedef char _check_for_64_bit_pointer_matching_GoInt[sizeof(void*)==64/8 ? 1:-1];
    40  
    41  typedef struct { const char *p; GoInt n; } GoString;
    42  typedef void *GoMap;
    43  typedef void *GoChan;
    44  typedef struct { void *t; void *v; } GoInterface;
    45  typedef struct { void *data; GoInt len; GoInt cap; } GoSlice;
    46  
    47  #endif
    48  
    49  /* End of boilerplate cgo prologue.  */
    50  
    51  #ifdef __cplusplus
    52  extern "C" {
    53  #endif
    54  
    55  
    56  extern void say_hello(char* p0, int p1);
    57  
    58  extern void say_bye();
    59  
    60  #ifdef __cplusplus
    61  }
    62  #endif