int main()

in ffi/structs/structs_library/structs.c [9:22]


int main()
{
    printf("%s\n", hello_world());
    char* backwards = "backwards";
    printf("%s reversed is %s\n", backwards, reverse(backwards, 9));

    struct Coordinate coord = create_coordinate(3.5, 4.6);
    printf("Coordinate is lat %.2f, long %.2f\n", coord.latitude, coord.longitude);

    struct Place place = create_place("My Home", 42.0, 24.0);
    printf("The name of my place is %s at %.2f, %.2f\n", place.name, place.coordinate.latitude, place.coordinate.longitude);

    return 0;
}