pike.git
/
src
/
block_alloc.h
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/block_alloc.h:1:
-
/* $Id: block_alloc.h,v 1.
29
2003/03/17
13
:
55
:
37
grubba Exp $ */
+
/* $Id: block_alloc.h,v 1.
30
2003/03/17
16
:
34
:
00
grubba Exp $ */
#undef PRE_INIT_BLOCK #undef INIT_BLOCK #undef EXIT_BLOCK #undef BLOCK_ALLOC #undef PTR_HASH_ALLOC #undef COUNT_BLOCK #undef COUNT_OTHER #define PRE_INIT_BLOCK(X) #define INIT_BLOCK(X)
pike.git/src/block_alloc.h:174:
} \ } \ free((char *)old_hash); \ }else{ \ PIKE_CONCAT(DATA,_hash_table)=old_hash; \ PIKE_CONCAT(DATA,_hash_table_size)=e; \ } \ } \ \ static inline struct DATA * \
-
PIKE_
CONCAT3
(just_find_,DATA)(void *ptr, size_t hval) \
+
PIKE_
CONCAT
(just_find_,DATA)(void *ptr, size_t hval)
\
{ \ struct DATA *p,**pp; \ p=PIKE_CONCAT(DATA,_hash_table)[hval]; \ if(!p || p->PTR_HASH_ALLOC_DATA == ptr) \ { \ return p; \ } \ while((p=p->BLOCK_ALLOC_NEXT)) \ { \ if(p->PTR_HASH_ALLOC_DATA==ptr) return p; \