Remove unused members
FreeString and FreeMetadata are both private usage only.
This commit is contained in:
parent
b6bc46f3fb
commit
4c6a95db39
@ -209,18 +209,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…
x
Reference in New Issue
Block a user