Skip to content

Commit

Permalink
whoopsie, fix cleanup bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Vindaar committed Mar 26, 2024
1 parent e9fc7bc commit d3b1c6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rnim/auto_wrapper.nim
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ proc serialize*(pt: NimRModule) {.compileTime.} =
## writes an R wrapper for the exported Nim procedures based on the given
## procedure table
let libName = "lib" & pt.file & ".so"
res = getScriptPathTmpl # get path of autogen'd R script
var res = getScriptPathTmpl # get path of autogen'd R script
res.add adjustPathTmpl % libName # produces a `libPath` local variable
res.add dynLoadTmpl % "libPath" # add the dyn.load call
res.add "\n"
Expand Down

0 comments on commit d3b1c6f

Please sign in to comment.