diff options
| author | Ganesh Viswanathan <dev@genotrance.com> | 2019-01-25 18:13:35 -0600 |
|---|---|---|
| committer | Ganesh Viswanathan <dev@genotrance.com> | 2019-01-25 18:13:35 -0600 |
| commit | 2b51e73f80d657c4d11f1ab75a032b1f0386a917 (patch) | |
| tree | da15f7d91560a41b3d9567a7419a62b4cd9aa2c8 | |
| parent | 2d447a317bb148ffc6169f6117600f44774d366c (diff) | |
| download | nimterop-2b51e73f80d657c4d11f1ab75a032b1f0386a917.tar.gz nimterop-2b51e73f80d657c4d11f1ab75a032b1f0386a917.zip | |
Fix typeof for 0.19.2
| -rw-r--r-- | nimterop/getters.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nimterop/getters.nim b/nimterop/getters.nim index 1327d22..30a0001 100644 --- a/nimterop/getters.nim +++ b/nimterop/getters.nim @@ -337,5 +337,5 @@ proc loadPlugin*(fullpath: string) = let lib = loadLib(pdll) doAssert lib != nil, "Plugin $1 compiled to $2 failed to load" % [fullpath, pdll] - gStateRT.onSymbol = cast[typeof(gStateRT.onSymbol)](lib.symAddr("onSymbol")) + gStateRT.onSymbol = cast[type(gStateRT.onSymbol)](lib.symAddr("onSymbol")) doAssert gStateRT.onSymbol != nil, "onSymbol() load failed from " & pdll |
