Skip to content
Snippets Groups Projects
Commit e9022044 authored by Lukas Stadler's avatar Lukas Stadler
Browse files

accept RAbstractStringVector in DynUnload

parent 6d7cdbe5
Branches
No related tags found
No related merge requests found
......@@ -73,10 +73,10 @@ public class DynLoadFunctions {
public abstract static class DynUnload extends RInvisibleBuiltinNode {
@Specialization
@TruffleBoundary
protected RNull doDynunload(String lib) {
protected RNull doDynunload(RAbstractStringVector lib) {
controlVisibility();
try {
DLL.unload(lib);
DLL.unload(lib.getDataAt(0));
} catch (DLLException ex) {
throw RError.error(this, ex);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment