cgo.h 1.3 KB

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