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:
@ -30,8 +30,8 @@ typedef struct ase_lda_t ase_lda_t;
|
||||
typedef struct ase_lda_node_t ase_lda_node_t;
|
||||
typedef enum ase_lda_walk_t ase_lda_walk_t;
|
||||
|
||||
#define ASE_LDA_COPIER_SIMPLE ase_lda_copysimple
|
||||
#define ASE_LDA_COPIER_INLINE ase_lda_copyinline
|
||||
#define ASE_LDA_COPIER_SIMPLE ((ase_lda_copier_t)1)
|
||||
#define ASE_LDA_COPIER_INLINE ((ase_lda_copier_t)2)
|
||||
|
||||
#define ASE_LDA_INVALID ((ase_size_t)-1)
|
||||
|
||||
@ -469,19 +469,6 @@ void ase_lda_rwalk (
|
||||
void* arg
|
||||
);
|
||||
|
||||
|
||||
void* ase_lda_copysimple (
|
||||
ase_lda_t* lda /* a linear dynamic array */,
|
||||
void* data /* the pointer to data */,
|
||||
ase_size_t len /* the length of data */
|
||||
);
|
||||
|
||||
void* ase_lda_copyinline (
|
||||
ase_lda_t* lda /* a linear dynamic array */,
|
||||
void* data /* the pointer to data */,
|
||||
ase_size_t len /* the length of data */
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: map.h 413 2008-10-09 11:45:49Z baconevi $
|
||||
* $Id: map.h 483 2008-12-14 13:25:42Z baconevi $
|
||||
*
|
||||
* {License}
|
||||
*/
|
||||
@ -195,8 +195,8 @@ struct ase_map_t
|
||||
};
|
||||
/******/
|
||||
|
||||
#define ASE_MAP_COPIER_SIMPLE ase_map_copysimple
|
||||
#define ASE_MAP_COPIER_INLINE ase_map_copyinline
|
||||
#define ASE_MAP_COPIER_SIMPLE ((ase_map_copier_t)1)
|
||||
#define ASE_MAP_COPIER_INLINE ((ase_map_copier_t)2)
|
||||
|
||||
/****d* ase.cmn.map/ASE_MAP_SIZE
|
||||
* NAME
|
||||
@ -558,18 +558,6 @@ ase_map_pair_t* ase_map_getnextpair (
|
||||
ase_size_t* buckno
|
||||
);
|
||||
|
||||
void* ase_map_copysimple (
|
||||
ase_map_t* map /* a linear dynamic array */,
|
||||
void* data /* the pointer to data */,
|
||||
ase_size_t len /* the length of data */
|
||||
);
|
||||
|
||||
void* ase_map_copyinline (
|
||||
ase_map_t* map /* a linear dynamic array */,
|
||||
void* data /* the pointer to data */,
|
||||
ase_size_t len /* the length of data */
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
@ -162,8 +162,8 @@ struct ase_sll_node_t
|
||||
};
|
||||
/******/
|
||||
|
||||
#define ASE_SLL_COPIER_SIMPLE ase_sll_copysimple
|
||||
#define ASE_SLL_COPIER_INLINE ase_sll_copyinline
|
||||
#define ASE_SLL_COPIER_SIMPLE ((ase_sll_copier_t)1)
|
||||
#define ASE_SLL_COPIER_INLINE ((ase_sll_copier_t)2)
|
||||
|
||||
#define ASE_SLL_MMGR(sll) ((sll)->mmgr)
|
||||
#define ASE_SLL_COPIER(sll) ((sll)->copier)
|
||||
@ -574,26 +574,6 @@ void ase_sll_walk (
|
||||
);
|
||||
/******/
|
||||
|
||||
/*
|
||||
* Causes a singly linked list to remember the pointer and the length.
|
||||
* Use ASE_SLL_COPIER_SIMPLE instead.
|
||||
*/
|
||||
void* ase_sll_copysimple (
|
||||
ase_sll_t* sll /* a singly linked list */,
|
||||
void* data /* the pointer to data */,
|
||||
ase_size_t len /* the length of data */
|
||||
);
|
||||
|
||||
/*
|
||||
* Causes a singly linked list to copy in data to a node.
|
||||
* Use ASE_SLL_COPIER_INLINE instead.
|
||||
*/
|
||||
void* ase_sll_copyinline (
|
||||
ase_sll_t* sll /* a singly linked list */,
|
||||
void* data /* the pointer to data */,
|
||||
ase_size_t len /* the length of data */
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user