6#ifndef _NIM_SDK_CPP_NIM_QCHAT_SDK_LOADER_HELPER_H_
7#define _NIM_SDK_CPP_NIM_QCHAT_SDK_LOADER_HELPER_H_
15template <
typename C,
typename R>
17 if (response && response->user_data !=
nullptr) {
18 auto cb =
reinterpret_cast<C*
>(response->user_data);
39#ifdef NIM_SDK_DLL_IMPORT
40#define NIM_QCHAT_SDK_GET_FUNC(function_ptr) NIM_SDK_GET_FUNC_FROM_INSTANCE(nim_sdk_instance, function_ptr)
42#define NIM_QCHAT_SDK_GET_FUNC(function_ptr) function_ptr
SDK库辅助类,提供加载/卸载SDK库以及获取接口的方法
Definition nim_sdk_util.h:38
nim::SDKInstance * nim_sdk_instance
Definition nim_qchat_helper.h:12
static void InvokeCallback(const R *response)
Definition nim_qchat_helper.h:16