1// Auto-generated, do not edit.
2
3extern "C" {
4
5void* createInferBuilder_INTERNAL(void* logger, int version) {
6  using FuncPtr = void * (*)(void *, int);
7  static auto func_ptr = LoadSymbol<FuncPtr>("createInferBuilder_INTERNAL");
8  if (!func_ptr) LogFatalSymbolNotFound("createInferBuilder_INTERNAL");
9  return func_ptr(logger, version);
10}
11
12void* createInferRuntime_INTERNAL(void* logger, int version) {
13  using FuncPtr = void * (*)(void *, int);
14  static auto func_ptr = LoadSymbol<FuncPtr>("createInferRuntime_INTERNAL");
15  if (!func_ptr) LogFatalSymbolNotFound("createInferRuntime_INTERNAL");
16  return func_ptr(logger, version);
17}
18
19nvinfer1::ILogger* getLogger() {
20  using FuncPtr = nvinfer1::ILogger * (*)();
21  static auto func_ptr = LoadSymbol<FuncPtr>("getLogger");
22  if (!func_ptr) LogFatalSymbolNotFound("getLogger");
23  return func_ptr();
24}
25
26int getInferLibVersion() {
27  using FuncPtr = int (*)();
28  static auto func_ptr = LoadSymbol<FuncPtr>("getInferLibVersion");
29  if (!func_ptr) LogFatalSymbolNotFound("getInferLibVersion");
30  return func_ptr();
31}
32
33nvinfer1::IPluginRegistry* getPluginRegistry() {
34  using FuncPtr = nvinfer1::IPluginRegistry * (*)();
35  static auto func_ptr = LoadSymbol<FuncPtr>("getPluginRegistry");
36  if (!func_ptr) LogFatalSymbolNotFound("getPluginRegistry");
37  return func_ptr();
38}
39
40}  // extern "C"
41