generated from koka-community/template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pubspec.yaml
58 lines (54 loc) · 1.1 KB
/
pubspec.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: zlib
environment:
sdk: '>=3.2.0 <4.0.0'
dependencies:
ffi: ^2.0.1
path: ^1.8.0
dev_dependencies:
ffigen:
path: '../native/pkgs/ffigen'
lints: ^2.0.1
ffigen:
name: zlib
ffi-native:
assetId: "c { syslib=\"z\" }\nextern import\n c header-file \"zconf.h\"\nextern import\n c header-file \"zlib.h\""
description: Bindings to `zlib.h`.
output: 'zlib/generated.kk'
headers:
entry-points:
- 'zlib/zlib.h'
- 'zlib/conf.h'
include-directives:
- 'zlib/zlib.h'
- 'zlib/zconf.h'
preamble: |
// Copyright (c) 2024, the Koka-Community authors. All rights reserved.
// Use of this source code is governed by a
// MIT-style license that can be found in the LICENSE file.
functions:
exclude:
- (_)+.*
- gzvprintf
structs:
exclude:
- (_)+.*
- va_list.*
member-rename:
'.*':
'_(.*)': '$1'
dependency-only: opaque
enums:
exclude:
- (_)+.*
unions:
exclude:
- (_)+.*
globals:
exclude:
- (_)+.*
macros:
exclude:
- (_)+.*
typedefs:
exclude:
- (_)+.*