This commit is contained in:
2008-08-29 08:21:25 +00:00
parent 616ddad7d7
commit 2390cda730
10 changed files with 115 additions and 72 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: awk.h 337 2008-08-20 09:17:25Z baconevi $
* $Id: awk.h 349 2008-08-28 14:21:25Z baconevi $
*
* {License}
*/
@ -592,8 +592,9 @@ extern ase_awk_val_t* ase_awk_val_one;
*/
ase_awk_t* ase_awk_open (
ase_mmgr_t* mmgr /* memory manager */,
ase_size_t extension /* size of extension area in bytes */,
void (*initializer) (ase_awk_t*) /* extension area initializer */
ase_size_t ext /* size of extension area in bytes */,
void (*init) (ase_awk_t*, void*) /* extension initializer */,
void* init_data /* the second argument to the extension initializer */
);
/*

View File

@ -93,7 +93,8 @@ extern "C" {
ase_dll_t* ase_dll_open (
ase_mmgr_t* mmgr /* memory manager */ ,
ase_size_t ext /* size of extension area in bytes */,
void (*init) (ase_dll_t*) /* extension initializer */
void (*init) (ase_dll_t*, void*) /* extension initializer */,
void* init_data /* the second argument to the extension initializer */
);
/*

View File

@ -1,5 +1,5 @@
/*
* $Id: map.h 348 2008-08-28 10:29:53Z baconevi $
* $Id: map.h 349 2008-08-28 14:21:25Z baconevi $
*
* {License}
*/
@ -116,8 +116,9 @@ extern "C" {
ase_map_t* ase_map_open (
ase_mmgr_t* mmgr,
ase_size_t ext,
void (*init) (ase_map_t*),
ase_size_t init_capa /* initial capacity */,
void (*init) (ase_map_t*, void*),
void* init_arg,
ase_size_t capa /* initial capacity */,
unsigned int load_factor /* load factor */
);

View File

@ -92,7 +92,8 @@ extern "C" {
ase_sll_t* ase_sll_open (
ase_mmgr_t* mmgr /* memory manager */ ,
ase_size_t ext /* size of extension area in bytes */,
void (*init) (ase_sll_t*) /* extension initializer */
void (*init) (ase_sll_t*, void*) /* extension initializer */,
void* init_data /* the second argument to the extension initializer */
);
/*