@@ -236,6 +236,11 @@ static bool SetDelegates(Type nativeMethodsClass)
236
236
_new = ( Func < RdKafkaType , IntPtr , StringBuilder , UIntPtr , SafeKafkaHandle > ) methods . Single ( m => m . Name == "rd_kafka_new" ) . CreateDelegate ( typeof ( Func < RdKafkaType , IntPtr , StringBuilder , UIntPtr , SafeKafkaHandle > ) ) ;
237
237
_name = ( Func < IntPtr , IntPtr > ) methods . Single ( m => m . Name == "rd_kafka_name" ) . CreateDelegate ( typeof ( Func < IntPtr , IntPtr > ) ) ;
238
238
_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 > ) ) ;
239
244
_topic_new = ( Func < IntPtr , IntPtr , IntPtr , SafeTopicHandle > ) methods . Single ( m => m . Name == "rd_kafka_topic_new" ) . CreateDelegate ( typeof ( Func < IntPtr , IntPtr , IntPtr , SafeTopicHandle > ) ) ;
240
245
_topic_destroy = ( Action < IntPtr > ) methods . Single ( m => m . Name == "rd_kafka_topic_destroy" ) . CreateDelegate ( typeof ( Action < IntPtr > ) ) ;
241
246
_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)
458
463
_TopicCollection_destroy = ( _TopicCollection_destroy_delegate ) methods . Single ( m => m . Name == "rd_kafka_TopicCollection_destroy" ) . CreateDelegate ( typeof ( _TopicCollection_destroy_delegate ) ) ;
459
464
_TopicDescription_error = ( _TopicDescription_error_delegate ) methods . Single ( m => m . Name == "rd_kafka_TopicDescription_error" ) . CreateDelegate ( typeof ( _TopicDescription_error_delegate ) ) ;
460
465
_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 ) ) ;
461
467
_TopicDescription_partitions = ( _TopicDescription_partitions_delegate ) methods . Single ( m => m . Name == "rd_kafka_TopicDescription_partitions" ) . CreateDelegate ( typeof ( _TopicDescription_partitions_delegate ) ) ;
462
468
_TopicDescription_is_internal = ( _TopicDescription_is_internal_delegate ) methods . Single ( m => m . Name == "rd_kafka_TopicDescription_is_internal" ) . CreateDelegate ( typeof ( _TopicDescription_is_internal_delegate ) ) ;
463
469
_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,
1037
1043
private static Func < IntPtr , IntPtr > _memberid ;
1038
1044
internal static IntPtr memberid ( IntPtr rk ) => _memberid ( rk ) ;
1039
1045
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
+
1040
1062
private static Func < IntPtr , IntPtr , IntPtr , SafeTopicHandle > _topic_new ;
1041
1063
internal static SafeTopicHandle topic_new ( IntPtr rk , IntPtr topic , IntPtr conf )
1042
1064
=> _topic_new ( rk , topic , conf ) ;
@@ -2162,6 +2184,12 @@ internal static IntPtr TopicDescription_error(IntPtr topicdesc)
2162
2184
internal static IntPtr TopicDescription_name ( IntPtr topicdesc )
2163
2185
=> _TopicDescription_name ( topicdesc ) ;
2164
2186
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
+
2165
2193
private delegate IntPtr _TopicDescription_partitions_delegate ( IntPtr topicdesc , out UIntPtr cntp ) ;
2166
2194
private static _TopicDescription_partitions_delegate _TopicDescription_partitions ;
2167
2195
internal static IntPtr TopicDescription_partitions ( IntPtr topicdesc , out UIntPtr cntp )
0 commit comments