-
Notifications
You must be signed in to change notification settings - Fork 131
Expand file tree
/
Copy pathffigen_runtime.yaml
More file actions
71 lines (69 loc) · 2.12 KB
/
Copy pathffigen_runtime.yaml
File metadata and controls
71 lines (69 loc) · 2.12 KB
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
59
60
61
62
63
64
65
66
67
68
69
70
71
# Generate bindings for the ObjC runtime headers.
# Regenerate bindings with `dart run tool/generate_code.dart`.
name: RuntimeBindings
output: 'lib/src/runtime_bindings_generated.dart'
headers:
entry-points:
- 'src/objective_c_runtime.h'
ffi-native:
exclude-all-by-default: true
generate-for-package-objective-c: true
sort: true
functions:
include:
- 'objc_.*'
- 'object_getClass'
- 'sel_registerName'
- 'sel_getName'
- 'protocol_getMethodDescription'
- 'protocol_getName'
leaf:
include:
- '.*'
exclude:
- 'objc_msgSend.*'
rename:
'sel_registerName': 'registerName'
'sel_getName': 'getName'
'objc_getClass': 'getClass'
'objc_retain': 'objectRetain'
'objc_retainBlock': 'blockRetain'
'objc_release': 'objectRelease'
'objc_autorelease': 'objectAutorelease'
'objc_msgSend': 'msgSend'
'objc_msgSend_fpret': 'msgSendFpret'
'objc_msgSend_stret': 'msgSendStret'
'object_getClass': 'getObjectClass'
'objc_copyClassList': 'copyClassList'
'objc_getProtocol': 'getProtocol'
'objc_autoreleasePoolPush': 'autoreleasePoolPush'
'objc_autoreleasePoolPop': 'autoreleasePoolPop'
'protocol_getMethodDescription': 'getMethodDescription'
'protocol_getName': 'getProtocolName'
globals:
include:
- '_NSConcrete.*Block'
- NSKeyValueChangeIndexesKey
- NSKeyValueChangeKindKey
- NSKeyValueChangeNewKey
- NSKeyValueChangeNotificationIsPriorKey
- NSKeyValueChangeOldKey
- NSLocalizedDescriptionKey
rename:
'_(.*)': '$1'
structs:
include:
- '_ObjC.*'
rename:
'_ObjC(.*)': 'ObjC$1'
preamble: |
// Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// Bindings for `src/objective_c_runtime.h`.
// Regenerate bindings with `dart run tool/generate_code.dart`.
// ignore_for_file: always_specify_types
// ignore_for_file: camel_case_types
// ignore_for_file: non_constant_identifier_names
// ignore_for_file: unused_element
// coverage:ignore-file