D | hashtable.h | 49 #define _Py_HASHTABLE_ENTRY_READ_KEY(TABLE, ENTRY, KEY) \ argument 51 assert(sizeof(KEY) == (TABLE)->key_size); \ 52 memcpy(&(KEY), _Py_HASHTABLE_ENTRY_PKEY(ENTRY), sizeof(KEY)); \ 162 #define _Py_HASHTABLE_SET(TABLE, KEY, DATA) \ argument 163 _Py_hashtable_set(TABLE, sizeof(KEY), &(KEY), sizeof(DATA), &(DATA)) 165 #define _Py_HASHTABLE_SET_NODATA(TABLE, KEY) \ argument 166 _Py_hashtable_set(TABLE, sizeof(KEY), &(KEY), 0, NULL) 179 #define _Py_HASHTABLE_GET_ENTRY(TABLE, KEY) \ argument 180 _Py_hashtable_get_entry(TABLE, sizeof(KEY), &(KEY)) 194 #define _Py_HASHTABLE_GET(TABLE, KEY, DATA) \ argument [all …]
|