SQLite Android Bindings

Check-in [2f0852a484]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Remove extra logging call.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 2f0852a484bc9d8593327fc2dad7792f88c54fe9
User & Date: dan 2013-12-19 09:51:00.305
Context
2013-12-19
16:14
Add jni/README to explain the origin of the files in that directory. (check-in: 498ff252ff user: dan tags: trunk)
09:51
Remove extra logging call. (check-in: 2f0852a484 user: dan tags: trunk)
2013-12-18
20:16
Remove further unused files. (check-in: 3b7f47f041 user: dan tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to jni/JNIHelp.cpp.
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83

extern "C" int jniRegisterNativeMethods(C_JNIEnv* env, const char* className,
    const JNINativeMethod* gMethods, int numMethods)
{
    JNIEnv* e = reinterpret_cast<JNIEnv*>(env);

    ALOGV("Registering %s's %d native methods...", className, numMethods);
    __android_log_print(ANDROID_LOG_INFO,  __FUNCTION__, "Registering");

    scoped_local_ref<jclass> c(env, findClass(env, className));
    if (c.get() == NULL) {
        char* msg;
        asprintf(&msg, "Native registration unable to find class '%s'; aborting...", className);
        e->FatalError(msg);
    }







<







69
70
71
72
73
74
75

76
77
78
79
80
81
82

extern "C" int jniRegisterNativeMethods(C_JNIEnv* env, const char* className,
    const JNINativeMethod* gMethods, int numMethods)
{
    JNIEnv* e = reinterpret_cast<JNIEnv*>(env);

    ALOGV("Registering %s's %d native methods...", className, numMethods);


    scoped_local_ref<jclass> c(env, findClass(env, className));
    if (c.get() == NULL) {
        char* msg;
        asprintf(&msg, "Native registration unable to find class '%s'; aborting...", className);
        e->FatalError(msg);
    }