github.com/notti/nocgo@v0.0.0-20190619201224-fc443047424c/steps/2_go/test/_obj/_cgo_export.h (about)

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