summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJeffery Myers <[email protected]>2024-05-15 22:42:52 -0700
committerGitHub <[email protected]>2024-05-16 07:42:52 +0200
commitf26bfa0c8efcf81559c2ba225e79778b1542d60f (patch)
tree927e4bd9ea4d184564cf4ba9700ab69f78510470
parentd6b22b17aecd2346d4fd1fc8ebaea8212e40008f (diff)
downloadraylib-f26bfa0c8efcf81559c2ba225e79778b1542d60f.tar.gz
raylib-f26bfa0c8efcf81559c2ba225e79778b1542d60f.zip
[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>
-rw-r--r--src/raymath.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/raymath.h b/src/raymath.h
index 7a2f0929..d036721a 100644
--- a/src/raymath.h
+++ b/src/raymath.h
@@ -78,10 +78,6 @@
#endif
-#if defined(__cplusplus)
-extern "C" { // Prevents name mangling of functions
-#endif
-
//----------------------------------------------------------------------------------
// Defines and Macros
//----------------------------------------------------------------------------------
@@ -2528,8 +2524,5 @@ RMAPI int QuaternionEquals(Quaternion p, Quaternion q)
return result;
}
-#if defined(__cplusplus)
-}
-#endif
#endif // RAYMATH_H