summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nejdb/Ejdb.DB/EJDB.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/nejdb/Ejdb.DB/EJDB.cs b/nejdb/Ejdb.DB/EJDB.cs
index 5e80821..06717ab 100644
--- a/nejdb/Ejdb.DB/EJDB.cs
+++ b/nejdb/Ejdb.DB/EJDB.cs
@@ -226,8 +226,8 @@ namespace Ejdb.DB {
Marshal.FreeHGlobal(cptr); //UnixMarshal.FreeHeap(cptr);
}
}
- //EJDB_EXPORT bson* ejdbcommand(EJDB *jb, bson *cmd);
- [DllImport(EJDB_LIB_NAME, EntryPoint = "ejdbcommand2", CallingConvention = CallingConvention.Cdecl)]
+ //EJDB_EXPORT bson* ejdbcommand2(EJDB *jb, void *cmdbsondata);
+ [DllImport(EJDB_LIB_NAME, EntryPoint = "ejdbcommand2", CallingConvention = CallingConvention.Cdecl)]
internal static extern IntPtr _ejdbcommand([In] IntPtr db, [In] byte[] cmd);
//EJDB_EXPORT bool ejdbsavebson3(EJCOLL *jcoll, void *bsdata, bson_oid_t *oid, bool merge);
[DllImport(EJDB_LIB_NAME, EntryPoint = "ejdbsavebson3", CallingConvention = CallingConvention.Cdecl)]