Remove unused members
FreeString and FreeMetadata are both private usage only.
This commit is contained in:
parent
65f2a09023
commit
fe2477b25c
@ -208,18 +208,6 @@ namespace DeepSpeechClient
|
|||||||
NativeImp.DS_FreeStream(ref _streamingStatePP);
|
NativeImp.DS_FreeStream(ref _streamingStatePP);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Free a DeepSpeech allocated string
|
|
||||||
/// </summary>
|
|
||||||
public unsafe void FreeString(IntPtr intPtr)
|
|
||||||
{
|
|
||||||
NativeImp.DS_FreeString(intPtr);
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Free a DeepSpeech allocated Metadata struct
|
|
||||||
/// </summary>
|
|
||||||
public unsafe void FreeMetadata(IntPtr intPtr)
|
|
||||||
{
|
{
|
||||||
NativeImp.DS_FreeMetadata(intPtr);
|
NativeImp.DS_FreeMetadata(intPtr);
|
||||||
}
|
}
|
||||||
|
@ -66,15 +66,6 @@ namespace DeepSpeechClient.Interfaces
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
unsafe void FreeStream();
|
unsafe void FreeStream();
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Free a DeepSpeech allocated string
|
|
||||||
/// </summary>
|
|
||||||
unsafe void FreeString(IntPtr intPtr);
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Free a DeepSpeech allocated Metadata struct
|
|
||||||
/// </summary>
|
|
||||||
unsafe void FreeMetadata(IntPtr intPtr);
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Creates a new streaming inference state.
|
/// Creates a new streaming inference state.
|
||||||
|
Loading…
Reference in New Issue
Block a user