Files
cbindgen/tests/expectations/std_lib.c
T
Ingvar Stepanyan f0bef30daa Simplify opaque struct output in C
There is no need for a separate forward struct declaration, just like in case with regular structures.
2017-11-16 23:26:07 -06:00

12 lines
277 B
C

#include <stdint.h>
#include <stdlib.h>
#include <stdbool.h>
typedef struct Option_i32 Option_i32;
typedef struct Result_i32__String Result_i32__String;
typedef struct Vec_String Vec_String;
void root(const Vec_String *a, const Option_i32 *b, const Result_i32__String *c);