diff --git a/source/c_api/accAPI.cpp b/source/c_api/accAPI.cpp index 3980083f..bd342d2a 100644 --- a/source/c_api/accAPI.cpp +++ b/source/c_api/accAPI.cpp @@ -602,7 +602,7 @@ int udaGetProperty(const char* property, const CLIENT_FLAGS* client_flags) * @return Void. */ -void reudaSetProperty(const char* property, CLIENT_FLAGS* client_flags) +void udaResetProperty(const char* property, CLIENT_FLAGS* client_flags) { // User settings for Client and Server behaviour diff --git a/source/wrappers/c++/client.cpp b/source/wrappers/c++/client.cpp index a69ee85b..9bcbac75 100644 --- a/source/wrappers/c++/client.cpp +++ b/source/wrappers/c++/client.cpp @@ -74,7 +74,7 @@ void uda::Client::setProperty(Property prop, bool value) throw UDAException("Unknown property"); } - value ? udaSetProperty(name.c_str()) : reudaSetProperty(name.c_str()); + value ? udaSetProperty(name.c_str()) : udaResetProperty(name.c_str()); } void uda::Client::setProperty(Property prop, int value) diff --git a/source/wrappers/fortran/accAPI_F.c b/source/wrappers/fortran/accAPI_F.c index eb378b9b..af8d917c 100755 --- a/source/wrappers/fortran/accAPI_F.c +++ b/source/wrappers/fortran/accAPI_F.c @@ -428,7 +428,7 @@ extern void resetidamproperty_(char* property, int lproperty) strncpy(s, property, lproperty); s[lproperty] = '\0'; s = TrimString(s); - reudaSetProperty(s); + udaResetProperty(s); free( s); } diff --git a/source/wrappers/idl/idam_dlm.c b/source/wrappers/idl/idam_dlm.c index 733087d6..5a16c0c8 100755 --- a/source/wrappers/idl/idam_dlm.c +++ b/source/wrappers/idl/idam_dlm.c @@ -6877,7 +6877,7 @@ resetproperty(int argc, IDL_VPTR argv[], char* argk) IDL_ENSURE_STRING(argv[0]); // Single String IDL_ENSURE_SCALAR(argv[0]); CLIENT_FLAGS* client_flags = udaClientFlags(); - reudaSetProperty((char*)IDL_STRING_STR(&argv[0]->value.str), client_flags); + udaResetProperty((char*)IDL_STRING_STR(&argv[0]->value.str), client_flags); return (IDL_GettmpLong(0)); } diff --git a/source/wrappers/java/idam_jni.c b/source/wrappers/java/idam_jni.c index 0859c7a7..8020f121 100755 --- a/source/wrappers/java/idam_jni.c +++ b/source/wrappers/java/idam_jni.c @@ -123,11 +123,11 @@ JNIEXPORT jint JNICALL Java_jIdam_Idam_udaGetProperty(JNIEnv* env, jobject obj, return (value); } -JNIEXPORT void JNICALL Java_jIdam_Idam_reudaSetProperty(JNIEnv* env, jobject obj, jstring _property) +JNIEXPORT void JNICALL Java_jIdam_Idam_udaResetProperty(JNIEnv* env, jobject obj, jstring _property) { const char* property = (*env)->GetStringUTFChars(env, _property, NULL); if (property == NULL) return; - reudaSetProperty(property, udaClientFlags()); + udaResetProperty(property, udaClientFlags()); (*env)->ReleaseStringUTFChars(env, _property, property); } diff --git a/source/wrappers/java/idam_jni.h b/source/wrappers/java/idam_jni.h index d881eac3..25e20ac3 100644 --- a/source/wrappers/java/idam_jni.h +++ b/source/wrappers/java/idam_jni.h @@ -75,10 +75,10 @@ LIBRARY_API JNIEXPORT void JNICALL Java_Idam_reudaSetClientFlag(JNIEnv*, jclass, /* * Class: Idam - * Method: reudaSetProperty + * Method: udaResetProperty * Signature: (Ljava/lang/String;)V */ -LIBRARY_API JNIEXPORT void JNICALL Java_Idam_reudaSetProperty(JNIEnv*, jclass, jstring); +LIBRARY_API JNIEXPORT void JNICALL Java_Idam_udaResetProperty(JNIEnv*, jclass, jstring); /* * Class: Idam