add new param to board_requestHint

This commit is contained in:
Andy2 2010-07-07 06:49:36 -07:00
parent a7c77785f6
commit 07940099ed
2 changed files with 3 additions and 2 deletions

View file

@ -737,7 +737,7 @@ Java_org_eehouse_android_xw4_jni_XwJNI_board_1resetEngine
JNIEXPORT jboolean JNICALL
Java_org_eehouse_android_xw4_jni_XwJNI_board_1requestHint
( JNIEnv* env, jclass C, jint gamePtr, jboolean useLimits,
jbooleanArray workRemains )
jboolean goBack, jbooleanArray workRemains )
{
jboolean result;
XWJNI_START();
@ -746,7 +746,7 @@ Java_org_eehouse_android_xw4_jni_XwJNI_board_1requestHint
#ifdef XWFEATURE_SEARCHLIMIT
useLimits,
#endif
&tmpbool );
goBack, &tmpbool );
/* If passed need to do workRemains[0] = tmpbool */
if ( workRemains ) {
jboolean jbool = tmpbool;

View file

@ -141,6 +141,7 @@ public class XwJNI {
public static native void board_resetEngine( int gamePtr );
public static native boolean board_requestHint( int gamePtr,
boolean useTileLimits,
boolean goBackwards,
boolean[] workRemains );
public static native boolean board_beginTrade( int gamePtr );