You've already forked linux-packaging-mono
Imported Upstream version 5.16.0.100
Former-commit-id: 38faa55fb9669e35e7d8448b15c25dc447f25767
This commit is contained in:
parent
0a9828183b
commit
7d7f676260
@@ -56,6 +56,9 @@ namespace Mono.Btls
|
||||
[DllImport (MonoBtlsObject.BTLS_DYLIB)]
|
||||
extern static void mono_btls_error_get_error_string_n (int error, IntPtr buf, int len);
|
||||
|
||||
[DllImport (MonoBtlsObject.BTLS_DYLIB)]
|
||||
extern static int mono_btls_error_get_reason (int error);
|
||||
|
||||
public static int PeekError ()
|
||||
{
|
||||
return mono_btls_error_peek_error ();
|
||||
@@ -106,6 +109,11 @@ namespace Mono.Btls
|
||||
file = null;
|
||||
return error;
|
||||
}
|
||||
|
||||
public static int GetErrorReason (int error)
|
||||
{
|
||||
return mono_btls_error_get_reason (error);
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user