cbindgen/tests/expectations/monomorph_2.compat.c
2020-10-31 17:01:44 +01:00

31 lines
400 B
C

#include <stdarg.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
typedef struct A A;
typedef struct B B;
typedef struct {
A *members;
uintptr_t count;
} List_A;
typedef struct {
B *members;
uintptr_t count;
} List_B;
#ifdef __cplusplus
extern "C" {
#endif // __cplusplus
void foo(List_A a);
void bar(List_B b);
#ifdef __cplusplus
} // extern "C"
#endif // __cplusplus