Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenlib/intern/BLI_ghash_utils.c
| Show First 20 Lines • Show All 272 Lines • ▼ Show 20 Lines | |||||
| { | { | ||||
| return BLI_gset_new_ex(BLI_ghashutil_pairhash, BLI_ghashutil_paircmp, info, nentries_reserve); | return BLI_gset_new_ex(BLI_ghashutil_pairhash, BLI_ghashutil_paircmp, info, nentries_reserve); | ||||
| } | } | ||||
| GSet *BLI_gset_pair_new(const char *info) | GSet *BLI_gset_pair_new(const char *info) | ||||
| { | { | ||||
| return BLI_gset_pair_new_ex(info, 0); | return BLI_gset_pair_new_ex(info, 0); | ||||
| } | } | ||||
| GSet *BLI_gset_int_new_ex(const char *info, const uint nentries_reserve) | |||||
| { | |||||
| return BLI_gset_new_ex(BLI_ghashutil_inthash_p, BLI_ghashutil_intcmp, info, nentries_reserve); | |||||
| } | |||||
| GSet *BLI_gset_int_new(const char *info) | |||||
| { | |||||
| return BLI_gset_int_new_ex(info, 0); | |||||
| } | |||||
| /** \} */ | /** \} */ | ||||