@@ -348,15 +348,15 @@ static SafeLLamaContextHandle()
348348 /// <param name="key"></param>
349349 /// <param name="buf"></param>
350350 /// <param name="buf_size"></param>
351- /// <returns></returns>
351+ /// <returns>The length of the value string (on success) -1 otherwise </returns>
352352 [ DllImport ( NativeApi . libraryName , CallingConvention = CallingConvention . Cdecl ) ]
353353 private static extern int llama_adapter_meta_val_str ( IntPtr adapter , string key , StringBuilder buf , UIntPtr buf_size ) ;
354354
355355 /// <summary>
356356 /// Get the number of metadata key value pairs
357357 /// </summary>
358358 /// <param name="adapter"></param>
359- /// <returns></returns>
359+ /// <returns>The count of meta key value pairs </returns>
360360 [ DllImport ( NativeApi . libraryName , CallingConvention = CallingConvention . Cdecl ) ]
361361 private static extern int llama_adapter_meta_count ( IntPtr adapter ) ;
362362
@@ -367,7 +367,7 @@ static SafeLLamaContextHandle()
367367 /// <param name="i"></param>
368368 /// <param name="buf"></param>
369369 /// <param name="buf_size"></param>
370- /// <returns></returns>
370+ /// <returns>The length of string i.e meta key (on success) -1 otherwise </returns>
371371 [ DllImport ( NativeApi . libraryName , CallingConvention = CallingConvention . Cdecl ) ]
372372 private static extern int llama_adapter_meta_key_by_index ( IntPtr adapter , int i , StringBuilder buf , UIntPtr buf_size ) ;
373373
@@ -378,7 +378,7 @@ static SafeLLamaContextHandle()
378378 /// <param name="i"></param>
379379 /// <param name="buf"></param>
380380 /// <param name="buf_size"></param>
381- /// <returns></returns>
381+ /// <returns>The length of value string (on success) -1 otherwise </returns>
382382 [ DllImport ( NativeApi . libraryName , CallingConvention = CallingConvention . Cdecl ) ]
383383 private static extern int llama_adapter_meta_val_by_index ( IntPtr adapter , int i , StringBuilder buf , UIntPtr buf_size ) ;
384384
0 commit comments