Loading...
private/make_tapi_happy.h libmalloc-521.120.7 libmalloc-792.41.1
--- libmalloc/libmalloc-521.120.7/private/make_tapi_happy.h
+++ libmalloc/libmalloc-792.41.1/private/make_tapi_happy.h
@@ -32,6 +32,7 @@
 typedef uint8_t xzm_segment_group_id_t;
 typedef uint8_t xzm_xzone_bucket_t;
 extern malloc_zone_t **malloc_zones;
+struct xzm_bucketing_keys_s;
 
 #if defined(__LP64__)
 extern const struct malloc_introspection_t xzm_malloc_zone_introspect;
@@ -39,6 +40,11 @@
 bool
 xzm_ptr_lookup_4test(xzm_malloc_zone_t zone, void *ptr,
 		xzm_segment_group_id_t *sgid_out, xzm_xzone_bucket_t *bucket_out);
+
+uint8_t
+xzm_type_choose_ptr_bucket_4test(const struct xzm_bucketing_keys_s *const keys,
+		uint8_t ptr_bucket_count, malloc_type_descriptor_t type_desc);
+
 #endif // defined(__LP64__)
 
 #if __is_target_environment(exclavecore) || __is_target_environment(exclavekit)