Advertisement
Guest User

calcLib.h

a guest
Dec 1st, 2021
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.65 KB | None | 0 0
  1. /* Code generated by cmd/cgo; DO NOT EDIT. */
  2.  
  3. /* package command-line-arguments */
  4.  
  5.  
  6. #line 1 "cgo-builtin-export-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. #ifndef GO_CGO_GOSTRING_TYPEDEF
  14. typedef struct { const char *p; ptrdiff_t n; } _GoString_;
  15. #endif
  16.  
  17. #endif
  18.  
  19. /* Start of preamble from import "C" comments.  */
  20.  
  21.  
  22.  
  23.  
  24. /* End of preamble from import "C" comments.  */
  25.  
  26.  
  27. /* Start of boilerplate cgo prologue.  */
  28. #line 1 "cgo-gcc-export-header-prolog"
  29.  
  30. #ifndef GO_CGO_PROLOGUE_H
  31. #define GO_CGO_PROLOGUE_H
  32.  
  33. typedef signed char GoInt8;
  34. typedef unsigned char GoUint8;
  35. typedef short GoInt16;
  36. typedef unsigned short GoUint16;
  37. typedef int GoInt32;
  38. typedef unsigned int GoUint32;
  39. typedef long long GoInt64;
  40. typedef unsigned long long GoUint64;
  41. typedef GoInt64 GoInt;
  42. typedef GoUint64 GoUint;
  43. typedef __SIZE_TYPE__ GoUintptr;
  44. typedef float GoFloat32;
  45. typedef double GoFloat64;
  46. typedef float _Complex GoComplex64;
  47. typedef double _Complex GoComplex128;
  48.  
  49. /*
  50.   static assertion to make sure the file is being used on architecture
  51.   at least with matching size of GoInt.
  52. */
  53. typedef char _check_for_64_bit_pointer_matching_GoInt[sizeof(void*)==64/8 ? 1:-1];
  54.  
  55. #ifndef GO_CGO_GOSTRING_TYPEDEF
  56. typedef _GoString_ GoString;
  57. #endif
  58. typedef void *GoMap;
  59. typedef void *GoChan;
  60. typedef struct { void *t; void *v; } GoInterface;
  61. typedef struct { void *data; GoInt len; GoInt cap; } GoSlice;
  62.  
  63. #endif
  64.  
  65. /* End of boilerplate cgo prologue.  */
  66.  
  67. #ifdef __cplusplus
  68. extern "C" {
  69. #endif
  70.  
  71.  
  72. extern GoInt Calculator(GoInt p0, GoInt p1);
  73.  
  74. #ifdef __cplusplus
  75. }
  76. #endif
  77.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement