Remove unused members

FreeString and FreeMetadata are both private usage only.
This commit is contained in:
Carlos Fonseca M 2019-11-25 05:02:00 -06:00 committed by Reuben Morais
parent 65f2a09023
commit fe2477b25c
2 changed files with 0 additions and 21 deletions

View File

@ -208,18 +208,6 @@ namespace DeepSpeechClient
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);
}

View File

@ -66,15 +66,6 @@ namespace DeepSpeechClient.Interfaces
/// </summary>
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>
/// Creates a new streaming inference state.