зеркало из https://github.com/mozilla/gecko-dev.git
Added extern "C" for XP_ReBuffer().
This commit is contained in:
Родитель
72e2b91079
Коммит
2a5a031f06
|
@ -13,7 +13,7 @@ extern "C" XP_Bool ValidateDocData(MWContext *window_id)
|
|||
}
|
||||
|
||||
/* dist/public/xp/xp_linebuf.h */
|
||||
int XP_ReBuffer (const char *net_buffer, int32 net_buffer_size,
|
||||
extern "C" int XP_ReBuffer (const char *net_buffer, int32 net_buffer_size,
|
||||
uint32 desired_buffer_size,
|
||||
char **bufferP, uint32 *buffer_sizeP,
|
||||
uint32 *buffer_fpP,
|
||||
|
|
|
@ -17,7 +17,7 @@ extern "C" XP_Bool ValidateDocData(MWContext *window_id)
|
|||
}
|
||||
|
||||
/* dist/public/xp/xp_linebuf.h */
|
||||
int XP_ReBuffer (const char *net_buffer, int32 net_buffer_size,
|
||||
extern "C" int XP_ReBuffer (const char *net_buffer, int32 net_buffer_size,
|
||||
uint32 desired_buffer_size,
|
||||
char **bufferP, uint32 *buffer_sizeP,
|
||||
uint32 *buffer_fpP,
|
||||
|
|
Загрузка…
Ссылка в новой задаче