@@ -236,6 +236,11 @@ static bool SetDelegates(Type nativeMethodsClass)
236236 _new = ( Func < RdKafkaType , IntPtr , StringBuilder , UIntPtr , SafeKafkaHandle > ) methods . Single ( m => m . Name == "rd_kafka_new" ) . CreateDelegate ( typeof ( Func < RdKafkaType , IntPtr , StringBuilder , UIntPtr , SafeKafkaHandle > ) ) ;
237237 _name = ( Func < IntPtr , IntPtr > ) methods . Single ( m => m . Name == "rd_kafka_name" ) . CreateDelegate ( typeof ( Func < IntPtr , IntPtr > ) ) ;
238238 _memberid = ( Func < IntPtr , IntPtr > ) methods . Single ( m => m . Name == "rd_kafka_memberid" ) . CreateDelegate ( typeof ( Func < IntPtr , IntPtr > ) ) ;
239+ _Uuid_new = ( Func < long , long , IntPtr > ) methods . Single ( m => m . Name == "rd_kafka_Uuid_new" ) . CreateDelegate ( typeof ( Func < long , long , IntPtr > ) ) ;
240+ _Uuid_base64str = ( Func < IntPtr , IntPtr > ) methods . Single ( m => m . Name == "rd_kafka_Uuid_base64str" ) . CreateDelegate ( typeof ( Func < IntPtr , IntPtr > ) ) ;
241+ _Uuid_most_significant_bits = ( Func < IntPtr , long > ) methods . Single ( m => m . Name == "rd_kafka_Uuid_most_significant_bits" ) . CreateDelegate ( typeof ( Func < IntPtr , long > ) ) ;
242+ _Uuid_least_significant_bits = ( Func < IntPtr , long > ) methods . Single ( m => m . Name == "rd_kafka_Uuid_least_significant_bits" ) . CreateDelegate ( typeof ( Func < IntPtr , long > ) ) ;
243+ _Uuid_destroy = ( Action < IntPtr > ) methods . Single ( m => m . Name == "rd_kafka_Uuid_destroy" ) . CreateDelegate ( typeof ( Action < IntPtr > ) ) ;
239244 _topic_new = ( Func < IntPtr , IntPtr , IntPtr , SafeTopicHandle > ) methods . Single ( m => m . Name == "rd_kafka_topic_new" ) . CreateDelegate ( typeof ( Func < IntPtr , IntPtr , IntPtr , SafeTopicHandle > ) ) ;
240245 _topic_destroy = ( Action < IntPtr > ) methods . Single ( m => m . Name == "rd_kafka_topic_destroy" ) . CreateDelegate ( typeof ( Action < IntPtr > ) ) ;
241246 _topic_name = ( Func < IntPtr , IntPtr > ) methods . Single ( m => m . Name == "rd_kafka_topic_name" ) . CreateDelegate ( typeof ( Func < IntPtr , IntPtr > ) ) ;
@@ -458,6 +463,7 @@ static bool SetDelegates(Type nativeMethodsClass)
458463 _TopicCollection_destroy = ( _TopicCollection_destroy_delegate ) methods . Single ( m => m . Name == "rd_kafka_TopicCollection_destroy" ) . CreateDelegate ( typeof ( _TopicCollection_destroy_delegate ) ) ;
459464 _TopicDescription_error = ( _TopicDescription_error_delegate ) methods . Single ( m => m . Name == "rd_kafka_TopicDescription_error" ) . CreateDelegate ( typeof ( _TopicDescription_error_delegate ) ) ;
460465 _TopicDescription_name = ( _TopicDescription_name_delegate ) methods . Single ( m => m . Name == "rd_kafka_TopicDescription_name" ) . CreateDelegate ( typeof ( _TopicDescription_name_delegate ) ) ;
466+ _TopicDescription_topic_id = ( _TopicDescription_topic_id_delegate ) methods . Single ( m => m . Name == "rd_kafka_TopicDescription_topic_id" ) . CreateDelegate ( typeof ( _TopicDescription_topic_id_delegate ) ) ;
461467 _TopicDescription_partitions = ( _TopicDescription_partitions_delegate ) methods . Single ( m => m . Name == "rd_kafka_TopicDescription_partitions" ) . CreateDelegate ( typeof ( _TopicDescription_partitions_delegate ) ) ;
462468 _TopicDescription_is_internal = ( _TopicDescription_is_internal_delegate ) methods . Single ( m => m . Name == "rd_kafka_TopicDescription_is_internal" ) . CreateDelegate ( typeof ( _TopicDescription_is_internal_delegate ) ) ;
463469 _TopicDescription_authorized_operations = ( _TopicDescription_authorized_operations_delegate ) methods . Single ( m => m . Name == "rd_kafka_TopicDescription_authorized_operations" ) . CreateDelegate ( typeof ( _TopicDescription_authorized_operations_delegate ) ) ;
@@ -1037,6 +1043,22 @@ internal static SafeKafkaHandle kafka_new(RdKafkaType type, IntPtr conf,
10371043 private static Func < IntPtr , IntPtr > _memberid ;
10381044 internal static IntPtr memberid ( IntPtr rk ) => _memberid ( rk ) ;
10391045
1046+ private static Func < long , long , IntPtr > _Uuid_new ;
1047+ internal static IntPtr Uuid_new ( long most_significant_bits , long least_significant_bits )
1048+ => _Uuid_new ( most_significant_bits , least_significant_bits ) ;
1049+
1050+ private static Func < IntPtr , IntPtr > _Uuid_base64str ;
1051+ internal static IntPtr Uuid_base64str ( IntPtr uuid ) => _Uuid_base64str ( uuid ) ;
1052+
1053+ private static Func < IntPtr , long > _Uuid_most_significant_bits ;
1054+ internal static long Uuid_most_significant_bits ( IntPtr uuid ) => _Uuid_most_significant_bits ( uuid ) ;
1055+
1056+ private static Func < IntPtr , long > _Uuid_least_significant_bits ;
1057+ internal static long Uuid_least_significant_bits ( IntPtr uuid ) => _Uuid_least_significant_bits ( uuid ) ;
1058+
1059+ private static Action < IntPtr > _Uuid_destroy ;
1060+ internal static void Uuid_destroy ( IntPtr uuid ) => _Uuid_destroy ( uuid ) ;
1061+
10401062 private static Func < IntPtr , IntPtr , IntPtr , SafeTopicHandle > _topic_new ;
10411063 internal static SafeTopicHandle topic_new ( IntPtr rk , IntPtr topic , IntPtr conf )
10421064 => _topic_new ( rk , topic , conf ) ;
@@ -2162,6 +2184,12 @@ internal static IntPtr TopicDescription_error(IntPtr topicdesc)
21622184 internal static IntPtr TopicDescription_name ( IntPtr topicdesc )
21632185 => _TopicDescription_name ( topicdesc ) ;
21642186
2187+
2188+ private delegate IntPtr _TopicDescription_topic_id_delegate ( IntPtr topicdesc ) ;
2189+ private static _TopicDescription_topic_id_delegate _TopicDescription_topic_id ;
2190+ internal static IntPtr TopicDescription_topic_id ( IntPtr topicdesc )
2191+ => _TopicDescription_topic_id ( topicdesc ) ;
2192+
21652193 private delegate IntPtr _TopicDescription_partitions_delegate ( IntPtr topicdesc , out UIntPtr cntp ) ;
21662194 private static _TopicDescription_partitions_delegate _TopicDescription_partitions ;
21672195 internal static IntPtr TopicDescription_partitions ( IntPtr topicdesc , out UIntPtr cntp )
0 commit comments