我想使用typedef struct sqlite3 sqlite3;使用
int sqlite3_open(
const char *filename, /* Database filename (UTF-8) */
sqlite3 **ppDb /* OUT: SQLite db handle */
);
并传递sqlite3对象以打开db
package com.kosh.offline;
public class NativeLib {
static {
System.loadLibrary("sqlite3");
}
public native int sqlite3_open(String filename,Object sqlite3);
}
感谢您考虑