Re: problem creating a berkeley db binding

2009-09-03 Thread BLS
JT wrote: i'm trying to create a binding for berkeley db dll and quickly ran into some problems, how do i translate statement below. int DB->open(DB *db, DB_TXN *txnid, const char *file, const char *database, DBTYPE type, u_int32_t flags, int mode); my normal approach would be, extern (C)

Re: problem creating a berkeley db binding

2009-08-31 Thread JT
Mike Parker Wrote: > JT wrote: > > i'm trying to create a binding for berkeley db dll and quickly ran into > > some problems, how do i translate statement below. > > > > int DB->open(DB *db, DB_TXN *txnid, const char *file, > > const char *database, DBTYPE type, u_int32_t flags, int mode); >

Re: problem creating a berkeley db binding

2009-08-31 Thread Mike Parker
JT wrote: i'm trying to create a binding for berkeley db dll and quickly ran into some problems, how do i translate statement below. int DB->open(DB *db, DB_TXN *txnid, const char *file, const char *database, DBTYPE type, u_int32_t flags, int mode); my normal approach would be, extern (C)

Re: problem creating a berkeley db binding

2009-08-30 Thread JT
Sergey Gromov Wrote: > Sun, 30 Aug 2009 11:28:16 -0400, JT wrote: > > > i'm trying to create a binding for berkeley db dll and quickly ran > > into some problems, how do i translate statement below. > > > > int DB->open(DB *db, DB_TXN *txnid, const char *file, > > const char *database, DBTYP

Re: problem creating a berkeley db binding

2009-08-30 Thread Sergey Gromov
Sun, 30 Aug 2009 11:28:16 -0400, JT wrote: > i'm trying to create a binding for berkeley db dll and quickly ran > into some problems, how do i translate statement below. > > int DB->open(DB *db, DB_TXN *txnid, const char *file, > const char *database, DBTYPE type, u_int32_t flags, int mode);

problem creating a berkeley db binding

2009-08-30 Thread JT
i'm trying to create a binding for berkeley db dll and quickly ran into some problems, how do i translate statement below. int DB->open(DB *db, DB_TXN *txnid, const char *file, const char *database, DBTYPE type, u_int32_t flags, int mode); my normal approach would be, extern (C) { i