-
Notifications
You must be signed in to change notification settings - Fork 20
/
processors_and_generators.yml
31 lines (30 loc) · 1.09 KB
/
processors_and_generators.yml
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
processors:
# Graph-refining processors:
- inheritance
- default_constructor # Create default constructors where possible
- copy_structs # Copy structures as marked
- macros # Support for macro mapping
- functions # Support C-style functions
- operators
- instance_properties # Add property methods for public instance members
- filter_methods # Throw out filtered methods
- auto_container_instantiation
- enums # Add enums
- instantiate_containers # Actually instantiate containers
- qt # Qt specifics
# Preliminary generation processors:
- crystal_wrapper # Create Crystal wrappers
- block_overloads # Add type tags for block overloads
- virtual_override # Allow overriding C++ virtual methods
- cpp_wrapper # Create C++ <-> C wrappers
- crystal_binding # Create `lib` bindings for the C wrapper
- sanity_check # Shows issues, if any
generators:
cpp:
output: "ext/qt_binding_{BINDING_PLATFORM}.cpp"
preamble: |-
#define protected public
#include "converters.hpp"
build: make
crystal:
output: "src/qt5/binding/binding_{BINDING_PLATFORM}.cr"