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

@ -1,6 +1,10 @@
#ifndef ARC_MATH_VECTOR2_H_
#define ARC_MATH_VECTOR2_H_
#ifdef __cplusplus
extern "C" {
#endif
typedef struct ARC_Vector2 {
float x, y;
} ARC_Vector2;
@ -9,4 +13,10 @@ typedef struct ARC_DVector2 {
double x, y;
} ARC_DVector2;
void ARC_Vector2_Normalize(ARC_Vector2 *vector);
#ifdef __cplusplus
}
#endif
#endif // ARC_MATH_VECTOR2_H_