mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
libcef:
- change 'void *' arguments to 'void* ' to match style requirements. translator: - add support for const virtual methods. (Issue # 36) - output const vector argument types as 'struct _class_t* const*' (cons array, non-const members) instead of 'const struct _class_t**' (non-const array, const members) (Issue # 36) - always add the 'enum' qualifier when outputting C API enum attribute types. (Issue # 38) - update translated files. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@31 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -729,7 +729,7 @@ public:
|
||||
// Read up to |size| bytes into |bytes| and return the number of bytes
|
||||
// actually read.
|
||||
/*--cef()--*/
|
||||
virtual size_t GetBytes(size_t size, void *bytes) =0;
|
||||
virtual size_t GetBytes(size_t size, void* bytes) =0;
|
||||
};
|
||||
|
||||
|
||||
@ -742,11 +742,11 @@ public:
|
||||
/*--cef()--*/
|
||||
static CefRefPtr<CefStreamReader> CreateForFile(const std::wstring& fileName);
|
||||
/*--cef()--*/
|
||||
static CefRefPtr<CefStreamReader> CreateForData(void *data, size_t size);
|
||||
static CefRefPtr<CefStreamReader> CreateForData(void* data, size_t size);
|
||||
|
||||
// Read raw binary data.
|
||||
/*--cef()--*/
|
||||
virtual size_t Read(void *ptr, size_t size, size_t n) =0;
|
||||
virtual size_t Read(void* ptr, size_t size, size_t n) =0;
|
||||
|
||||
// Seek to the specified offset position. |whence| may be any one of
|
||||
// SEEK_CUR, SEEK_END or SEEK_SET.
|
||||
@ -770,7 +770,7 @@ class CefStreamWriter : public CefBase
|
||||
public:
|
||||
// Write raw binary data.
|
||||
/*--cef()--*/
|
||||
virtual size_t Write(const void *ptr, size_t size, size_t n) =0;
|
||||
virtual size_t Write(const void* ptr, size_t size, size_t n) =0;
|
||||
|
||||
// Seek to the specified offset position. |whence| may be any one of
|
||||
// SEEK_CUR, SEEK_END or SEEK_SET.
|
||||
|
Reference in New Issue
Block a user