Add api1_internal to env (used in c++). Addresses #197.

git-svn-id: file:///svn/tokudb@1206 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
Bradley C. Kuszmaul 2007-12-18 19:01:58 +00:00
parent a7970a58d8
commit 01862ee902
2 changed files with 2 additions and 0 deletions

View file

@ -67,6 +67,7 @@ void sample_db_btree_stat_offsets (void) {
void sample_db_env_offsets (void) {
field_counter=0;
STRUCT_SETUP(DB_ENV, api1_internal, "void *%s"); /* Used for C++ hacking. */
STRUCT_SETUP(DB_ENV, app_private, "void *%s");
STRUCT_SETUP(DB_ENV, close, "int (*%s) (DB_ENV *, u_int32_t)");
STRUCT_SETUP(DB_ENV, err, "void (*%s) (const DB_ENV *, int, const char *, ...)");

View file

@ -9,6 +9,7 @@ struct fieldinfo db_btree_stat_fields32[] = {
};
struct fieldinfo db_env_fields32[] = {
{"void *app_private", 44, 4},
{"void *api1_internal", 336, 4},
{"int (*close) (DB_ENV *, u_int32_t)", 368, 4},
{"void (*err) (const DB_ENV *, int, const char *, ...)", 380, 4},
{"int (*get_cachesize) (DB_ENV *, u_int32_t *)", 396, 4},