no-code-change cleanup: star next to type not name

This commit is contained in:
Eric House 2020-09-13 14:34:47 -07:00
parent 36cc6cc9d6
commit 3f6e1a8721
5 changed files with 28 additions and 28 deletions

View file

@ -285,7 +285,7 @@ and_dictionary_make_empty( MPFORMAL JNIUtilCtxt* jniutil )
}
void
makeDicts( MPFORMAL JNIEnv *env,
makeDicts( MPFORMAL JNIEnv* env,
#ifdef MAP_THREAD_TO_ENV
EnvThreadInfo* ti,
#endif
@ -322,7 +322,7 @@ makeDicts( MPFORMAL JNIEnv *env,
}
DictionaryCtxt*
makeDict( MPFORMAL JNIEnv *env,
makeDict( MPFORMAL JNIEnv* env,
#ifdef MAP_THREAD_TO_ENV
EnvThreadInfo* ti,
#endif

View file

@ -30,7 +30,7 @@ void
dict_splitFaces( DictionaryCtxt* dict, XWEnv xwe, const XP_U8* bytes,
XP_U16 nBytes, XP_U16 nFaces );
DictionaryCtxt* makeDict( MPFORMAL JNIEnv *env,
DictionaryCtxt* makeDict( MPFORMAL JNIEnv* env,
#ifdef MAP_THREAD_TO_ENV
EnvThreadInfo* ti,
#endif
@ -38,7 +38,7 @@ DictionaryCtxt* makeDict( MPFORMAL JNIEnv *env,
jstring jname, jbyteArray bytes,
jstring path, jstring jlang, jboolean check );
void makeDicts( MPFORMAL JNIEnv *env,
void makeDicts( MPFORMAL JNIEnv* env,
#ifdef MAP_THREAD_TO_ENV
EnvThreadInfo* ti,
#endif

View file

@ -314,7 +314,7 @@ getBools( JNIEnv* env, void* cobj, jobject jobj, const SetInfo* sis, XP_U16 nSis
}
jintArray
makeIntArray( JNIEnv *env, int count, const void* vals, size_t elemSize )
makeIntArray( JNIEnv* env, int count, const void* vals, size_t elemSize )
{
jintArray array = (*env)->NewIntArray( env, count );
XP_ASSERT( !!array );
@ -344,7 +344,7 @@ makeIntArray( JNIEnv *env, int count, const void* vals, size_t elemSize )
}
void
setIntArray( JNIEnv *env, jobject jowner, const char* fieldName,
setIntArray( JNIEnv* env, jobject jowner, const char* fieldName,
int count, const void* vals, size_t elemSize )
{
jintArray jarr = makeIntArray( env, count, vals, elemSize );
@ -353,7 +353,7 @@ setIntArray( JNIEnv *env, jobject jowner, const char* fieldName,
}
jbyteArray
makeByteArray( JNIEnv *env, int siz, const jbyte* vals )
makeByteArray( JNIEnv* env, int siz, const jbyte* vals )
{
jbyteArray array = (*env)->NewByteArray( env, siz );
XP_ASSERT( !!array );
@ -367,7 +367,7 @@ makeByteArray( JNIEnv *env, int siz, const jbyte* vals )
}
jbyteArray
streamToBArray( JNIEnv *env, XWStreamCtxt* stream )
streamToBArray( JNIEnv* env, XWStreamCtxt* stream )
{
int nBytes = stream_getSize( stream );
jbyteArray result = (*env)->NewByteArray( env, nBytes );
@ -388,7 +388,7 @@ setBoolArray( JNIEnv* env, jbooleanArray jarr, int count,
}
jbooleanArray
makeBooleanArray( JNIEnv *env, int siz, const jboolean* vals )
makeBooleanArray( JNIEnv* env, int siz, const jboolean* vals )
{
jbooleanArray array = (*env)->NewBooleanArray( env, siz );
XP_ASSERT( !!array );
@ -424,7 +424,7 @@ setIntInArray( JNIEnv* env, jintArray arr, int index, int val )
}
jobjectArray
makeStringArray( JNIEnv *env, const int count, const XP_UCHAR** vals )
makeStringArray( JNIEnv* env, const int count, const XP_UCHAR** vals )
{
jobjectArray jarray;
{
@ -444,7 +444,7 @@ makeStringArray( JNIEnv *env, const int count, const XP_UCHAR** vals )
}
void
setStringArray( JNIEnv *env, jobject jowner, const char* ownerField,
setStringArray( JNIEnv* env, jobject jowner, const char* ownerField,
int count, const XP_UCHAR** vals )
{
jobjectArray jaddrs = makeStringArray( env, count, vals );
@ -453,7 +453,7 @@ setStringArray( JNIEnv *env, jobject jowner, const char* ownerField,
}
jobjectArray
makeByteArrayArray( JNIEnv *env, int siz )
makeByteArrayArray( JNIEnv* env, int siz )
{
jclass clas = (*env)->FindClass( env, "[B" );
jobjectArray result = (*env)->NewObjectArray( env, siz, clas, NULL );
@ -462,7 +462,7 @@ makeByteArrayArray( JNIEnv *env, int siz )
}
jstring
streamToJString( JNIEnv *env, XWStreamCtxt* stream )
streamToJString( JNIEnv* env, XWStreamCtxt* stream )
{
int len = stream_getSize( stream );
XP_UCHAR buf[1 + len];

View file

@ -68,25 +68,25 @@ void setObject( JNIEnv* env, jobject obj, const char* name, const char* sig,
bool getObject( JNIEnv* env, jobject obj, const char* name, const char* sig,
jobject* ret );
jintArray makeIntArray( JNIEnv *env, int size, const void* vals, size_t elemSize );
void setIntArray( JNIEnv *env, jobject jowner, const char* ownerField,
jintArray makeIntArray( JNIEnv* env, int size, const void* vals, size_t elemSize );
void setIntArray( JNIEnv* env, jobject jowner, const char* ownerField,
int count, const void* vals, size_t elemSize );
void getIntsFromArray( JNIEnv* env, int dest[], jintArray arr, int count, bool del );
void setIntInArray( JNIEnv* env, jintArray arr, int index, int val );
jbyteArray makeByteArray( JNIEnv* env, int size, const jbyte* vals );
jobjectArray makeByteArrayArray( JNIEnv *env, int siz );
jobjectArray makeByteArrayArray( JNIEnv* env, int siz );
jbooleanArray makeBooleanArray( JNIEnv* env, int size, const jboolean* vals );
void setBoolArray( JNIEnv* env, jbooleanArray jarr, int count,
const jboolean* vals );
jobjectArray makeStringArray( JNIEnv *env, int size, const XP_UCHAR** vals );
void setStringArray( JNIEnv *env, jobject jowner, const char* ownerField,
jobjectArray makeStringArray( JNIEnv* env, int size, const XP_UCHAR** vals );
void setStringArray( JNIEnv* env, jobject jowner, const char* ownerField,
int count, const XP_UCHAR** vals );
jstring streamToJString( JNIEnv* env, XWStreamCtxt* stream );
jbyteArray streamToBArray( JNIEnv *env, XWStreamCtxt* stream );
jbyteArray streamToBArray( JNIEnv* env, XWStreamCtxt* stream );
/* Note: jmethodID can be cached. Should not look up more than once. */
jmethodID getMethodID( JNIEnv* env, jobject obj, const char* proc,

View file

@ -1454,7 +1454,7 @@ Java_org_eehouse_android_xw4_jni_XwJNI_board_1setDraw
JNIEXPORT void JNICALL
Java_org_eehouse_android_xw4_jni_XwJNI_board_1invalAll
( JNIEnv *env, jclass C, GamePtrType gamePtr )
( JNIEnv* env, jclass C, GamePtrType gamePtr )
{
XWJNI_START();
board_invalAll( state->game.board );
@ -1463,7 +1463,7 @@ Java_org_eehouse_android_xw4_jni_XwJNI_board_1invalAll
JNIEXPORT jboolean JNICALL
Java_org_eehouse_android_xw4_jni_XwJNI_board_1draw
( JNIEnv *env, jclass C, GamePtrType gamePtr )
( JNIEnv* env, jclass C, GamePtrType gamePtr )
{
jboolean result;
XWJNI_START();
@ -1474,7 +1474,7 @@ Java_org_eehouse_android_xw4_jni_XwJNI_board_1draw
JNIEXPORT void JNICALL
Java_org_eehouse_android_xw4_jni_XwJNI_board_1drawSnapshot
( JNIEnv *env, jclass C, GamePtrType gamePtr, jobject jdraw, jint width,
( JNIEnv* env, jclass C, GamePtrType gamePtr, jobject jdraw, jint width,
jint height )
{
XWJNI_START();
@ -1523,7 +1523,7 @@ Java_org_eehouse_android_xw4_jni_XwJNI_board_1applyLayout
JNIEXPORT void JNICALL
Java_org_eehouse_android_xw4_jni_XwJNI_board_1setPos
(JNIEnv *env, jclass C, GamePtrType gamePtr, jint left, jint top, jint width,
(JNIEnv* env, jclass C, GamePtrType gamePtr, jint left, jint top, jint width,
jint height, jint maxCellSize, jboolean lefty )
{
XWJNI_START();
@ -1534,7 +1534,7 @@ Java_org_eehouse_android_xw4_jni_XwJNI_board_1setPos
JNIEXPORT void JNICALL
Java_org_eehouse_android_xw4_jni_XwJNI_board_1setScoreboardLoc
( JNIEnv *env, jclass C, GamePtrType gamePtr, jint left, jint top,
( JNIEnv* env, jclass C, GamePtrType gamePtr, jint left, jint top,
jint width, jint height, jboolean divideHorizontally )
{
XWJNI_START();
@ -1545,7 +1545,7 @@ Java_org_eehouse_android_xw4_jni_XwJNI_board_1setScoreboardLoc
JNIEXPORT void JNICALL
Java_org_eehouse_android_xw4_jni_XwJNI_board_1setTrayLoc
( JNIEnv *env, jclass C, GamePtrType gamePtr, jint left, jint top,
( JNIEnv* env, jclass C, GamePtrType gamePtr, jint left, jint top,
jint width, jint height, jint minDividerWidth )
{
XWJNI_START();
@ -1597,7 +1597,7 @@ Java_org_eehouse_android_xw4_jni_XwJNI_board_1getActiveRect
#ifdef POINTER_SUPPORT
JNIEXPORT jboolean JNICALL
Java_org_eehouse_android_xw4_jni_XwJNI_board_1handlePenDown
(JNIEnv *env, jclass C, GamePtrType gamePtr, jint xx, jint yy, jbooleanArray barray )
( JNIEnv* env, jclass C, GamePtrType gamePtr, jint xx, jint yy, jbooleanArray barray )
{
jboolean result;
XWJNI_START();
@ -1609,7 +1609,7 @@ Java_org_eehouse_android_xw4_jni_XwJNI_board_1handlePenDown
JNIEXPORT jboolean JNICALL
Java_org_eehouse_android_xw4_jni_XwJNI_board_1handlePenMove
( JNIEnv *env, jclass C, GamePtrType gamePtr, jint xx, jint yy )
( JNIEnv* env, jclass C, GamePtrType gamePtr, jint xx, jint yy )
{
jboolean result;
XWJNI_START();
@ -1620,7 +1620,7 @@ Java_org_eehouse_android_xw4_jni_XwJNI_board_1handlePenMove
JNIEXPORT jboolean JNICALL
Java_org_eehouse_android_xw4_jni_XwJNI_board_1handlePenUp
( JNIEnv *env, jclass C, GamePtrType gamePtr, jint xx, jint yy )
( JNIEnv* env, jclass C, GamePtrType gamePtr, jint xx, jint yy )
{
jboolean result;
XWJNI_START();