diff options
author | adam <adamansky@gmail.com> | 2013-08-16 17:00:16 +0700 |
---|---|---|
committer | adam <adamansky@gmail.com> | 2013-08-16 17:00:16 +0700 |
commit | f31c419064d267f2c30b01defbea63bfe0229701 (patch) | |
tree | e021cc276639febea03ee71a0892e57afb221337 /nejdb | |
parent | 85028ef96647ebe1572ebbaedcff41309620d24f (diff) | |
download | ejdb-f31c419064d267f2c30b01defbea63bfe0229701.tar.gz ejdb-f31c419064d267f2c30b01defbea63bfe0229701.tar.bz2 ejdb-f31c419064d267f2c30b01defbea63bfe0229701.zip |
typo fixed
Diffstat (limited to 'nejdb')
-rw-r--r-- | nejdb/Ejdb.DB/EJDB.cs | 4 |
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)] |