зеркало из https://github.com/mozilla/gecko-dev.git
Added prosdep.h to get strdup prototype. Corrected JSJ_InitJSContext to match its prototype.
This commit is contained in:
Родитель
883907e189
Коммит
129adcc229
|
@ -30,6 +30,7 @@
|
||||||
#include "prtypes.h"
|
#include "prtypes.h"
|
||||||
#include "prassert.h"
|
#include "prassert.h"
|
||||||
#include "prprintf.h"
|
#include "prprintf.h"
|
||||||
|
#include "prosdep.h"
|
||||||
|
|
||||||
#include "jsj_private.h" /* LiveConnect internals */
|
#include "jsj_private.h" /* LiveConnect internals */
|
||||||
#include "jsjava.h" /* LiveConnect external API */
|
#include "jsjava.h" /* LiveConnect external API */
|
||||||
|
@ -398,6 +399,7 @@ JSJ_Init(JSJCallbacks *callbacks)
|
||||||
* and, more importantly, will avoid unnecessary network accesses if classes
|
* and, more importantly, will avoid unnecessary network accesses if classes
|
||||||
* are being loaded over the network.)
|
* are being loaded over the network.)
|
||||||
*/
|
*/
|
||||||
|
JSBool
|
||||||
JSJ_InitJSContext(JSContext *cx, JSObject *global_obj,
|
JSJ_InitJSContext(JSContext *cx, JSObject *global_obj,
|
||||||
JavaPackageDef *predefined_packages)
|
JavaPackageDef *predefined_packages)
|
||||||
{
|
{
|
||||||
|
|
Загрузка…
Ссылка в новой задаче