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:
@ -74,7 +74,7 @@ struct _cef_urlrequest_client_t* CEF_CALLBACK urlrequest_get_client(
|
||||
return CefURLRequestClientCToCpp::Unwrap(_retval);
|
||||
}
|
||||
|
||||
enum cef_urlrequest_status_t CEF_CALLBACK urlrequest_get_request_status(
|
||||
cef_urlrequest_status_t CEF_CALLBACK urlrequest_get_request_status(
|
||||
struct _cef_urlrequest_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
@ -90,7 +90,7 @@ enum cef_urlrequest_status_t CEF_CALLBACK urlrequest_get_request_status(
|
||||
return _retval;
|
||||
}
|
||||
|
||||
enum cef_errorcode_t CEF_CALLBACK urlrequest_get_request_error(
|
||||
cef_errorcode_t CEF_CALLBACK urlrequest_get_request_error(
|
||||
struct _cef_urlrequest_t* self) {
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
|
Reference in New Issue
Block a user