|
| 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> |
| 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 | +#line 3 "main.go" |
| 23 | + |
| 24 | +#include "clib.h" |
| 25 | +extern void CallBack(char *c, callback cb); |
| 26 | + |
| 27 | +#line 1 "cgo-generated-wrapper" |
| 28 | + |
| 29 | + |
| 30 | +/* End of preamble from import "C" comments. */ |
| 31 | + |
| 32 | + |
| 33 | +/* Start of boilerplate cgo prologue. */ |
| 34 | +#line 1 "cgo-gcc-export-header-prolog" |
| 35 | + |
| 36 | +#ifndef GO_CGO_PROLOGUE_H |
| 37 | +#define GO_CGO_PROLOGUE_H |
| 38 | + |
| 39 | +typedef signed char GoInt8; |
| 40 | +typedef unsigned char GoUint8; |
| 41 | +typedef short GoInt16; |
| 42 | +typedef unsigned short GoUint16; |
| 43 | +typedef int GoInt32; |
| 44 | +typedef unsigned int GoUint32; |
| 45 | +typedef long long GoInt64; |
| 46 | +typedef unsigned long long GoUint64; |
| 47 | +typedef GoInt64 GoInt; |
| 48 | +typedef GoUint64 GoUint; |
| 49 | +typedef size_t GoUintptr; |
| 50 | +typedef float GoFloat32; |
| 51 | +typedef double GoFloat64; |
| 52 | +#ifdef _MSC_VER |
| 53 | +#include <complex.h> |
| 54 | +typedef _Fcomplex GoComplex64; |
| 55 | +typedef _Dcomplex GoComplex128; |
| 56 | +#else |
| 57 | +typedef float _Complex GoComplex64; |
| 58 | +typedef double _Complex GoComplex128; |
| 59 | +#endif |
| 60 | + |
| 61 | +/* |
| 62 | + static assertion to make sure the file is being used on architecture |
| 63 | + at least with matching size of GoInt. |
| 64 | +*/ |
| 65 | +typedef char _check_for_64_bit_pointer_matching_GoInt[sizeof(void*)==64/8 ? 1:-1]; |
| 66 | + |
| 67 | +#ifndef GO_CGO_GOSTRING_TYPEDEF |
| 68 | +typedef _GoString_ GoString; |
| 69 | +#endif |
| 70 | +typedef void *GoMap; |
| 71 | +typedef void *GoChan; |
| 72 | +typedef struct { void *t; void *v; } GoInterface; |
| 73 | +typedef struct { void *data; GoInt len; GoInt cap; } GoSlice; |
| 74 | + |
| 75 | +#endif |
| 76 | + |
| 77 | +/* End of boilerplate cgo prologue. */ |
| 78 | + |
| 79 | +#ifdef __cplusplus |
| 80 | +extern "C" { |
| 81 | +#endif |
| 82 | + |
| 83 | +extern char* send_request(char* c, char* method, char* params); |
| 84 | +extern char* send_subscribe(char* c, char* method, char* params, void* cb); |
| 85 | + |
| 86 | +#ifdef __cplusplus |
| 87 | +} |
| 88 | +#endif |
0 commit comments