mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 14:54:20 +01:00
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:
parent
a7970a58d8
commit
01862ee902
2 changed files with 2 additions and 0 deletions
|
@ -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 *, ...)");
|
||||
|
|
|
@ -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},
|
||||
|
|
Loading…
Add table
Reference in a new issue