redefined ASE_XXX_COPIER_SIMPLE and ASE_XXX_COPIER_INLINE

originally,
- #define ASE_XXX_COPIER_SIMPLE ase_xxx_copysimple
- #define ASE_XXX_COPIER_INLINE ase_xxx_copyinline

after changes.
- #define ASE_XXX_COPIER_SIMPLE ((ase_xxx_copier_t)1)
- #define ASE_XXX_COPIER_INLINE ((ase_xxx_copier_t)2)

when compiled for win32 dll, the reference by the original 
definition resulted in different address values in difference modules.
This commit is contained in:
2008-12-15 07:25:42 +00:00
parent 195da67d13
commit f675b072d6
11 changed files with 15 additions and 91 deletions

View File

@ -562,14 +562,3 @@ void ase_lda_rwalk (lda_t* lda, walker_t walker, void* arg)
}
}
void* ase_lda_copysimple (lda_t* lda, void* dptr, size_t dlen)
{
return dptr;
}
void* ase_lda_copyinline (lda_t* lda, void* dptr, size_t dlen)
{
/* this is a dummy copier */
return ASE_NULL;
}

View File

@ -1,5 +1,5 @@
/*
* $Id: map.c 409 2008-10-08 11:43:56Z baconevi $
* $Id: map.c 483 2008-12-14 13:25:42Z baconevi $
*
* {License}
*/
@ -728,14 +728,3 @@ static int reorganize (map_t* map)
return 0;
}
void* ase_map_copysimple (map_t* map, void* dptr, size_t dlen)
{
return dptr;
}
void* ase_map_copyinline (map_t* map, void* dptr, size_t dlen)
{
/* this is a dummy copier */
return ASE_NULL;
}

View File

@ -329,13 +329,3 @@ void ase_sll_walk (sll_t* sll, walker_t walker, void* arg)
}
}
void* ase_sll_copysimple (sll_t* sll, void* dptr, size_t dlen)
{
return dptr;
}
void* ase_sll_copyinline (sll_t* sll, void* dptr, size_t dlen)
{
/* this is a dummy copier */
return ASE_NULL;
}