Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix for Issue1896 Coordinate_t #1989

Merged
merged 2 commits into from
Jul 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/c_common/coordinates_input.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
/* for size-t */
#include <stddef.h>

#include "c_types/coordinate_t.h"
typedef struct Coordinate_t Coordinate_t;

/*!
bigint id,
Expand Down
4 changes: 2 additions & 2 deletions include/c_types/coordinate_t.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# include <stdint.h>
#endif

typedef struct {
struct Coordinate_t {
int64_t id;
double x;
double y;
} Coordinate_t;
};

#endif // INCLUDE_C_TYPES_COORDINATE_T_H_
2 changes: 1 addition & 1 deletion src/common/coordinates_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#include "c_common/coordinates_input.h"

#include "c_types/column_info_t.h"

#include "c_types/coordinate_t.h"
#include "c_common/debug_macro.h"
#include "c_common/get_check_data.h"
#include "c_common/time_msg.h"
Expand Down