Skip to content

Commit f26bfa0

Browse files
[RAYMATH] Revert Extern 'C' in raymath (#3985)
* Update raylib_api.* by CI * Remove Extern C for raymath, it breaks some cases in mingw-w64 and does not fix any warning issues. --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent d6b22b1 commit f26bfa0

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/raymath.h

-7
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,6 @@
7878
#endif
7979

8080

81-
#if defined(__cplusplus)
82-
extern "C" { // Prevents name mangling of functions
83-
#endif
84-
8581
//----------------------------------------------------------------------------------
8682
// Defines and Macros
8783
//----------------------------------------------------------------------------------
@@ -2528,8 +2524,5 @@ RMAPI int QuaternionEquals(Quaternion p, Quaternion q)
25282524

25292525
return result;
25302526
}
2531-
#if defined(__cplusplus)
2532-
}
2533-
#endif
25342527

25352528
#endif // RAYMATH_H

0 commit comments

Comments
 (0)