mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 10:43:24 +00:00
[not part of build] use correct calling conventions when OJI is #defined.
This commit is contained in:
parent
4162a5ee8e
commit
99009db752
@ -58,7 +58,12 @@ default_map_js_context_to_jsj_thread(JSContext *cx, char **errp)
|
||||
|
||||
/* Trivial implementation of callback function */
|
||||
static JSContext *
|
||||
default_map_jsj_thread_to_js_context(JSJavaThreadState *jsj_env, JNIEnv *jEnv, char **errp)
|
||||
default_map_jsj_thread_to_js_context(JSJavaThreadState *jsj_env,
|
||||
#ifdef OJI
|
||||
void *java_applet_obj,
|
||||
#endif
|
||||
JNIEnv *jEnv,
|
||||
char **errp)
|
||||
{
|
||||
return the_cx;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user