-
Notifications
You must be signed in to change notification settings - Fork 1
/
ffigen.yaml
28 lines (27 loc) · 863 Bytes
/
ffigen.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
name: td_json_client
description: td_json_client.h File Reference.
output: 'tdffi/lib/src/generated/ffi/td_json_client.dart'
# The output: location should be relative to this file or is absolute
headers:
entry-points:
- headers/td_json_client.h
type-map:
'native-types': # Targets native types.
'char':
'lib': 'pkg_ffi' # predefined import.
'c-type': 'Utf8'
'dart-type': 'Utf8'
'int':
'lib': 'ffi'
'c-type': 'Int32'
'dart-type': 'int'
comments:
style: any
preamble: |
//
// Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2022
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// ignore_for_file: camel_case_types, non_constant_identifier_names