pike.git/
src/
mapping.h
Branch:
Tag:
Non-build tags
All tags
No tags
2004-02-10
2004-02-10 22:20:29 by Martin Stjernholm <mast@lysator.liu.se>
1945141ed7de519624f754b59a4c0d1f1cf7830c (
4
lines) (+
3
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Added a macro mapping_data_is_shared.
Rev: src/mapping.h:1.52
2:
|| This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information.
-
|| $Id: mapping.h,v 1.
51
2003
/
11
/
14
11
:
15
:
14
mast Exp $
+
|| $Id: mapping.h,v 1.
52
2004
/
02
/
10
22
:
20
:
29
mast Exp $
*/ #ifndef MAPPING_H
60:
#define m_ind_types(m) ((m)->data->ind_types) #define m_val_types(m) ((m)->data->val_types) #define mapping_get_flags(m) ((m)->data->flags)
+
#define mapping_data_is_shared(m) ((m)->data->refs > 1)
#define MD_KEYPAIRS(MD, HSIZE) \ ( (struct keypair *) \