|
Chromium Embedded Framework (CEF)
141.0.5+gfe26daa+chromium-141.0.7390.55
|
Macros | |
| #define | CEF_API_VERSION_EXPERIMENTAL 999999 |
| #define | CEF_API_VERSION_NEXT 999998 |
| #define | CEF_NEXT CEF_API_VERSION_NEXT |
| #define | CEF_EXPERIMENTAL CEF_API_VERSION_EXPERIMENTAL |
| #define | CEF_API_VERSION CEF_API_VERSION_EXPERIMENTAL |
| #define | _CEF_AH_PASTE(a, b) a##_##b |
| #define | _CEF_AH_EVAL(a, b) _CEF_AH_PASTE(a, b) |
| #define | _CEF_AH_DECLARE(version) _CEF_AH_EVAL(CEF_API_HASH, version) |
| #define | CEF_API_HASH_PLATFORM _CEF_AH_DECLARE(CEF_API_VERSION) |
| #define | _CEF_AV_CMP(v, op) (CEF_API_VERSION op v) |
| #define | _CEF_AV_LT(v) _CEF_AV_CMP(v, <) |
| #define | _CEF_AV_GE(v) _CEF_AV_CMP(v, >=) |
| #define | CEF_API_ADDED(v) _CEF_AV_GE(v) |
| API was added in the specified version. More... | |
| #define | CEF_API_REMOVED(v) _CEF_AV_LT(v) |
| API was removed in the specified version. More... | |
| #define | CEF_API_RANGE(va, vr) (_CEF_AV_GE(va) && _CEF_AV_LT(vr)) |
| API exists only in the specified version range. More... | |
Functions | |
| CEF_EXPORT const char * | cef_api_hash (int version, int entry) |
| Configures the CEF API version and returns API hashes for the libcef library. More... | |
| CEF_EXPORT int | cef_api_version () |
| Returns the CEF API version that was configured by the first call to cef_api_hash(). More... | |
| #define _CEF_AH_DECLARE | ( | version | ) | _CEF_AH_EVAL(CEF_API_HASH, version) |
| #define _CEF_AH_EVAL | ( | a, | |
| b | |||
| ) | _CEF_AH_PASTE(a, b) |
| #define _CEF_AH_PASTE | ( | a, | |
| b | |||
| ) | a##_##b |
| #define _CEF_AV_CMP | ( | v, | |
| op | |||
| ) | (CEF_API_VERSION op v) |
| #define _CEF_AV_GE | ( | v | ) | _CEF_AV_CMP(v, >=) |
| #define _CEF_AV_LT | ( | v | ) | _CEF_AV_CMP(v, <) |
| #define CEF_API_ADDED | ( | v | ) | _CEF_AV_GE(v) |
API was added in the specified version.
| #define CEF_API_HASH_PLATFORM _CEF_AH_DECLARE(CEF_API_VERSION) |
| #define CEF_API_RANGE | ( | va, | |
| vr | |||
| ) | (_CEF_AV_GE(va) && _CEF_AV_LT(vr)) |
API exists only in the specified version range.
| #define CEF_API_REMOVED | ( | v | ) | _CEF_AV_LT(v) |
API was removed in the specified version.
| #define CEF_API_VERSION CEF_API_VERSION_EXPERIMENTAL |
| #define CEF_API_VERSION_EXPERIMENTAL 999999 |
| #define CEF_API_VERSION_NEXT 999998 |
| #define CEF_EXPERIMENTAL CEF_API_VERSION_EXPERIMENTAL |
| #define CEF_NEXT CEF_API_VERSION_NEXT |
| CEF_EXPORT const char* cef_api_hash | ( | int | version, |
| int | entry | ||
| ) |
Configures the CEF API version and returns API hashes for the libcef library.
The returned string is owned by the library and should not be freed. The |version| parameter should be CEF_API_VERSION and any changes to this value will be ignored after the first call to this method. The |entry| parameter describes which hash value will be returned:
0 - CEF_API_HASH_PLATFORM 1 - CEF_API_HASH_UNIVERSAL (deprecated, same as CEF_API_HASH_PLATFORM) 2 - CEF_COMMIT_HASH (from cef_version.h)
| CEF_EXPORT int cef_api_version | ( | ) |
Returns the CEF API version that was configured by the first call to cef_api_hash().