Skip to content

Commit c8be96d

Browse files
committed
Minor types cleanup for API gen (see #3836)
1 parent e902b1f commit c8be96d

File tree

3 files changed

+38
-25
lines changed

3 files changed

+38
-25
lines changed

Diff for: cef_api_versions.json

+25-25
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,39 @@
11
{
22
"hashes": {
33
"13300": {
4-
"comment": "Added January 13, 2025.",
5-
"linux": "b622b5e8d42567bd96b6c530c3bf39b42d94c97a",
6-
"mac": "10daecda70220382f54f8b1fc3b2d1df7da3088c",
7-
"universal": "a5c9449c676e3d151ac2d141bd3907dcd1fec3d4",
8-
"windows": "854c5a8fc37bb040ad0ad8e4680f62b07ec217c0"
4+
"comment": "Added February 17, 2025.",
5+
"linux": "87d31692cf1ff1f0f2445dd026dcc0aeb02c5786",
6+
"mac": "3891d2358697f15e046afc65fefd7019d888817a",
7+
"universal": "c1a7d47be6fc130795366a1627573aa8eba1106f",
8+
"windows": "0efb201c9e981c4513aeea04f9f2f8041ee9ce1f"
99
},
1010
"13301": {
11-
"comment": "Added January 13, 2025.",
12-
"linux": "0ec77d8bc98964aaf2c4ac037dbbe47f59863902",
13-
"mac": "65b51b1dfde1ab0af99d98e1e8b6aadf5bc28707",
14-
"universal": "e343550e4371b76f59813dac2742a9d3206cb98f",
15-
"windows": "34b14819172ed39721a3fe298cf73dec7b6e7df2"
11+
"comment": "Added February 17, 2025.",
12+
"linux": "747f624e5059839e6a7d385de7997d45bbd42184",
13+
"mac": "d3ec7d79adbde067590ab1bfff1f30dd8b06546a",
14+
"universal": "892e654249acc7360f8aca4ee77da896753b87b8",
15+
"windows": "cf9fbb7aa6778fedce78b8557044f219f2b5ba0b"
1616
},
1717
"13302": {
18-
"comment": "Added January 13, 2025.",
19-
"linux": "e98affe8187daaa1ee02b01677208ff0a54af74c",
20-
"mac": "45a0649980f85c53a6156627f0af6368ccfc5554",
21-
"universal": "b8423655541f6f2a1a9b6f5252f03e59842dc31a",
22-
"windows": "b04c40f0d79e2ea6f6a4d508843b9eaafb102c1e"
18+
"comment": "Added February 17, 2025.",
19+
"linux": "ae4ab1c52ad951d37e6397db9f4e0ab0ce5044cf",
20+
"mac": "cfe09351db37aa275613c27145fe622d9c28d4cc",
21+
"universal": "acab8df1244923f1f80b18214e73c276a553ded6",
22+
"windows": "c4b5a65478bc1a679f4a47ba5ff6899e5c3d8761"
2323
},
2424
"13303": {
25-
"comment": "Added January 13, 2025.",
26-
"linux": "1b2584e9f06dc0cb59ccceee89857fc164d4db52",
27-
"mac": "82d74e5024ed80b43d49d7e83b0e8a3a42a0b319",
28-
"universal": "a0905ba86f2c4964857f6c9c0706ab3e1050a8cd",
29-
"windows": "bc115a66808672931cf676ce31d58ded946f680e"
25+
"comment": "Added February 17, 2025.",
26+
"linux": "2683698b779f11bba19f4051e3760fe327a1c8b2",
27+
"mac": "8085a0f62f15946343c63788300e5c2b422b3301",
28+
"universal": "128210b71e3f621cb6d2c4b05c6d0408a4547f2f",
29+
"windows": "5a22d42c3e6294eb4ee2424053eebdeae3027899"
3030
},
3131
"13304": {
32-
"comment": "Added January 13, 2025.",
33-
"linux": "199fe896c737a07dcf1506e0c86688363df7e8b6",
34-
"mac": "405810f1f8b146678867b6a91cbe8c4670febbbf",
35-
"universal": "be55f7cf1813ae098d4f68b2a2c9ca85784fc3ee",
36-
"windows": "73bb28a92f4be742e3fc80057a80797e3bf23063"
32+
"comment": "Added February 17, 2025.",
33+
"linux": "c709233cd071e0d715eb10ceec4c5aea805df997",
34+
"mac": "32af7e8f8828b04cf2908de9857940faa54deb8a",
35+
"universal": "131b720865dd5c54c72041c0fbfb7c9bbfee8e0b",
36+
"windows": "979b48138012378192dac7ee972fa731e9c0dae9"
3737
}
3838
},
3939
"last": "13304",

Diff for: include/internal/cef_types.h

+2
Original file line numberDiff line numberDiff line change
@@ -993,9 +993,11 @@ typedef enum {
993993
// No error.
994994
ERR_NONE = 0,
995995

996+
#if !defined(GENERATING_CEF_API_HASH)
996997
#define NET_ERROR(label, value) ERR_##label = value,
997998
#include "include/base/internal/cef_net_error_list.h"
998999
#undef NET_ERROR
1000+
#endif
9991001

10001002
} cef_errorcode_t;
10011003

Diff for: include/internal/cef_types_osr.h

+11
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,15 @@
3131
#define CEF_INCLUDE_INTERNAL_CEF_TYPES_OSR_H_
3232
#pragma once
3333

34+
#include <stddef.h>
35+
#include <stdint.h>
36+
3437
#include "include/internal/cef_types_geometry.h"
3538

39+
#ifdef __cplusplus
40+
extern "C" {
41+
#endif
42+
3643
///
3744
/// Structure containing shared texture common metadata.
3845
/// For documentation on each field, please refer to
@@ -107,4 +114,8 @@ typedef struct _cef_accelerated_paint_info_common_t {
107114

108115
} cef_accelerated_paint_info_common_t;
109116

117+
#ifdef __cplusplus
118+
}
119+
#endif
120+
110121
#endif // CEF_INCLUDE_INTERNAL_CEF_TYPES_OSR_H_

0 commit comments

Comments
 (0)