added extern c to most files

This commit is contained in:
herbglitch 2023-01-30 23:22:34 -07:00
parent b024e8d5c1
commit 5badf331fd
7 changed files with 40 additions and 6 deletions

View file

@ -3,6 +3,10 @@
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct ARC_Rect {
int32_t x;
int32_t y;
@ -21,4 +25,8 @@ int32_t ARC_Rect_Intersects(ARC_Rect *rect1, ARC_Rect *rect2);
int32_t ARC_Rect_LineIntersects(ARC_Rect *rect, int32_t *x1, int32_t *y1, int32_t *x2, int32_t *y2);
#ifdef __cplusplus
}
#endif
#endif // ARC_MATH_POINT_H_