You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Report CEF API hash and version from CEF's cef_api_hash.h macros
GetVersion() previously reported the API hash from values that
cmake_prepare_pyx.py parsed out of CEF's generated cef_api_versions.h and
prepended to the module as __cef_api_hash_*__. Read the hash from CEF's
CEF_API_HASH_PLATFORM macro directly instead, via the new
src/extern/cef/cef_api_hash.pxd, so the compiler supplies the value for
whatever API version the module is built against. CEF_API_HASH_UNIVERSAL is
deprecated and equal to the platform hash, so both keys report the same value.
Also expose the compiled CEF_API_VERSION as cef_api_version in GetVersion().
Remove the now-unused header parsing (get_cef_api_hash / get_host_os_macro)
and the --cef-api-versions-header build plumbing from cmake_prepare_pyx.py
and CMakeLists.txt.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments