浏览代码

[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>
pull/3986/head
Jeffery Myers 11 个月前
committed by GitHub
父节点
当前提交
f26bfa0c8e
找不到此签名对应的密钥 GPG 密钥 ID: B5690EEEBB952194
共有 1 个文件被更改,包括 0 次插入7 次删除
  1. +0
    -7
      src/raymath.h

+ 0
- 7
src/raymath.h 查看文件

@ -78,10 +78,6 @@
#endif #endif
#if defined(__cplusplus)
extern "C" { // Prevents name mangling of functions
#endif
//---------------------------------------------------------------------------------- //----------------------------------------------------------------------------------
// Defines and Macros // Defines and Macros
//---------------------------------------------------------------------------------- //----------------------------------------------------------------------------------
@ -2528,8 +2524,5 @@ RMAPI int QuaternionEquals(Quaternion p, Quaternion q)
return result; return result;
} }
#if defined(__cplusplus)
}
#endif
#endif // RAYMATH_H #endif // RAYMATH_H

正在加载...
取消
保存