.cargo/vendor/cbindgen/tests/expectations/monomorph_2.c
raw| 1 | #include <stdarg.h> |
| 2 | #include <stdbool.h> |
| 3 | #include <stdint.h> |
| 4 | #include <stdlib.h> |
| 5 | |
| 6 | typedef struct A A; |
| 7 | |
| 8 | typedef struct B B; |
| 9 | |
| 10 | typedef struct { |
| 11 | A *members; |
| 12 | uintptr_t count; |
| 13 | } List_A; |
| 14 | |
| 15 | typedef struct { |
| 16 | B *members; |
| 17 | uintptr_t count; |
| 18 | } List_B; |
| 19 | |
| 20 | void foo(List_A a); |
| 21 | |
| 22 | void bar(List_B b); |