()
| 51 | private lib: koffi.IKoffiLib; |
| 52 | |
| 53 | private constructor() |
| 54 | { |
| 55 | super (); |
| 56 | this.libPath = resolveLibPath(); |
| 57 | this.dllPath = this.getDLLPath(); |
| 58 | this.lib = this.getLib(); |
| 59 | |
| 60 | this.setLogLevelMLModule = this.lib.func(CLike.set_log_level_ml_module); |
| 61 | this.setLogFileMLModule = this.lib.func(CLike.set_log_file_ml_module); |
| 62 | this.logMessageMLModule = this.lib.func(CLike.log_message_ml_module); |
| 63 | this.getVersionMLModule = this.lib.func(CLike.get_version_ml_module); |
| 64 | this.prepare = this.lib.func(CLike.prepare); |
| 65 | this.predict = this.lib.func(CLike.predict); |
| 66 | this.release = this.lib.func(CLike.release); |
| 67 | this.releaseAll = this.lib.func(CLike.release_all); |
| 68 | } |
| 69 | |
| 70 | private getDLLPath() |
| 71 | { |
nothing calls this directly
no test coverage detected