Skip to content

Commit 11727c8

Browse files
committed
ci: update shared libraries [skip ci]
1 parent e495247 commit 11727c8

6 files changed

+330
-0
lines changed
8.3 MB
Binary file not shown.
Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
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 "publiccode-parser-wrapper.go"
23+
24+
#include <stdint.h>
25+
#include <stdlib.h>
26+
#include <stdbool.h>
27+
28+
struct ParserConfig {
29+
bool DisableNetwork;
30+
bool DisableExternalChecks;
31+
char *Branch;
32+
char *BaseURL;
33+
};
34+
35+
struct ParseResult {
36+
char *Data;
37+
char *Error;
38+
int ErrorCount;
39+
char **Errors;
40+
int WarningCount;
41+
char **Warnings;
42+
};
43+
44+
typedef uintptr_t ParserHandle;
45+
46+
#line 1 "cgo-generated-wrapper"
47+
48+
49+
/* End of preamble from import "C" comments. */
50+
51+
52+
/* Start of boilerplate cgo prologue. */
53+
#line 1 "cgo-gcc-export-header-prolog"
54+
55+
#ifndef GO_CGO_PROLOGUE_H
56+
#define GO_CGO_PROLOGUE_H
57+
58+
typedef signed char GoInt8;
59+
typedef unsigned char GoUint8;
60+
typedef short GoInt16;
61+
typedef unsigned short GoUint16;
62+
typedef int GoInt32;
63+
typedef unsigned int GoUint32;
64+
typedef long long GoInt64;
65+
typedef unsigned long long GoUint64;
66+
typedef GoInt64 GoInt;
67+
typedef GoUint64 GoUint;
68+
typedef size_t GoUintptr;
69+
typedef float GoFloat32;
70+
typedef double GoFloat64;
71+
#ifdef _MSC_VER
72+
#include <complex.h>
73+
typedef _Fcomplex GoComplex64;
74+
typedef _Dcomplex GoComplex128;
75+
#else
76+
typedef float _Complex GoComplex64;
77+
typedef double _Complex GoComplex128;
78+
#endif
79+
80+
/*
81+
static assertion to make sure the file is being used on architecture
82+
at least with matching size of GoInt.
83+
*/
84+
typedef char _check_for_64_bit_pointer_matching_GoInt[sizeof(void*)==64/8 ? 1:-1];
85+
86+
#ifndef GO_CGO_GOSTRING_TYPEDEF
87+
typedef _GoString_ GoString;
88+
#endif
89+
typedef void *GoMap;
90+
typedef void *GoChan;
91+
typedef struct { void *t; void *v; } GoInterface;
92+
typedef struct { void *data; GoInt len; GoInt cap; } GoSlice;
93+
94+
#endif
95+
96+
/* End of boilerplate cgo prologue. */
97+
98+
#ifdef __cplusplus
99+
extern "C" {
100+
#endif
101+
102+
extern ParserHandle NewParser(_Bool disableNetwork, _Bool disableExternalChecks, char* branch, char* baseURL);
103+
extern struct ParseResult* ParseFile(ParserHandle handle, char* uri);
104+
extern struct ParseResult* ParseString(ParserHandle handle, char* content);
105+
extern void FreeResult(struct ParseResult* result);
106+
extern void FreeParser(ParserHandle handle);
107+
108+
#ifdef __cplusplus
109+
}
110+
#endif
Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
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 "publiccode-parser-wrapper.go"
23+
24+
#include <stdint.h>
25+
#include <stdlib.h>
26+
#include <stdbool.h>
27+
28+
struct ParserConfig {
29+
bool DisableNetwork;
30+
bool DisableExternalChecks;
31+
char *Branch;
32+
char *BaseURL;
33+
};
34+
35+
struct ParseResult {
36+
char *Data;
37+
char *Error;
38+
int ErrorCount;
39+
char **Errors;
40+
int WarningCount;
41+
char **Warnings;
42+
};
43+
44+
typedef uintptr_t ParserHandle;
45+
46+
#line 1 "cgo-generated-wrapper"
47+
48+
49+
/* End of preamble from import "C" comments. */
50+
51+
52+
/* Start of boilerplate cgo prologue. */
53+
#line 1 "cgo-gcc-export-header-prolog"
54+
55+
#ifndef GO_CGO_PROLOGUE_H
56+
#define GO_CGO_PROLOGUE_H
57+
58+
typedef signed char GoInt8;
59+
typedef unsigned char GoUint8;
60+
typedef short GoInt16;
61+
typedef unsigned short GoUint16;
62+
typedef int GoInt32;
63+
typedef unsigned int GoUint32;
64+
typedef long long GoInt64;
65+
typedef unsigned long long GoUint64;
66+
typedef GoInt64 GoInt;
67+
typedef GoUint64 GoUint;
68+
typedef size_t GoUintptr;
69+
typedef float GoFloat32;
70+
typedef double GoFloat64;
71+
#ifdef _MSC_VER
72+
#include <complex.h>
73+
typedef _Fcomplex GoComplex64;
74+
typedef _Dcomplex GoComplex128;
75+
#else
76+
typedef float _Complex GoComplex64;
77+
typedef double _Complex GoComplex128;
78+
#endif
79+
80+
/*
81+
static assertion to make sure the file is being used on architecture
82+
at least with matching size of GoInt.
83+
*/
84+
typedef char _check_for_64_bit_pointer_matching_GoInt[sizeof(void*)==64/8 ? 1:-1];
85+
86+
#ifndef GO_CGO_GOSTRING_TYPEDEF
87+
typedef _GoString_ GoString;
88+
#endif
89+
typedef void *GoMap;
90+
typedef void *GoChan;
91+
typedef struct { void *t; void *v; } GoInterface;
92+
typedef struct { void *data; GoInt len; GoInt cap; } GoSlice;
93+
94+
#endif
95+
96+
/* End of boilerplate cgo prologue. */
97+
98+
#ifdef __cplusplus
99+
extern "C" {
100+
#endif
101+
102+
extern ParserHandle NewParser(_Bool disableNetwork, _Bool disableExternalChecks, char* branch, char* baseURL);
103+
extern struct ParseResult* ParseFile(ParserHandle handle, char* uri);
104+
extern struct ParseResult* ParseString(ParserHandle handle, char* content);
105+
extern void FreeResult(struct ParseResult* result);
106+
extern void FreeParser(ParserHandle handle);
107+
108+
#ifdef __cplusplus
109+
}
110+
#endif
12.3 MB
Binary file not shown.
Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
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 "publiccode-parser-wrapper.go"
23+
24+
#include <stdint.h>
25+
#include <stdlib.h>
26+
#include <stdbool.h>
27+
28+
struct ParserConfig {
29+
bool DisableNetwork;
30+
bool DisableExternalChecks;
31+
char *Branch;
32+
char *BaseURL;
33+
};
34+
35+
struct ParseResult {
36+
char *Data;
37+
char *Error;
38+
int ErrorCount;
39+
char **Errors;
40+
int WarningCount;
41+
char **Warnings;
42+
};
43+
44+
typedef uintptr_t ParserHandle;
45+
46+
#line 1 "cgo-generated-wrapper"
47+
48+
49+
/* End of preamble from import "C" comments. */
50+
51+
52+
/* Start of boilerplate cgo prologue. */
53+
#line 1 "cgo-gcc-export-header-prolog"
54+
55+
#ifndef GO_CGO_PROLOGUE_H
56+
#define GO_CGO_PROLOGUE_H
57+
58+
typedef signed char GoInt8;
59+
typedef unsigned char GoUint8;
60+
typedef short GoInt16;
61+
typedef unsigned short GoUint16;
62+
typedef int GoInt32;
63+
typedef unsigned int GoUint32;
64+
typedef long long GoInt64;
65+
typedef unsigned long long GoUint64;
66+
typedef GoInt64 GoInt;
67+
typedef GoUint64 GoUint;
68+
typedef size_t GoUintptr;
69+
typedef float GoFloat32;
70+
typedef double GoFloat64;
71+
#ifdef _MSC_VER
72+
#include <complex.h>
73+
typedef _Fcomplex GoComplex64;
74+
typedef _Dcomplex GoComplex128;
75+
#else
76+
typedef float _Complex GoComplex64;
77+
typedef double _Complex GoComplex128;
78+
#endif
79+
80+
/*
81+
static assertion to make sure the file is being used on architecture
82+
at least with matching size of GoInt.
83+
*/
84+
typedef char _check_for_64_bit_pointer_matching_GoInt[sizeof(void*)==64/8 ? 1:-1];
85+
86+
#ifndef GO_CGO_GOSTRING_TYPEDEF
87+
typedef _GoString_ GoString;
88+
#endif
89+
typedef void *GoMap;
90+
typedef void *GoChan;
91+
typedef struct { void *t; void *v; } GoInterface;
92+
typedef struct { void *data; GoInt len; GoInt cap; } GoSlice;
93+
94+
#endif
95+
96+
/* End of boilerplate cgo prologue. */
97+
98+
#ifdef __cplusplus
99+
extern "C" {
100+
#endif
101+
102+
extern ParserHandle NewParser(_Bool disableNetwork, _Bool disableExternalChecks, char* branch, char* baseURL);
103+
extern struct ParseResult* ParseFile(ParserHandle handle, char* uri);
104+
extern struct ParseResult* ParseString(ParserHandle handle, char* content);
105+
extern void FreeResult(struct ParseResult* result);
106+
extern void FreeParser(ParserHandle handle);
107+
108+
#ifdef __cplusplus
109+
}
110+
#endif
11.7 MB
Binary file not shown.

0 commit comments

Comments
 (0)