mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Fix C compiler errors when using the C API (issue #1165).
- Replace 'bool' with 'int' in cef_types[_*].h. - Typedef enums in cef_types.h - Add includes and struct forward declarations in C API header files. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1558 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -405,7 +405,7 @@ int CEF_CALLBACK menu_model_set_label_at(struct _cef_menu_model_t* self,
|
||||
return _retval;
|
||||
}
|
||||
|
||||
enum cef_menu_item_type_t CEF_CALLBACK menu_model_get_type(
|
||||
cef_menu_item_type_t CEF_CALLBACK menu_model_get_type(
|
||||
struct _cef_menu_model_t* self, int command_id) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@ -421,7 +421,7 @@ enum cef_menu_item_type_t CEF_CALLBACK menu_model_get_type(
|
||||
return _retval;
|
||||
}
|
||||
|
||||
enum cef_menu_item_type_t CEF_CALLBACK menu_model_get_type_at(
|
||||
cef_menu_item_type_t CEF_CALLBACK menu_model_get_type_at(
|
||||
struct _cef_menu_model_t* self, int index) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
|
Reference in New Issue
Block a user