/*

*File: /data/work/yzzhang/hdl/sv/readout_AWG_RM/hilbert_dpi_2/codegen/dll/hilbert_fir/hilbert_fir_dpi.c
*Created: 2024-10-28 23:46:29
*Generated by MATLAB 9.13 and HDL Verifier 7.0

*/

#include "hilbert_fir.h"
#include "hilbert_fir_dpi.h"
#include <string.h>




DPI_DLL_EXPORT void * DPI_hilbert_fir_initialize(void* existhandle)
{
    
    hilbert_fir_initialize();
    existhandle=NULL;
    return NULL;
    
}

DPI_DLL_EXPORT void * DPI_hilbert_fir_reset(void* objhandle,real_T * data,real_T * i_data,real_T * q_data)
{
    DPI_hilbert_fir_terminate(objhandle);
    objhandle=NULL;
    objhandle=DPI_hilbert_fir_initialize(NULL);
    DPI_hilbert_fir(objhandle,data,i_data,q_data);
    DPI_hilbert_fir_terminate(objhandle);
    objhandle=NULL;
    return DPI_hilbert_fir_initialize(NULL);
    
}

DPI_DLL_EXPORT void DPI_hilbert_fir(void* objhandle,real_T * data,real_T * i_data,real_T * q_data)
{
    
    
    hilbert_fir(data,i_data,q_data);
    objhandle=NULL;
    
    
}

DPI_DLL_EXPORT void DPI_hilbert_fir_terminate(void* existhandle)
{
    existhandle=NULL;
    hilbert_fir_terminate();
    
}
